2019-03-06, 13:57
(2019-03-05, 21:43)Gothico Wrote:Hi @Gothico, thanks for writing.(2019-02-20, 09:36)axlt2002 Wrote:Nearly the same(2019-02-19, 16:28)xodi Wrote: For version 4.0, always got the following error when updating IMDB rating for a movie:Hi xodi, thanks for writing!
python:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: 'result'
Traceback (most recent call last):
File "/addons/script.light.imdb.ratings.update/context.py", line 16, in <module>
UpdateContext()
File "/addons/script.light.imdb.ratings.update/context.py", line 13, in UpdateContext
update_context.open_context_menu( sys.listitem.getfilename(), sys.listitem.getLabel() )
File "/addons/script.light.imdb.ratings.update/resources/core/update_context.py", line 59, in open_context_menu
if jSonResponse['result'].has_key( 'moviedetails' ):
KeyError: 'result'
-->End of Python script error report<--
Well, the issue is quite strange since it seems that the information retrieved from the Kodi database is corrupted in some way...does the error happen for every movie in your library? What happens if you run a complete update of the library instead of using the context menu?
To understand better, you should enable the logging in the Kodi system settings, enable the JSON-RPC component specific logging and try againg to update the movie through the context menu. After that, please post the Kodi log (see the first post of the thread for more information).
Let me know!
Everytime Kodi starts up, the Addon gives me an error.
When i try to start manually, it gives me a notice that the service is already running.
Kodi Log
Which version of the add-on are you using?
From what I see from the log, I guess that you have enabled the scheduled update in the add-on settings...if so, please disable it, restart Kodi, wait around 10 seconds and try to perform a manual update. Is the add-on still giving an error? It would be also useful to provide the log file of the add-on itself (see the first post for more details).
Waiting for your feedback.