No module named session

Issue #25 open
Former user created an issue

Hello i just installed this on xbmc 13.1 rc running on ubuntu 13.10 and i get script failed on startup.

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: No module named session Traceback (most recent call last): File "/home/kempe/.xbmc/addons/plugin.audio.spotlight/server_addon.py", line 27, in <module> from spotlight.service.Server import Server File "/home/kempe/.xbmc/addons/plugin.audio.spotlight/spotlight/service/Server.py", line 20, in <module> from spotlight.service.session.SpotifyCallbacks import SpotifyCallbacks File "/home/kempe/.xbmc/addons/plugin.audio.spotlight/spotlight/service/session/SpotifyCallbacks.py", line 20, in <module> from spotify.session import SessionCallbacks ImportError: No module named session -->End of Python script error report<--

Comments (3)

  1. Fredrik Kempe

    WORKAROUND: I solved this by installing pyspotifyctypes systemwide

    git clone https://github.com/mazkolain/pyspotify-ctypes.git
    cd pyspotify-ctypes
    sudo python setup.py install
    

    after that everything worked fine. So i guess there is something wrong with the one included

  2. Jose Vazquez Viader

    I was having this problem too, on a raspberry pi using raspbmc, and resolved it with a symbolic link to the PyspotifyCtypes.egg

    pi@raspbmc:$ cd /home/pi/.xbmc/addons/plugin.audio.spotlight/resources/libs/ pi@raspbmc:$ ln -s PyspotifyCtypes-0.6-py2.4.egg PyspotifyCtypes.egg

    I compared the instalation of spotlight and spotimc, and figured out that in spotimc, the PyspotifyCtypes.egg file had a different name, so I tested the symbolic link... and it works!!!

  3. Log in to comment