New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some providers have been discarded due to unexpected errors #831
Comments
@owenlejeune, I wouldn't be able to explain to you why, but perhaps running this might fix it:
I think I ran into the same problem after I upgraded subliminal, and that's how I fixed it. Perhaps someone from the team might correct or explain. |
@marcelpaulo Thanks for the suggestion. Unfortunately, that didn't fix my problem. Appears to be a problem with some of the providers "Some providers have been discarded due to unexpected errors: opensubtitles, legendastv, addic7ed" |
Hi, seems that there is a problem with show IDs, I got this problem with Mr Robot, The Flash and some other shows. root@syno:~# subliminal --debug --addic7ed xxxxx yyyyy download -f -vv -l fr -s /volume1/video/Series/Mr._Robot/Season_3/Mr.Robot.S03E06.eps3.5_kill-process.inc.WEBDL-1080p.NTb.mkv
|
@Diaoul should we catch this one as ServiceUnavailable? File "/usr/lib/python2.7/httplib.py", line 413, in _read_status |
Only if we can narrow it down to a time out. Raise the rest. |
@owenlejeune Both errors are fixed in develop version |
I am running version 2.1.0 on Ubuntu 20.04, and I still have this bug ! ! :-( |
This is what is presented by --debug
Collecting videos [####################################] 100% /Volumes/STORAGE/Media/TV/American Dad/Season 13/S13E15 - Daesong Heavy Industries.mkvDEBUG:subliminal.cli:Collecting path /Volumes/STORAGE/Media/TV/American Dad/Season 13/S13E15 - Daesong Heavy Industries.mkv
INFO:subliminal.core:Scanning video 'S13E15 - Daesong Heavy Industries.mkv' in '/Volumes/STORAGE/Media/TV/American Dad/Season 13'
DEBUG:subliminal.core:Size is 209723305
DEBUG:subliminal.core:Computed hashes {'thesubdb': 'a8a4867d997c21950f95fc76caa3b652', 'opensubtitles': '4ca73d5cd2738213', 'shooter': 'b17f8ca7a4513e37ddb759d46c74f610;d55d5aa6d91d5743bae51dad6248ed10;b651bad90640cf4af5a6d31f3bfbb42c;29791137edbb36a21e07087533873f08', 'napiprojekt': '4ebc453c26c7a9421125d0ef081dddfd'}
DEBUG:subliminal.core:Found subtitles {}
INFO:subliminal.core:Refining video with metadata
DEBUG:subliminal.refiners.metadata:Found audio_codec AAC
DEBUG:subliminal.refiners.metadata:Found embedded subtitle set([<Language [und]>])
INFO:subliminal.core:Refining video with tvdb
INFO:subliminal.refiners.tvdb:Searching series 'American Dad'
DEBUG:subliminal.refiners.tvdb:Found 1 results
DEBUG:subliminal.refiners.tvdb:Found exact match on series u'American Dad'
DEBUG:subliminal.refiners.tvdb:Found series {u'seriesId': u'21935', u'rating': u'TV-14', u'overview': u"C.I.A. Agent Stan Smith is constantly fighting off terrorists who threaten the safety of the USA (sometimes causing more harm than good). His wife Francine is an average house wife with two kids, Hayley, Stan's only daughter, an average rebellious teenager and Steve, Stan's only son, a geek who enjoys Dungeons and Dragons, gaming and comic book conventions. Then there's Roger, the home's illegal (space) alien who the Smith's are keeping protected. Last but not least, there's Klaus, the Smith's wisecracking talking fish (swapped from his human body years ago by the CIA).", u'firstAired': u'2005-02-06', u'id': 73141, u'aliases': [u'American Dad', u'American Dad !'], u'networkId': u'', u'network': u'TBS', u'zap2itId': u'EP00716445', u'seriesName': u'American Dad!', u'status': u'Continuing', u'added': u'', u'imdbId': u'tt0397306', u'lastUpdated': 1509952342, u'addedBy': None, u'genre': [u'Animation', u'Comedy'], u'banner': u'graphical/73141-g10.jpg', u'airsTime': u'10:00 PM', u'siteRatingCount': 310, u'airsDayOfWeek': u'Monday', u'runtime': u'25', u'siteRating': 8.5}
INFO:subliminal.refiners.tvdb:Getting series episode 13x15
DEBUG:subliminal.refiners.tvdb:Found episode {u'seriesId': 73141, u'airsAfterSeason': None, u'dvdEpisodeNumber': None, u'productionCode': u'AAJN15', u'overview': u"Stan loses his faith after Steve questions everything in the Bible, so Stan takes the family to Korea to investigate the rumors of a reinvented Noah's Ark.", u'airedSeasonID': 648358, u'thumbAdded': u'', u'episodeName': u'Daesong Heavy Industries', u'airedSeason': 13, u'airsBeforeSeason': None, u'showUrl': u'', u'id': 5546737, u'dvdDiscid': u'', u'filename': u'', u'dvdSeason': None, u'writers': [u'Greg Cohen'], u'airedEpisodeNumber': 15, u'absoluteNumber': None, u'thumbHeight': None, u'imdbId': u'tt4132644', u'lastUpdated': 1505885990, u'director': u'Chris Bennett', u'lastUpdatedBy': 112021, u'dvdChapter': None, u'airsBeforeEpisode': None, u'language': {u'overview': u'en', u'episodeName': u'en'}, u'thumbAuthor': 0, u'siteRatingCount': 5, u'directors': [u'Chris Bennett'], u'firstAired': u'2016-05-09', u'guestStars': [u'Michael Dorn'], u'siteRating': 5, u'thumbWidth': None}
INFO:subliminal.core:Refining video with omdb
DEBUG:subliminal.refiners.omdb:No need to search
Collecting videos [####################################] 100%
1 video collected / 0 video ignored / 0 error
Downloading subtitles [####################################] 100% S13E15 - Daesong Heavy Industries.mkvINFO:subliminal.core:Listing subtitles with provider 'legendastv' and languages set([<Language [en]>])
INFO:subliminal.core:Initializing provider legendastv
INFO:subliminal.core:Listing subtitles with provider 'shooter' and languages set([<Language [en]>])
INFO:subliminal.core:Initializing provider shooter
INFO:subliminal.core:Listing subtitles with provider 'podnapisi' and languages set([<Language [en]>])
INFO:subliminal.core:Initializing provider podnapisi
INFO:subliminal.providers.podnapisi:Searching subtitles {'sTE': 15, 'sXML': 1, 'sL': 'en', 'sY': 2005, 'sK': u'American Dad!', 'sTS': 13}
INFO:subliminal.core:Listing subtitles with provider 'tvsubtitles' and languages set([<Language [en]>])
INFO:subliminal.core:Initializing provider tvsubtitles
DEBUG:subliminal.providers.shooter:Searching subtitles {'lang': 'eng', 'pathinfo': '/Volumes/STORAGE/Media/TV/American Dad/Season 13/S13E15 - Daesong Heavy Industries.mkv', 'filehash': 'b17f8ca7a4513e37ddb759d46c74f610;d55d5aa6d91d5743bae51dad6248ed10;b651bad90640cf4af5a6d31f3bfbb42c;29791137edbb36a21e07087533873f08', 'format': 'json'}
INFO:subliminal.core:Listing subtitles with provider 'opensubtitles' and languages set([<Language [en]>])
INFO:subliminal.core:Listing subtitles with provider 'addic7ed' and languages set([<Language [en]>])
INFO:subliminal.core:Initializing provider opensubtitles
INFO:subliminal.core:Initializing provider addic7ed
ERROR:subliminal.providers.tvsubtitles:Episode 15 not found
INFO:subliminal.providers.opensubtitles:Logging in
INFO:subliminal.core:Skipping provider 'subscenter': no language to search for
INFO:subliminal.core:Listing subtitles with provider 'thesubdb' and languages set([<Language [en]>])
DEBUG:subliminal.providers.addic7ed:Getting show id with year
INFO:subliminal.core:Initializing provider thesubdb
DEBUG:subliminal.providers.addic7ed:Getting show id
INFO:subliminal.providers.thesubdb:Searching subtitles {'action': 'search', 'hash': 'a8a4867d997c21950f95fc76caa3b652'}
WARNING:subliminal.providers.addic7ed:Series not found in show ids
ERROR:subliminal.providers.addic7ed:No show id found for u'American Dad!' ({'country': None, 'year': 2005})
INFO:subliminal.providers.legendastv:Getting archives for title 40275 and language 2
DEBUG:subliminal.providers.thesubdb:No subtitles found
DEBUG:subliminal.providers.opensubtitles:Logged in with token 'efVyYSy-h4CemvOLhMzukUSrZT4'
INFO:subliminal.providers.opensubtitles:Searching subtitles [{'moviebytesize': '209723305', 'sublanguageid': u'eng', 'moviehash': '4ca73d5cd2738213'}, {'imdbid': u'4132644', 'sublanguageid': u'eng'}, {'sublanguageid': u'eng', 'tag': 'S13E15 - Daesong Heavy Industries.mkv'}, {'query': u'American Dad!', 'sublanguageid': u'eng', 'episode': 15, 'season': 13}]
DEBUG:subliminal.providers.opensubtitles:No subtitles found
DEBUG:subliminal.providers.podnapisi:No subtitles found
DEBUG:subliminal.providers.legendastv:Found 1 archives
INFO:subliminal.providers.legendastv:Releases not found in cache
INFO:subliminal.providers.legendastv:Downloading archive 56d66b870e72c
ERROR:subliminal.core:Unexpected error in provider 'legendastv'
Traceback (most recent call last):
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/core.py", line 118, in list_subtitles_provider
return self[provider].list_subtitles(video, provider_languages)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/providers/legendastv.py", line 440, in list_subtitles
return [s for l in languages for s in self.query(l, title, season=season, episode=episode, year=video.year)]
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/providers/legendastv.py", line 400, in query
self.download_archive(a)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/providers/legendastv.py", line 336, in download_archive
raise ValueError('Not a valid archive')
ValueError: Not a valid archive
INFO:subliminal.core:Discarding provider legendastv
DEBUG:subliminal.providers.shooter:No subtitles found
Downloading subtitles [####################################] 100%
Some providers have been discarded due to unexpected errors: legendastv
DEBUG:subliminal.core:Terminating initialized providers
INFO:subliminal.core:Terminating provider shooter
INFO:subliminal.core:Terminating provider legendastv
INFO:subliminal.core:Terminating provider tvsubtitles
INFO:subliminal.core:Terminating provider podnapisi
INFO:subliminal.core:Terminating provider addic7ed
INFO:subliminal.core:Terminating provider thesubdb
INFO:subliminal.core:Terminating provider opensubtitles
INFO:subliminal.providers.opensubtitles:Logging out
DEBUG:subliminal.providers.opensubtitles:Logged out
Downloaded 0 subtitle
The text was updated successfully, but these errors were encountered: