2018-07-11, 10:57
I am having the same issue where I get "SKIN HELPER SERVICE ERROR" everytime I lauch kodi. I am using Jarvis and I would like to stay with this version, so I want to find a solution WITHOUT upgrading kodi. I dug a little deeper and here are my findings:
<<<< See snippet of the kodi.log below >>>>>
0. Looking at the log file it seemed like the main cause of the error is the "ImportError: No module named argparse" -- see log snippet below.
1. Inside script.module.cherrypy folder is "portend.py which tries to import "argparse" module.
2. Argparse module is not available by default on Python version 2.6. which is what kodi jarvis uses.
3. Argparse module is available by default starting Python version 2.7 and up.
4. I found argparse module here: https://github.com/rui-castro/kodi-argparse
5. I installed it and got rid of the pop up "Skin Helper Error" however, for some reasons that is currently still beyond me, Kodi Jarvis would crash or close after about 20 secs of opening, which in essence, made it worst.
6. So now I am back to SQUARE ONE. If anyone has an idea on how to fix this please share. I have exhausted google searches to no success....
Help will be greatly appreciated.
======BEGIN LOG SNIPPET=======
18:48:37 T:1902300544 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 argparse
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/service.py", line 10, in <module>
from resources.lib.main_service import MainService
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/resources/lib/main_service.py", line 15, in <module>
from webservice import WebService
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/resources/lib/webservice.py", line 11, in <module>
import cherrypy
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/__init__.py", line 83, in <module>
from cherrypy import _cpserver
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/_cpserver.py", line 8, in <module>
from cherrypy.process.servers import ServerAdapter
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/process/__init__.py", line 14, in <module>
from cherrypy.process import plugins, servers # noqa
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/process/servers.py", line 126, in <module>
import portend
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/portend.py", line 11, in <module>
import argparse
ImportError: No module named argparse
-->End of Python script error report<--
======END LOG SNIPPET=======
<<<< See snippet of the kodi.log below >>>>>
0. Looking at the log file it seemed like the main cause of the error is the "ImportError: No module named argparse" -- see log snippet below.
1. Inside script.module.cherrypy folder is "portend.py which tries to import "argparse" module.
2. Argparse module is not available by default on Python version 2.6. which is what kodi jarvis uses.
3. Argparse module is available by default starting Python version 2.7 and up.
4. I found argparse module here: https://github.com/rui-castro/kodi-argparse
5. I installed it and got rid of the pop up "Skin Helper Error" however, for some reasons that is currently still beyond me, Kodi Jarvis would crash or close after about 20 secs of opening, which in essence, made it worst.
6. So now I am back to SQUARE ONE. If anyone has an idea on how to fix this please share. I have exhausted google searches to no success....
Help will be greatly appreciated.
======BEGIN LOG SNIPPET=======
18:48:37 T:1902300544 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 argparse
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/service.py", line 10, in <module>
from resources.lib.main_service import MainService
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/resources/lib/main_service.py", line 15, in <module>
from webservice import WebService
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.skin.helper.service/resources/lib/webservice.py", line 11, in <module>
import cherrypy
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/__init__.py", line 83, in <module>
from cherrypy import _cpserver
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/_cpserver.py", line 8, in <module>
from cherrypy.process.servers import ServerAdapter
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/process/__init__.py", line 14, in <module>
from cherrypy.process import plugins, servers # noqa
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/cherrypy/process/servers.py", line 126, in <module>
import portend
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.cherrypy/lib/portend.py", line 11, in <module>
import argparse
ImportError: No module named argparse
-->End of Python script error report<--
======END LOG SNIPPET=======