kivy / kivy-designer

UI designer for Kivy - DEPRECATED
https://kivy-designer.readthedocs.io
MIT License
821 stars 209 forks source link

I just created a project and got this error #371

Open PandaPootchy opened 6 years ago

PandaPootchy commented 6 years ago

Environment Info

kivy: 1.10.1.dev0 pygments: 2.2.0 docutils: 0.14 watchdog: 0.8.3 jedi: 0.11.1 gitpython: 2.1.8 six: 1.11.0 kivy-garden: 0.1.4

Platform: Windows-10-10.0.16299-SP0 Python: 3.6.4

Traceback

Traceback (most recent call last):
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 723, in mainloop
    self._mainloop()
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\core\window\window_sdl2.py", line 460, in _mainloop
    EventLoop.idle()
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 340, in idle
    self.dispatch_input()
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 325, in dispatch_input
    post_dispatch_input(*pop(0))
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\base.py", line 291, in post_dispatch_input
    wid.dispatch('on_touch_up', me)
  File "kivy\_event.pyx", line 707, in kivy._event.EventDispatcher.dispatch
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\uix\behaviors\button.py", line 179, in on_touch_up
    self.dispatch('on_release')
  File "kivy\_event.pyx", line 703, in kivy._event.EventDispatcher.dispatch
  File "kivy\_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
  File "kivy\_event.pyx", line 1098, in kivy._event.EventObservers._dispatch
  File "C:\Users\matts\AppData\Local\Programs\Python\Python36\lib\site-packages\kivy\lang\builder.py", line 64, in custom_callback
    exec(__kvlang__.co_value, idmap)
  File "C:\Users\matts\Desktop\kivy-designer\designer\designer.kv", line 200, in <module>
    on_release: root.dispatch('on_ok')
  File "kivy\_event.pyx", line 703, in kivy._event.EventDispatcher.dispatch
  File "kivy\_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
  File "kivy\_event.pyx", line 1138, in kivy._event.EventObservers._dispatch
  File "C:\Users\matts\Desktop\kivy-designer\designer\utils\utils.py", line 198, in wrapper
    f(*args, **kwargs)
  File "C:\Users\matts\Desktop\kivy-designer\designer\app.py", line 566, in _perform_reload
    self._perform_open(self.project_manager.current_project.path)
  File "C:\Users\matts\Desktop\kivy-designer\designer\app.py", line 989, in _perform_open
    self.designer_git.load_repo(file_path)
  File "C:\Users\matts\Desktop\kivy-designer\designer\tools\git_integration.py", line 121, in load_repo
    self._update_menu()
  File "C:\Users\matts\Desktop\kivy-designer\designer\tools\git_integration.py", line 128, in _update_menu
    self.remove_children()
  File "C:\Users\matts\Desktop\kivy-designer\designer\uix\contextual.py", line 491, in remove_children
    self.container.remove_widget(child)
AttributeError: 'NoneType' object has no attribute 'remove_widget'

End of Traceback