Error on Timeout
When running Subliminal 0.5 I get the following message.
ERROR: subliminal.worker Exception raised in worker Thread-1 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/subliminal-0.5-py2.7.egg/subliminal/core.py", line 298, in run subtitles = plugin.list(task.video, task.languages) File "/usr/local/lib/python2.7/dist-packages/subliminal-0.5-py2.7.egg/subliminal/plugins.py", line 376, in list results = self.query(video.season, video.episode, languages, video.path or video.release, video.tvdbid, video.series) File "/usr/local/lib/python2.7/dist-packages/subliminal-0.5-py2.7.egg/subliminal/plugins.py", line 354, in query r = self.session.get('%sGetAllSubsFor/%s/%s/%s/%s/%s' % (self.server_url, request_id, season, episode, language, request_is_tvdbid)) File "/usr/local/lib/python2.7/dist-packages/requests-0.8.3-py2.7.egg/requests/sessions.py", line 208, in get return self.request('get', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/requests-0.8.3-py2.7.egg/requests/sessions.py", line 191, in request r.send(prefetch=prefetch) File "/usr/local/lib/python2.7/dist-packages/requests-0.8.3-py2.7.egg/requests/models.py", line 459, in send raise Timeout('Request timed out.') Timeout: Request timed out.
Just trying to help out not to bash the wonderful project.
Well this can happen if the website is down. It is handled by the worker which will just skip that task and work on the next one.
Maybe I should catch this and print a nice message instead
Even if the request times out, its handled by the worker. I close this