2019-06-22, 10:20
On Kodi M, I keep getting these kinds of errors when trying to update individual items:
Also, when running the script to update everything, it always hangs at the end.
xml:2019-06-22 10:17:27.876 T:18446744073709551614 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'jSonQuery' referenced before assignment
Traceback (most recent call last):
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\script.light.imdb.ratings.update\context.py", line 16, in <module>
UpdateContext()
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\script.light.imdb.ratings.update\context.py", line 13, in UpdateContext
update_context.open_context_menu( sys.listitem.getfilename(), sys.listitem.getLabel() )
File "C:\Users\JoScha\AppData\Roaming\Kodi\addons\script.light.imdb.ratings.update\resources\core\update_context.py", line 56, in open_context_menu
jSonResponse = xbmc.executeJSONRPC( jSonQuery )
UnboundLocalError: local variable 'jSonQuery' referenced before assignment
-->End of Python script error report<--
Also, when running the script to update everything, it always hangs at the end.