unicode decode error on return from xbmc.executeJSONRPC()
#1
I was updating service.skin.widgets for python 3, and it mostly is working but I started getting an exception: debug log
see from line 885
The code in this area looks like:
python 3 code
I added the log just to make sure there wasn't some problem with the call to executeJSONRPC.  But looking at the debug log, it seems like Kodi is constructing the query correctly so I am guessing the query results aren't encoded correctly at some point, and what is returned can't be decoded into a Python 3 string before it gets back to the script?  It seems dependent on the database content (the database does contain "unicode characters" in strings).

scott s.
.
Reply


Messages In This Thread
unicode decode error on return from xbmc.executeJSONRPC() - by scott967 - 2019-11-22, 03:24
Logout Mark Read Team Forum Stats Members Help
unicode decode error on return from xbmc.executeJSONRPC()0