2017-11-02, 16:08
(2017-11-02, 15:12)Glottis Wrote: I tested the script.light.imdb.ratings.update-3.2.0patch1 three times now, but it did not finish. There's a lot of the following error in the log file, but it still goes on and updates a few episodes until it finally freezes completely. (Again with the following message
Code:13:54:09.960 T:545688908000 ERROR: Unhandled exception in thread started by
13:54:09.960 T:545688908000 ERROR: <function thread_parse_IMDb_page at 0x7eeac4e938>
13:54:09.960 T:545688908000 ERROR: Traceback (most recent call last):
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.light.imdb.ratings.update/resources/core/update_main.py", line 36, in thread_parse_IMDb_page
13:54:09.960 T:545688908000 ERROR: (IMDb, statusInfo) = get_IMDb_ID(dType, TVDB)
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.light.imdb.ratings.update/resources/core/tvdb_scraper.py", line 30, in get_IMDb_ID
13:54:09.960 T:545688908000 ERROR: response = episode.info()
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/episode.py", line 53, in info
13:54:09.960 T:545688908000 ERROR: response = self._GET(path)
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/base.py", line 150, in _GET
13:54:09.960 T:545688908000 ERROR: return self._request('GET', path, params=params, cleanJson=cleanJson)
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.light.imdb.ratings.update/resources/support/tvdbsimple/base.py", line 133, in _request
13:54:09.960 T:545688908000 ERROR: headers=self._headers)
13:54:09.960 T:545688908000 ERROR: File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 56, in request
13:54:09.961 T:545688908000 ERROR: return session.request(method=method, url=url, **kwargs)
13:54:09.961 T:545688908000 ERROR: File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 488, in request
13:54:09.961 T:545688908000 ERROR: resp = self.send(prep, **send_kwargs)
13:54:09.961 T:545688908000 ERROR: File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 609, in send
13:54:09.961 T:545688908000 ERROR: r = adapter.send(request, **kwargs)
13:54:09.961 T:545688908000 ERROR: File "/storage/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 487, in send
13:54:09.962 T:545688908000 ERROR: raise ConnectionError(e, request=request)
13:54:09.962 T:545688908000 ERROR: requests.exceptions
13:54:09.962 T:545688908000 ERROR: .
13:54:09.962 T:545688908000 ERROR: ConnectionError
13:54:09.962 T:545688908000 ERROR: :
13:54:09.962 T:545688908000 ERROR: HTTPSConnectionPool(host='api.thetvdb.com', port=443): Max retries exceeded with url: /episodes/4845979 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7ee8618890>: Failed to establish a new connection: [Errno 113] No route to host',))
I can see why it says "Max retries exceeded", but I don't think the add-on should freeze forever. I waited several hours twice without success.
Thanks a lot Glottis to report back. Pity that the error is still present...
I'm actually busy with some other improvements/modifications so I leave the floor to dziobak for this issue (especially because he is definitely more expert than me on such stuffs!).
Hope we will be able to solve the issue soon.
Alex