Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

cannot open the designer with ImportError: cannot import name 'configure' #397

Open
ghost opened this issue Aug 6, 2018 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Aug 6, 2018

$ python3 -m designer

[INFO ] [Logger ] Record log in /home/obbie/.kivy/logs/kivy_18-08-06_10.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.6.6 (default, Jul 23 2018, 16:31:47)
[GCC 7.3.0]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_pil, img_gif (img_pygame, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: pil(['text_pygame'] ignored)
[CRITICAL] [Window ] Unable to find any valuable Window provider.
egl_rpi - ImportError: cannot import name 'bcm'
File "/usr/local/lib/python3.6/site-packages/kivy/core/init.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "/usr/local/lib/python3.6/site-packages/kivy/core/window/window_egl_rpi.py", line 12, in
from kivy.lib.vidcore_lite import bcm, egl

pygame - ModuleNotFoundError: No module named 'pygame'
File "/usr/local/lib/python3.6/site-packages/kivy/core/init.py", line 59, in core_select_lib
fromlist=[modulename], level=0)
File "/usr/local/lib/python3.6/site-packages/kivy/core/window/window_pygame.py", line 8, in
import pygame

x11 - ModuleNotFoundError: No module named 'kivy.core.window.window_x11'
File "/usr/local/lib/python3.6/site-packages/kivy/core/init.py", line 59, in core_select_lib
fromlist=[modulename], level=0)

[WARNING] [FileNotFoundError] [Errno 2] No such file or directory: '/home/obbie/.kivy/garden/garden.xpopup/xpopup.mo'. Switch to the defaults.
[CRITICAL] [App ] Unable to get a Window, abort.
Traceback (most recent call last):
File "/home/obbie/.kivy/garden/garden.xpopup/notification.py", line 170, in
from .xbase import XBase
File "/home/obbie/.kivy/garden/garden.xpopup/xbase.py", line 65, in
class XBase(XPopup):
File "/home/obbie/.kivy/garden/garden.xpopup/xbase.py", line 97, in XBase
min_width = NumericProperty(metrics.dp(300), allownone=True)
File "/usr/local/lib/python3.6/site-packages/kivy/metrics.py", line 136, in dp
return dpi2px(value, 'dp')
File "kivy/properties.pyx", line 291, in kivy.properties.dpi2px
File "kivy/properties.pyx", line 296, in kivy.properties.dpi2px
File "/usr/local/lib/python3.6/site-packages/kivy/utils.py", line 496, in get
retval = self.func(inst)
File "/usr/local/lib/python3.6/site-packages/kivy/metrics.py", line 174, in dpi
EventLoop.ensure_window()
File "/usr/local/lib/python3.6/site-packages/kivy/base.py", line 125, in ensure_window
sys.exit(1)
SystemExit: 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/obbie/.kivy/garden/garden.xpopup/init.py", line 37, in
from .notification import XNotification, XConfirmation, XMessage, XError,
File "/home/obbie/.kivy/garden/garden.xpopup/notification.py", line 172, in
from tools import gettext_ as _
ImportError: cannot import name 'gettext_'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/mnt/sdb1/Download/Compressed/kivy-designer-master/designer/main.py", line 3, in
from designer.app import DesignerApp
File "/mnt/sdb1/Download/Compressed/kivy-designer-master/designer/app.py", line 14, in
from designer.components.dialogs.add_file import AddFileDialog
File "/mnt/sdb1/Download/Compressed/kivy-designer-master/designer/components/dialogs/add_file.py", line 5, in
from kivy.garden.xpopup.file import XFileOpen, XFolder
File "/usr/local/lib/python3.6/site-packages/kivy/garden/init.py", line 100, in load_module
return self._load_module(fullname, moddir)
File "/usr/local/lib/python3.6/site-packages/kivy/garden/init.py", line 104, in _load_module
('', '', imp.PKG_DIRECTORY))
File "/usr/local/lib/python3.6/imp.py", line 245, in load_module
return load_package(name, filename)
File "/usr/local/lib/python3.6/imp.py", line 217, in load_package
return _load(spec)
File "/home/obbie/.kivy/garden/garden.xpopup/init.py", line 44, in
from tools import configure
ImportError: cannot import name 'configure'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants