kivy / kivy-designer

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

IOError: [Errno 2] No such file or directory: u'designer/data/settings/proj_settings_shell_env.json' #359

Open apolinux opened 6 years ago

apolinux commented 6 years ago

Environment Info

kivy: 1.10.0 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: Linux-4.10.0-42-generic-x86_64-with-Ubuntu-17.04-zesty Python: 2.7.13

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:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1192, in on_motion
    self.dispatch('on_touch_up', me)
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/core/window/__init__.py", line 1228, in on_touch_up
    if w.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 479, in on_touch_up
    if child.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 479, in on_touch_up
    if child.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "designer/uix/contextual.py", line 342, in on_touch_up
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 479, in on_touch_up
    if child.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 479, in on_touch_up
    if child.dispatch('on_touch_up', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/scrollview.py", line 833, in on_touch_up
    if self.dispatch('on_scroll_stop', touch):
  File "kivy/_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/scrollview.py", line 872, in on_scroll_stop
    self.simulate_touch_down(touch)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/scrollview.py", line 596, in simulate_touch_down
    ret = super(ScrollView, 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:8191)
  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:8191)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/behaviors/button.py", line 151, in on_touch_down
    self.dispatch('on_press')
  File "kivy/_event.pyx", line 714, in kivy._event.EventDispatcher.dispatch (kivy/_event.c:8146)
  File "kivy/_event.pyx", line 1225, in kivy._event.EventObservers.dispatch (kivy/_event.c:14035)
  File "kivy/_event.pyx", line 1109, in kivy._event.EventObservers._dispatch (kivy/_event.c:12816)
  File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 64, in custom_callback
    exec(__kvlang__.co_value, idmap)
  File "/home/carlos/python/kivy-designer/designer/designer.kv", line 1863, in <module>
    on_press: root.action_btn_project_settings_pressed()
  File "designer/app.py", line 1553, in action_btn_project_settings_pressed
  File "designer/core/project_settings.py", line 55, in load_proj_settings
  File "/usr/lib/python2.7/dist-packages/kivy/uix/settings.py", line 975, in add_json_panel
    panel = self.create_json_panel(title, config, filename, data)
  File "/usr/lib/python2.7/dist-packages/kivy/uix/settings.py", line 990, in create_json_panel
    with open(filename, 'r') as fd:
IOError: [Errno 2] No such file or directory: u'designer/data/settings/proj_settings_shell_env.json'

End of Traceback