Kodi Community Forum

Full Version: Extended Info addon causes KODI to hang; logfile shows below...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
21:51:03.362 T:140132677498624   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: ('lists',)
                                            Traceback (most recent call last):
                                              File "/home/zach/.kodi/addons/script.extendedinfo/default.py", line 63, in <module>
                                                Main()
                                              File "/home/zach/.kodi/addons/script.extendedinfo/default.py", line 37, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "/home/zach/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 273, in start_info_actions
                                                start_info_actions("extendedinfo", params)
                                              File "/home/zach/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 341, in start_info_actions
                                                name=params.get("name"))
                                              File "/home/zach/.kodi/addons/script.extendedinfo/resources/lib/WindowManager.py", line 67, in open_movie_info
                                                dbid=dbid)
                                              File "/home/zach/.kodi/addons/script.extendedinfo/resources/lib/dialogs/DialogMovieInfo.py", line 72, in __init__
                                                dbid=kwargs.get('dbid'))
                                              File "/home/zach/.kodi/addons/script.extendedinfo/resources/lib/TheMovieDB.py", line 800, in extended_movie_info
                                                "lists": sort_lists(handle_lists(info["lists"]["results"])),
                                            KeyError: ('lists',)
                                            -->End of Python script error report<--

Runs on LibreELEC 8.2.5 and KODI is version 17.6 Krypton.

Any help much appreciated, Zach.
TMDb seems to have taken movie-lists out of their api.
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:
python:
"lists": handle_misc(response["lists"]["results"]),
to:
python:
"lists": handle_misc(response["lists"]["results"]) if "lists" in response else ,
Hi, can't find the string you mentioned, not under the function def extended_movie_info or any other place in the .py file?
I'm running version 5.6.0.

Any help? Regards, Zach
Didn't change a thing...works like a charm againHuh? thx all!