2019-08-13, 04:11
Getting errors all of a sudden when fetching cast details. Seems to only happen to some actors. Rest work fine.
I can reproduce the error with the actress charlie spradling and John Travolta
Looking at the log seems it can't find the tmdb_id. Have checked spelling on tmdb site and it's correct.
https://www.themoviedb.org/person/147396-charlie-spradling?language=en-US
https://www.themoviedb.org/person/8891-john-travolta?language=en-US
Any idea @jurialmunkey
Also if possible could you add a property called Movie_Age that lists the actors age when the movie was made. Could use the movie release year and current age and subtract difference.
Many thanks
I can reproduce the error with the actress charlie spradling and John Travolta
Looking at the log seems it can't find the tmdb_id. Have checked spelling on tmdb site and it's correct.
https://www.themoviedb.org/person/147396-charlie-spradling?language=en-US
https://www.themoviedb.org/person/8891-john-travolta?language=en-US
Any idea @jurialmunkey
Also if possible could you add a property called Movie_Age that lists the actors age when the movie was made. Could use the movie release year and current age and subtract difference.
Many thanks
code:
2019-08-13 13:18:29.705 T:953131744 NOTICE: [plugin.video.themoviedb.helper]
Unable to find TMDb ID!
info=images&type=person&query=Charlie Spradling
2019-08-13 13:18:29.732 T:953131744 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: 'profiles'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 514, in <module>
Plugin()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 343, in __init__
self.router()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 506, in router
self.list_items()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 423, in list_items
list_container.request_list()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 332, in request_list
self.listitems = self.listitems[self.request_key]
KeyError: 'profiles'
-->End of Python script error report<--
2019-08-13 13:18:30.112 T:1331671776 ERROR: GetDirectory - Error getting plugin://plugin.video.themoviedb.helper/?info=images&type=person&query=Charlie Spradling
2019-08-13 13:32:16.071 T:1049621216 NOTICE: [plugin.video.themoviedb.helper]
Unable to find TMDb ID!
info=details&type=person&query=John Travolta
2019-08-13 13:32:22.017 T:1184092896 NOTICE: [plugin.video.themoviedb.helper]
Unable to find TMDb ID!
info=images&type=person&query=John Travolta
2019-08-13 13:32:22.038 T:1184092896 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: 'profiles'
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 514, in <module>
Plugin()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 343, in __init__
self.router()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 506, in router
self.list_items()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 423, in list_items
list_container.request_list()
File "/home/osmc/.kodi/addons/plugin.video.themoviedb.helper/main.py", line 332, in request_list
self.listitems = self.listitems[self.request_key]
KeyError: 'profiles'
-->End of Python script error report<--
2019-08-13 13:32:22.400 T:1606415072 ERROR: GetDirectory - Error getting plugin://plugin.video.themoviedb.helper/?info=images&type=person&query=John Travolta