2021-01-10, 15:23
Since 2 days on my Rasperry PI OS the Spotify Plugin on Kodi doesn´t work anymore. The cherrypy kodi module 12.0 has a bug. It can´t load urllib.parse.
I think the reason is the difference between Python 2 and 3, but i can not fix it.
The new update "cherrypy 12.0" came 2 days ago. I searched the log and found the reason.
So i go backward to cherrypy 11.0.1 "script.module.cherrypy-11.0.1.zip" and disable the autoupdates. Now it works fine again.
Here are the log with module 12.0
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 parse
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.audio.spotify/service.py", line 13, in <module>
from main_service import MainService
File "/home/pi/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 14, in <module>
from httpproxy import ProxyRunner
File "/home/pi/.kodi/addons/plugin.audio.spotify/resources/lib/httpproxy.py", line 7, in <module>
import cherrypy
File "/home/pi/.kodi/addons/script.module.cherrypy/lib/cherrypy/__init__.py", line 66, in <module>
from ._cperror import (
File "/home/pi/.kodi/addons/script.module.cherrypy/lib/cherrypy/_cperror.py", line 123, in <module>
import urllib.parse
ImportError: No module named parse
-->End of Python script error report<--
Tested on Raspberry PI OS with Kodi 18.7 and another one on Raspberry PI OS virtual with Kodi 17.6
The Addon was on both the same repository.marcelveldt-1.0.2.zip.
It works with CherryPI 11.0.1 but not with 12.0
If you need more log, tell me.
I think the reason is the difference between Python 2 and 3, but i can not fix it.
The new update "cherrypy 12.0" came 2 days ago. I searched the log and found the reason.
So i go backward to cherrypy 11.0.1 "script.module.cherrypy-11.0.1.zip" and disable the autoupdates. Now it works fine again.
Here are the log with module 12.0
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 parse
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.audio.spotify/service.py", line 13, in <module>
from main_service import MainService
File "/home/pi/.kodi/addons/plugin.audio.spotify/resources/lib/main_service.py", line 14, in <module>
from httpproxy import ProxyRunner
File "/home/pi/.kodi/addons/plugin.audio.spotify/resources/lib/httpproxy.py", line 7, in <module>
import cherrypy
File "/home/pi/.kodi/addons/script.module.cherrypy/lib/cherrypy/__init__.py", line 66, in <module>
from ._cperror import (
File "/home/pi/.kodi/addons/script.module.cherrypy/lib/cherrypy/_cperror.py", line 123, in <module>
import urllib.parse
ImportError: No module named parse
-->End of Python script error report<--
Tested on Raspberry PI OS with Kodi 18.7 and another one on Raspberry PI OS virtual with Kodi 17.6
The Addon was on both the same repository.marcelveldt-1.0.2.zip.
It works with CherryPI 11.0.1 but not with 12.0
If you need more log, tell me.