2018-04-26, 15:07
NEVERMIND
13:52:21.841 T:15872 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 "E:\Kodi\Kodi Krypton\portable_data\addons\script.extendedinfo\plugin.py", line 134, in <module>
Main()
File "E:\Kodi\Kodi Krypton\portable_data\addons\script.extendedinfo\plugin.py", line 31, in __init__
listitems = process.start_info_actions(info, self.params)
File "E:\Kodi\Kodi Krypton\portable_data\addons\script.extendedinfo\resources\lib\process.py", line 250, in start_info_actions
return local_db.get_similar_movies(params["dbid"])
File "E:\Kodi\Kodi Krypton\portable_data\addons\script.module.kodi65\lib\kodi65\localdb.py", line 91, in get_similar_movies
if "moviedetails" not in movie['result']:
KeyError: ('result',)
-->End of Python script error report<--
13:52:21.877 T:15872 WARNING: CPythonInvoker(62, E:\Kodi\Kodi Krypton\portable_data\addons\script.extendedinfo\plugin.py): the python script "E:\Kodi\Kodi Krypton\portable_data\addons\script.extendedinfo\plugin.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcgui::DialogBusy
13:52:21.893 T:10128 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=similarlocalmovies&&dbid=23
#"lists": sort_lists(handle_lists(info["lists"]["results"])),
(2018-05-21, 09:33)peppe_sr Wrote: the scrips seem to be broken.What's the problem in line 800?
found a problem in line 800 of TheMovieDB.py commented the line
and it works again, i think.Code:#"lists": sort_lists(handle_lists(info["lists"]["results"])),
someone who update the script is need.
thanks
(2018-05-21, 23:58)arzaz Wrote:this is the error into the log. it is not my kodi. it is from a friend that found and solved using the comment #.(2018-05-21, 09:33)peppe_sr Wrote: the scrips seem to be broken.What's the problem in line 800?
found a problem in line 800 of TheMovieDB.py commented the line
and it works again, i think.Code:#"lists": sort_lists(handle_lists(info["lists"]["results"])),
someone who update the script is need.
thanks
(2018-05-21, 23:58)arzaz Wrote: What's the problem in line 800?
to:python:"lists": handle_misc(response["lists"]["results"]),
python:"lists": handle_misc(response["lists"]["results"]) if "lists" in response else ,
(2018-05-22, 08:47)Quihico Wrote:Hello, you have an old version, that code does not exist.(2018-05-21, 23:58)arzaz Wrote: What's the problem in line 800?
The problem is that TMDb seems to have taken movie-lists out of their api.
Depending on the version you are using, the location of the code that needs to be changed might vary.
So to fix EIS' functioning, you need to open up ~/addons/script.extendedinfo/resources/lib/TheMovieDB.py with a text editor.
Then search for "def extended_movie_info" and in that function change the line that deals with lists from:
to:python:"lists": handle_misc(response["lists"]["results"]),
python:"lists": handle_misc(response["lists"]["results"]) if "lists" in response else ,
(2018-05-22, 09:15)vania70 Wrote: Hello, you have an old version, that code does not exist.https://github.com/phil65/script.extende...DB.py#L804
(2018-05-22, 09:15)vania70 Wrote: Hello, you have an old version, that code does not exist.for latest version, from:
to:python:"lists": sort_lists(handle_lists(info["lists"]["results"])),
or comment out that line as you suggestedpython:"lists": sort_lists(handle_lists(info["lists"]["results"])) if "lists" in info else [],