kivy / kivy-designer

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

Error Using BoxLayout #377

Open adresquivel opened 6 years ago

adresquivel commented 6 years ago

Environment Info

kivy: 1.10.0 pygments: 2.2.0 docutils: 0.14 watchdog: 0.8.3 jedi: 0.12.0 gitpython: 2.1.9 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\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
    self._mainloop()
  File "C:\Users\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
    EventLoop.idle()
  File "C:\Users\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 342, in idle
    self.dispatch_input()
  File "C:\Users\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 327, in dispatch_input
    post_dispatch_input(*pop(0))
  File "C:\Users\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 286, in post_dispatch_input
    wid.dispatch('on_touch_move', me)
  File "kivy\_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8191)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\components\playground.py", line 223, in on_touch_move
    self.target = target
  File "kivy\properties.pyx", line 478, in kivy.properties.Property.__set__ (kivy\properties.c:5572)
  File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\properties.c:6405)
  File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy\properties.c:7105)
  File "kivy\_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy\_event.c:14035)
  File "kivy\_event.pyx", line 1107, in kivy._event.EventObservers._dispatch (kivy\_event.c:12788)
  File "C:\Users\adrian.esquivel\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\lang\builder.py", line 64, in custom_callback
    exec(__kvlang__.co_value, idmap)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\designer.kv", line 1092, in <module>
    on_target: app.focus_widget(args[1])
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\app.py", line 1852, in focus_widget
    self.widget_focused = widget
  File "kivy\properties.pyx", line 478, in kivy.properties.Property.__set__ (kivy\properties.c:5572)
  File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\properties.c:6405)
  File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy\properties.c:7105)
  File "kivy\_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy\_event.c:14035)
  File "kivy\_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (kivy\_event.c:13218)
  File "kivy\_event.pyx", line 735, in kivy._event.EventDispatcher.__proxy_setter (kivy\_event.c:8759)
  File "kivy\properties.pyx", line 516, in kivy.properties.Property.set (kivy\properties.c:6405)
  File "kivy\properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy\properties.c:7105)
  File "kivy\_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy\_event.c:14035)
  File "kivy\_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (kivy\_event.c:13193)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\components\event_viewer.py", line 171, in on_widget
    self.discover(value)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\components\event_viewer.py", line 189, in discover
    ip = self.build_for(event)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\components\event_viewer.py", line 301, in build_for
    text = self.kv_code_input.get_property_value(self.widget, name)
  File "C:\Users\adrian.esquivel\kivy-designer-master\designer\components\kv_lang_area.py", line 561, in get_property_value
    widget_line = lines[widget_lineno]
IndexError: list index out of range

End of Traceback