2019-12-13, 19:36
Sorry guys been a little busy lately but I will try to get to all the questions I've missed when I can
I think I fixed this but I don't have time to make a new upload and post it. You can follow the instructions HERE to install the GitHub version.
https://github.com/mikesilvo164/service....a.provider
I also fixed a TypeError in Skin Shortcuts preventing plugin listing when trying to add stuff from add-ons so might want to update that one as well.
https://github.com/mikesilvo164/script.s...e/python_3
(2019-12-12, 23:50)whysoserious Wrote: Not sure if this the thread to put this in, but after successfully installing the new Python 3 compatible scripts the skin was working fine again for a week or so, but now after updating to the most recent Milhouse Kodi 19 Alpha 1 builds (build # 1211 specifically) it throws a "Library Data Provider" error at bootup. Below is a short clip of the error log(s) and I've used the LibreELEC log posting tool in the LE Settings addon to post the whole thing at: http://ix.io/24ff.
2019-12-12 13:37:38.054 T:881 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error
<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'NameError'>
Error Contents: name 'unicode' is not defined
Traceback (most recent call last):
File "/storage/.kodi/addons/service.library.data.provider/service.py", line 181, in <module> Main()
File "/storage/.kodi/addons/service.library.data.provider/service.py", line 52, in __init__ self._fetch_favourite()
File "/storage/.kodi/addons/service.library.data.provider/service.py", line 84, in _fetch_favourite LIBRARY._fetch_favourite_episodes()
File "/storage/.kodi/addons/service.library.data.provider/resources/lib/library.py", line 339, in _fetch_favourite_episodes return self._fetch_items(useCache, prefix="favouriteepisodes", queryFunc=query_favourite)
File "/storage/.kodi/addons/service.library.data.provider/resources/lib/library.py", line 67, in _fetch_items rv = queryFunc() # Must return a unicode string (json-encoded data) File "/storage/.kodi/addons/service.library.data.provider/resources/lib/library.py", line 338, in query_favourite return unicode(json.dumps(rv), 'utf-8', errors='ignore')
NameError: name 'unicode' is not defined -->End of Python script error report<--
Apologies for the log snippit, but it's not too long, full log at http://ix.io/24ff
Thanks in advance!
I think I fixed this but I don't have time to make a new upload and post it. You can follow the instructions HERE to install the GitHub version.
https://github.com/mikesilvo164/service....a.provider
I also fixed a TypeError in Skin Shortcuts preventing plugin listing when trying to add stuff from add-ons so might want to update that one as well.
https://github.com/mikesilvo164/script.s...e/python_3