Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kitchensink: new installation on MacOS Kivy 2.2.0 KivyMD 1.1.1. erro in menu_screen.py #6

Open
ghisbo opened this issue Mar 8, 2023 · 0 comments

Comments

@ghisbo
Copy link

ghisbo commented Mar 8, 2023

Description of the Bug

After a fresh install the Kitchensink app does not work. A screen is opened but the app crashes immediately.
any advice ?

thanks in advance

Code and Logs

python main.py
[INFO ] [Logger ] Record log in /Users/ghislainborremans/.kivy/logs/kivy_23-03-08_8.txt
[INFO ] [Kivy ] v2.2.0.dev0
[INFO ] [Kivy ] Installed at "/usr/local/lib/python3.10/site-packages/kivy/init.py"
[INFO ] [Python ] v3.10.10 (main, Feb 8 2023, 05:44:38) [Clang 14.0.0 (clang-1400.0.29.202)]
[INFO ] [Python ] Interpreter at "/usr/local/opt/[email protected]/bin/python3.10"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
[INFO ] [Factory ] 190 symbols loaded
pygame 2.2.0 (SDL 2.0.22, Python 3.10.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_pygame, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: pygame
[WARNING] [Deprecated ] Pygame has been deprecated and will be removed after 1.11.0: Call to deprecated function init in /usr/local/lib/python3.10/site-packages/kivy/core/window/window_pygame.py line 42.Called from /usr/local/lib/python3.10/site-packages/kivy/core/init.py line 71 by core_select_lib().
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'2.1 INTEL-18.8.6'>
[INFO ] [GL ] OpenGL vendor <b'Intel Inc.'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 6000'>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <b'1.20'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [KivyMD ] 1.2.0.dev0, git-Unknown, 2023-03-08 (installed at "/usr/local/lib/python3.10/site-packages/kivymd/init.py")
[INFO ] [Text ] Provider: pygame
[INFO ] [Clipboard ] Provider: pygame(['clipboard_nspaste'] ignored)
Traceback (most recent call last):
File "kivy/properties.pyx", line 961, in kivy.properties.ObservableDict.getattr
KeyError: 'menu_list'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/ghislainborremans/kivy_venv/mymd/KitchenSink-main/main.py", line 37, in
KitchenSink().run()
File "/usr/local/lib/python3.10/site-packages/kivy/app.py", line 955, in run
self._run_prepare()
File "/usr/local/lib/python3.10/site-packages/kivy/app.py", line 925, in _run_prepare
root = self.build()
File "/Users/ghislainborremans/kivy_venv/mymd/KitchenSink-main/main.py", line 33, in build
self.manager_screen.add_widget(self.manager_screen.create_screen("menu"))
File "/usr/local/lib/python3.10/site-packages/kivy/uix/screenmanager.py", line 1001, in add_widget
self.current = widget.name
File "kivy/properties.pyx", line 520, in kivy.properties.Property.set
File "kivy/properties.pyx", line 567, in kivy.properties.Property.set
File "kivy/properties.pyx", line 606, in kivy.properties.Property._dispatch
File "kivy/_event.pyx", line 1307, in kivy._event.EventObservers.dispatch
File "kivy/_event.pyx", line 1213, in kivy._event.EventObservers._dispatch
File "/Users/ghislainborremans/kivy_venv/mymd/KitchenSink-main/View/ManagerScreen/manager_screen.py", line 27, in on_current
super().on_current(*args)
File "/usr/local/lib/python3.10/site-packages/kivy/uix/screenmanager.py", line 1069, in on_current
screen.dispatch('on_enter')
File "kivy/_event.pyx", line 731, in kivy._event.EventDispatcher.dispatch
File "/Users/ghislainborremans/kivy_venv/mymd/KitchenSink-main/View/MenuScreen/menu_screen.py", line 10, in on_enter
if not self.ids.menu_list.data:
File "kivy/properties.pyx", line 964, in kivy.properties.ObservableDict.getattr
AttributeError: 'super' object has no attribute 'getattr'. Did you mean: 'setattr'?

Versions

  • OS: MacOS
  • Python: 3.10
  • Kivy: 2.2.0
  • KivyMD: 1.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant