@
pkscout For the past few days the scraper hasn't worked. Here's a full log:-
https://pastebin.com/smCKHJUK
But the short is it seems to be throwing an error in ssl.py
Code:
2023-08-22 08:39:26.674 T:5991 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TimeoutError'>
Error Contents: The read operation timed out
Traceback (most recent call last):
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/main.py", line 32, in <module>
router(sys.argv[2][1:])
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/actions.py", line 235, in router
get_episode_details(params['url'])
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/actions.py", line 178, in get_episode_details
episode_info = tmdb.load_episode_info(
^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/tmdb.py", line 276, in load_episode_info
ep_return['ratings'] = load_ratings(
^^^^^^^^^^^^^
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/tmdb.py", line 306, in load_ratings
imdb_rating = imdbratings.get_details(imdb_id).get('ratings')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/imdbratings.py", line 41, in get_details
votes, rating = _get_ratinginfo(imdb_id)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/imdbratings.py", line 48, in _get_ratinginfo
response = api_utils.load_info(IMDB_RATINGS_URL.format(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/metadata.tvshows.themoviedb.org.python/libs/api_utils.py", line 58, in load_info
response = urlopen(req)
^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
File "/usr/lib/python3.11/urllib/request.py", line 1352, in do_open
File "/usr/lib/python3.11/http/client.py", line 1374, in getresponse
File "/usr/lib/python3.11/http/client.py", line 318, in begin
File "/usr/lib/python3.11/http/client.py", line 279, in _read_status
File "/usr/lib/python3.11/socket.py", line 706, in readinto
File "/usr/lib/python3.11/ssl.py", line 1278, in recv_into
File "/usr/lib/python3.11/ssl.py", line 1134, in read
TimeoutError: The read operation timed out
-->End of Python script error report<--
This doesn't seem to be an issue with tmdb's api as both JellyFin and Plex are still scanning files ok.