kivy / kivy-designer

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

Report bug #379

Open ValNathan opened 6 years ago

ValNathan commented 6 years ago

Environment Info

kivy: 1.10.0 pygments: 2.1 docutils: 0.12 watchdog: 0.8.3 jedi: 0.12.0 gitpython: 2.1.9 six: 1.10.0 kivy-garden: 0.1.4

Platform: Linux-4.13.0-39-generic-x86_64-with-Ubuntu-16.04-xenial Python: 2.7.12

Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 663, in mainloop
    self._mainloop()
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/window_sdl2.py", line 405, in _mainloop
    EventLoop.idle()
  File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 342, in idle
    self.dispatch_input()
  File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 327, in dispatch_input
    post_dispatch_input(*pop(0))
  File "/usr/lib/python2.7/dist-packages/kivy/base.py", line 233, in post_dispatch_input
    listener.dispatch('on_motion', etype, me)
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1188, in on_motion
    self.dispatch('on_touch_down', me)
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1204, in on_touch_down
    if w.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "designer/app.py", line 681, in on_touch_down
    return super(FloatLayout, self).on_touch_down(touch)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "designer/components/ui_creator.py", line 100, in on_touch_down
    return super(UICreator, self).on_touch_down(*args)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 457, in on_touch_down
    if child.dispatch('on_touch_down', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:7726)
  File "designer/components/playground.py", line 1245, in on_touch_down
    App.get_running_app().focus_widget(target)
  File "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:5171)
  File "kivy/properties.pyx", line 516, in kivy.properties.Property.set (kivy/properties.c:5933)
  File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy/properties.c:6614)
  File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy/_event.c:13524)
  File "kivy/_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (kivy/_event.c:12723)
  File "kivy/_event.pyx", line 735, in kivy._event.EventDispatcher.__proxy_setter (kivy/_event.c:8312)
  File "kivy/properties.pyx", line 516, in kivy.properties.Property.set (kivy/properties.c:5933)
  File "kivy/properties.pyx", line 571, in kivy.properties.Property.dispatch (kivy/properties.c:6614)
  File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy/_event.c:13524)
  File "kivy/_event.pyx", line 1131, in kivy._event.EventObservers._dispatch (kivy/_event.c:12723)
  File "designer/components/event_viewer.py", line 171, in on_widget
    self.discover(value)
  File "designer/components/event_viewer.py", line 189, in discover
    ip = self.build_for(event)
  File "designer/components/event_viewer.py", line 301, in build_for
    text = self.kv_code_input.get_property_value(self.widget, name)
  File "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