Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name albumbrowse #165

Open
bjageman opened this issue Dec 25, 2015 · 0 comments
Open

ImportError: cannot import name albumbrowse #165

bjageman opened this issue Dec 25, 2015 · 0 comments

Comments

@bjageman
Copy link

I'm getting the error message "cannot import albumbrowse" when I attempt to run SpotiMC. It also freezes Kodi.

I'm using Ubuntu 15.10.

15:23:01 T:140451638130432    INFO: initializing python engine.
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): start processing
15:23:01 T:140451638130432  NOTICE: -->Python Interpreter Initialized<--
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): the source file to load is "/home/htpc/.kodi/addons/spotimc-master/default.py"
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): setting the Python path to /home/htpc/.kodi/addons/spotimc-master:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): entering source directory /home/htpc/.kodi/addons/spotimc-master
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): instantiating addon using automatically obtained id of "script.audio.spotimc" dependent on version 2.1.0 of the xbmc.python api
15:23:01 T:140451638130432    INFO: CPythonInvoker(10, /home/htpc/.kodi/addons/spotimc-master/default.py): script successfully run
15:23:01 T:140451638130432    INFO: Python script stopped
15:23:01 T:140451638130432   DEBUG: Thread LanguageInvoker 140451638130432 terminating
15:23:01 T:140454518384832   DEBUG: Activating window ID: 10138
15:23:01 T:140454518384832   DEBUG: ------ Window Init (DialogBusy.xml) ------
15:23:01 T:140454518384832   DEBUG: Window DialogBusy.xml was already loaded
15:23:01 T:140454518384832   DEBUG: Alloc resources: 0.01ms
15:23:01 T:140451638130432  NOTICE: Thread LanguageInvoker start, auto delete: false
15:23:01 T:140451638130432    INFO: initializing python engine.
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(11, /home/htpc/.kodi/addons/spotimc-master/spotimc.py): start processing
15:23:01 T:140451638130432  NOTICE: -->Python Interpreter Initialized<--
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(11, /home/htpc/.kodi/addons/spotimc-master/spotimc.py): the source file to load is "/home/htpc/.kodi/addons/spotimc-master/spotimc.py"
15:23:01 T:140451638130432 WARNING: CPythonInvoker(11): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(11, /home/htpc/.kodi/addons/spotimc-master/spotimc.py): setting the Python path to /home/htpc/.kodi/addons/spotimc-master:/home/htpc/.kodi/addons/script.module.t0mm0.common/lib:/home/htpc/.kodi/addons/script.module.youtube.dl/lib:/home/htpc/.kodi/addons/script.module.simplejson/lib:/home/htpc/.kodi/addons/script.module.beautifulsoup4/lib:/home/htpc/.kodi/addons/script.module.httplib2/lib:/home/htpc/.kodi/addons/script.module.addon.common/lib:/home/htpc/.kodi/addons/script.module.myconnpy/lib:/home/htpc/.kodi/addons/script.module.beautifulsoup/lib:/home/htpc/.kodi/addons/script.module.pyxbmct/lib:/usr/share/kodi/addons/script.module.pil/lib:/home/htpc/.kodi/addons/script.common.plugin.cache/lib:/home/htpc/.kodi/addons/script.module.unidecode/lib:/home/htpc/.kodi/addons/script.module.simple.downloader/lib:/home/htpc/.kodi/addons/script.module.requests/lib:/home/htpc/.kodi/addons/script.module.urlresolver/lib:/home/htpc/.kodi/addons/script.module.mechanize/lib:/home/htpc/.kodi/addons/script.module.hubparentalcontrol/lib:/home/htpc/.kodi/addons/script.module.parsedom/lib:/home/htpc/.kodi/addons/script.module.addon.signals/lib:/home/htpc/.kodi/addons/script.module.metahandler/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/ubuntu-sso-client:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
15:23:01 T:140451638130432   DEBUG: CPythonInvoker(11, /home/htpc/.kodi/addons/spotimc-master/spotimc.py): entering source directory /home/htpc/.kodi/addons/spotimc-master
15:23:01 T:140451638130432   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: cannot import name albumbrowse
                                            Traceback (most recent call last):
                                              File "/home/htpc/.kodi/addons/spotimc-master/spotimc.py", line 39, in <module>
                                                from spotimcgui.main import main
                                              File "/home/htpc/.kodi/addons/spotimc-master/resources/libs/spotimcgui/main.py", line 25, in <module>
                                                import windows
                                              File "/home/htpc/.kodi/addons/spotimc-master/resources/libs/spotimcgui/windows.py", line 24, in <module>
                                                import views.newstuff
                                              File "/home/htpc/.kodi/addons/spotimc-master/resources/libs/spotimcgui/views/newstuff.py", line 24, in <module>
                                                from spotimcgui.views import album
                                              File "/home/htpc/.kodi/addons/spotimc-master/resources/libs/spotimcgui/views/album.py", line 24, in <module>
                                                from spotify import albumbrowse, session, track as _track, image
                                            ImportError: cannot import name albumbrowse
                                            -->End of Python script error report<--
15:23:01 T:140454518384832   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
15:23:01 T:140454518384832   DEBUG: Window DialogKaiToast.xml was already loaded
15:23:01 T:140454518384832   DEBUG: Alloc resources: 0.00ms
15:23:01 T:140451638130432    INFO: Python script stopped
15:23:01 T:140451638130432   DEBUG: Thread LanguageInvoker 140451638130432 terminating
15:23:01 T:140454518384832   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
15:23:06 T:140454518384832   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
@bjageman bjageman changed the title Cannot Import Albumbrowse ImportError: cannot import name albumbrowse Dec 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant