question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

subliminal crashes on specific movie

See original GitHub issue

Latest version of Subliminal and up to date

Package              Version
-------------------- ---------
appdirs              1.4.3
babelfish            0.5.5
beautifulsoup4       4.8.0
certifi              2019.6.16
chardet              3.0.4
Click                7.0
decorator            4.4.0
dogpile.cache        0.7.1
enzyme               0.4.1
guessit              3.0.5
idna                 2.8
pbr                  5.4.2
pip                  19.2.3
pip-upgrade-outdated 1.5
pysrt                1.1.1
python-dateutil      2.8.0
pytz                 2019.2
rarfile              3.0
rebulk               2.0.0
requests             2.22.0
setuptools           41.2.0
six                  1.12.0
soupsieve            1.9.3
stevedore            1.30.1
subliminal           2.0.5
urllib3              1.25.3
wheel                0.33.6

It tells me to report at Guessit although I don’t know what to report there

(subliminal) C:\GitHub\subliminal\Scripts>subliminal --debug download -p opensubtitles -l en -l nl -f "C:\DATA\Kids\Movies\Despicable Me (2010)"
DEBUG:subliminal.cli:Collecting path C:\DATA\Kids\Movies\Despicable Me (2010)
DEBUG:subliminal.core:Walking directory 'C:\\DATA\\Kids\\Movies\\Despicable Me (2010)'
INFO:subliminal.core:Scanning video 'Despicable Me (2010) - [Bluray-1080p][X264][AC3 5.1][EN+NL].mkv' in 'C:\\DATA\\Kids\\Movies\\Despicable Me (2010)'
DEBUG:subliminal.core:Size is 4195104676
DEBUG:subliminal.core:Computed hashes {'opensubtitles': '04484b7fbe0fbe6b', 'shooter': '32fb811a4dd9641d2e86e131bebfc665;21d12a7821ff654eccb6074d225610c9;f9063439146f81001c943f4255dcf5df;9da89d4a17e8fef4382eb7d07a536ee4', 'thesubdb': '08381a19c0460b9c6bea1f639b3375c3', 'napiprojekt': 'aacdbef3b1fa3b74774bd460640b01f6'}
INFO:subliminal.core:Refining video with metadata
DEBUG:subliminal.refiners.metadata:Found video_codec h264
DEBUG:subliminal.refiners.metadata:Found audio_codec AC3
INFO:subliminal.core:Refining video with omdb
ERROR:subliminal.core:Failed to refine video
Traceback (most recent call last):
  File "c:\github\subliminal\lib\site-packages\subliminal\core.py", line 542, in refine
    refiner_manager[refiner].plugin(video, **kwargs)
  File "c:\github\subliminal\lib\site-packages\subliminal\refiners\omdb.py", line 155, in refine
    results = search(video.title, 'movie', video.year)
  File "<c:\github\subliminal\lib\site-packages\decorator.py:decorator-gen-8>", line 2, in search
  File "c:\github\subliminal\lib\site-packages\dogpile\cache\region.py", line 1272, in get_or_create_for_user_func
    should_cache_fn, (arg, kw))
  File "c:\github\subliminal\lib\site-packages\dogpile\cache\region.py", line 879, in get_or_create
    async_creator) as value:
  File "c:\github\subliminal\lib\site-packages\dogpile\lock.py", line 186, in __enter__
    return self._enter()
  File "c:\github\subliminal\lib\site-packages\dogpile\lock.py", line 93, in _enter
    generated = self._enter_create(value, createdtime)
  File "c:\github\subliminal\lib\site-packages\dogpile\lock.py", line 179, in _enter_create
    return self.creator()
  File "c:\github\subliminal\lib\site-packages\dogpile\cache\region.py", line 839, in gen_value
    created_value = creator(*creator_args[0], **creator_args[1])
  File "c:\github\subliminal\lib\site-packages\subliminal\refiners\omdb.py", line 76, in search
    results = omdb_client.search(title, type, year)
  File "c:\github\subliminal\lib\site-packages\subliminal\refiners\omdb.py", line 59, in search
    r.raise_for_status()
  File "c:\github\subliminal\lib\site-packages\requests\models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://www.omdbapi.com/?r=json&v=1&s=Despicable+Me&type=movie&y=2010&page=1
Collecting videos  [####################################]  100%
1 video collected / 0 video ignored / 0 error
INFO:subliminal.core:Listing subtitles with provider 'opensubtitles' and languages {<Language [en]>, <Language [nl]>}
INFO:subliminal.core:Initializing provider opensubtitles
INFO:subliminal.providers.opensubtitles:Logging in
DEBUG:subliminal.providers.opensubtitles:Logged in with token 'Lx0JDFzh8gfWb9Zt0IHQUX,tHI3'
INFO:subliminal.providers.opensubtitles:Searching subtitles [{'moviehash': '04484b7fbe0fbe6b', 'moviebytesize': '4195104676', 'sublanguageid': 'dut,eng'}, {'tag': 'Despicable Me (2010) - [Bluray-1080p][X264][AC3 5.1][EN+NL].mkv', 'sublanguageid': 'dut,eng'}, {'query': 'Despicable Me', 'sublanguageid': 'dut,eng'}]
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770417' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680778' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770416' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770419' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952649724' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680779' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955728138' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952697448' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770694' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952668619' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954009945' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953819413' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770691' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663951' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954151271' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680456' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955653818' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952653797' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663780' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955664604' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954608603' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680487' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952649689' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955682053' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955684444' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953779302' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952698838' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954573439' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955675719' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955665901' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952675662' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952693126' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663946' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952933328' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954221325' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954636913' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955675645' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663864' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680458' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680580' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955684442' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680570' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954564183' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952933326' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1956354002' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952661962' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952777190' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954764284' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955724337' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955680486' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955616306' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953643630' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953779463' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953633854' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952695734' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954063915' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953281987' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954251992' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953203457' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954604807' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953203807' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953203461' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954643298' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955333006' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663718' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955675241' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952650107' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770724' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955616288' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770011' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955628792' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770461' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955617125' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953770722' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955616319' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953800321' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955663860' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952653128' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952780065' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952843400' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953774635' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1955665088' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952663854' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1952691823' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953637071' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953013510' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953772027' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953671837' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953701263' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953554258' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953755690' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954559197' [nl]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953012358' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953012360' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1953012359' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1954569247' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1956433733' [en]> by fulltext
DEBUG:subliminal.providers.opensubtitles:Found subtitle <OpenSubtitlesSubtitle '1956433724' [en]> by fulltext
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1953770417' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 1 with final matches {'hearing_impaired'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1955680778' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
INFO:subliminal.score:Computed score 0 with final matches set()
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1953770416' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
INFO:subliminal.score:Computed score 0 with final matches set()
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1953770419' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
INFO:subliminal.score:Computed score 0 with final matches set()
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1952649724' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches {'title', 'year'}
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 91 with final matches {'title', 'hearing_impaired', 'year'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1955680779' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 1 with final matches {'hearing_impaired'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1955728138' [nl]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 1 with final matches {'hearing_impaired'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1952697448' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches {'title', 'year'}
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 91 with final matches {'title', 'hearing_impaired', 'year'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1953770694' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches set()
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 1 with final matches {'hearing_impaired'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1952668619' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches {'title', 'year'}
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 91 with final matches {'title', 'hearing_impaired', 'year'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1954009945' [en]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}
DEBUG:subliminal.score:Found matches {'resolution'}
DEBUG:subliminal.score:Matched hearing_impaired
INFO:subliminal.score:Computed score 3 with final matches {'hearing_impaired', 'resolution'}
INFO:subliminal.score:Computing score of <OpenSubtitlesSubtitle '1953819413' [nl]> for video <Movie ['Despicable Me', 2010]> with {'hearing_impaired': False}
DEBUG:subliminal.score:Using scores {'hash': 119, 'title': 60, 'year': 30, 'release_group': 15, 'format': 7, 'audio_codec': 3, 'resolution': 2, 'video_codec': 2, 'hearing_impaired': 1}

DEBUG:subliminal.core:Terminating initialized providers
INFO:subliminal.core:Terminating provider opensubtitles
INFO:subliminal.providers.opensubtitles:Logging out
DEBUG:subliminal.providers.opensubtitles:Logged out
Traceback (most recent call last):
  File "c:\github\subliminal\lib\site-packages\guessit\api.py", line 210, in guessit
    matches = self.rebulk.matches(string, options)
  File "c:\github\subliminal\lib\site-packages\rebulk\rebulk.py", line 113, in matches
    self._matches_patterns(matches, context)
  File "c:\github\subliminal\lib\site-packages\rebulk\rebulk.py", line 176, in _matches_patterns
    pattern_matches = pattern.matches(matches.input_string, context)
  File "c:\github\subliminal\lib\site-packages\rebulk\pattern.py", line 166, in matches
    for match in self._match(pattern, input_string, context):
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 81, in _match
    input_string, chain_input_string, offset, current_chain_matches)
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 111, in _to_next_chain_part
    if self._chain_breaker_eval(current_chain_matches + grouped_matches):
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 170, in _chain_breaker_eval
    return not self.chain_breaker or not self.chain_breaker(Matches(matches))
  File "c:\github\subliminal\lib\site-packages\guessit\rules\properties\episodes.py", line 52, in episodes_season_chain_breaker
    if len(eps) > 1 and abs(eps[-1].value - eps[-2].value) > episode_max_range:
TypeError: unsupported operand type(s) for -: 'str' and 'str'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python37\Lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python37\Lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\GitHub\subliminal\Scripts\subliminal.exe\__main__.py", line 9, in <module>
  File "c:\github\subliminal\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\github\subliminal\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\github\subliminal\lib\site-packages\click\core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\github\subliminal\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\github\subliminal\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\github\subliminal\lib\site-packages\click\decorators.py", line 27, in new_func
    return f(get_current_context().obj, *args, **kwargs)
  File "c:\github\subliminal\lib\site-packages\subliminal\cli.py", line 403, in download
    hearing_impaired=hearing_impaired, only_one=single)
  File "c:\github\subliminal\lib\site-packages\subliminal\core.py", line 211, in download_best_subtitles
    for s in subtitles], key=operator.itemgetter(1), reverse=True)
  File "c:\github\subliminal\lib\site-packages\subliminal\core.py", line 211, in <listcomp>
    for s in subtitles], key=operator.itemgetter(1), reverse=True)
  File "c:\github\subliminal\lib\site-packages\subliminal\score.py", line 106, in compute_score
    matches = subtitle.get_matches(video)
  File "c:\github\subliminal\lib\site-packages\subliminal\providers\opensubtitles.py", line 99, in get_matches
    matches |= guess_matches(video, guessit(self.filename, {'type': 'movie'}))
  File "c:\github\subliminal\lib\site-packages\guessit\api.py", line 71, in guessit
    return default_api.guessit(string, options)
  File "c:\github\subliminal\lib\site-packages\guessit\api.py", line 222, in guessit
    raise GuessitException(string, options)
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.0.5
string=vedett-despicableme2-1080p.srt
options={'expected_title': ['OSS 117', 'This is Us'], 'allowed_countries': ['au', 'gb', 'us'], 'allowed_languages': ['ca', 'cs', 'de', 'en', 'es', 'fr', 'he', 'hi', 'hu', 'it', 'ja', 'ko', 'mul', 'nl', 'no', 'pl', 'pt', 'ro', 'ru', 'sv', 'te', 'uk', 'und'], 'advanced_config': {'common_words': ['ca', 'cat', 'de', 'he', 'it', 'no', 'por', 'rum', 'se', 'st', 'sub'], 'groups': {'starting': '([{', 'ending': ')]}'}, 'audio_codec': {'audio_channels': {'1.0': ['1ch', 'mono'], '2.0': ['2ch', 'stereo', 're:(2[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '5.1': ['5ch', '6ch', 're:(5[\\W_][01](?:ch)?)(?=[^\\d]|$)', 're:(6[\\W_]0(?:ch)?)(?=[^\\d]|$)'], '7.1': ['7ch', '8ch', 're:(7[\\W_][01](?:ch)?)(?=[^\\d]|$)']}}, 'container': {'subtitles': ['srt', 'idx', 'sub', 'ssa', 'ass'], 'info': ['nfo'], 'videos': ['3g2', '3gp', '3gp2', 'asf', 'avi', 'divx', 'flv', 'iso', 'm4v', 'mk2', 'mk3d', 'mka', 'mkv', 'mov', 'mp4', 'mp4a', 'mpeg', 'mpg', 'ogg', 'ogm', 'ogv', 'qt', 'ra', 'ram', 'rm', 'ts', 'vob', 'wav', 'webm', 'wma', 'wmv'], 'torrent': ['torrent'], 'nzb': ['nzb']}, 'country': {'synonyms': {'ES': ['españa'], 'GB': ['UK'], 'BR': ['brazilian', 'bra'], 'CA': ['québec', 'quebec', 'qc'], 'MX': ['Latinoamérica', 'latin america']}}, 'episodes': {'season_max_range': 100, 'episode_max_range': 100, 'max_range_gap': 1, 'season_markers': ['s'], 'season_ep_markers': ['x'], 'disc_markers': ['d'], 'episode_markers': ['xe', 'ex', 'ep', 'e', 'x'], 'range_separators': ['-', '~', 'to', 'a'], 'discrete_separators': ['+', '&', 'and', 'et'], 'season_words': ['season', 'saison', 'seizoen', 'seasons', 'saisons', 'tem', 'temp', 'temporada', 'temporadas', 'stagione'], 'episode_words': ['episode', 'episodes', 'eps', 'ep', 'episodio', 'episodios', 'capitulo', 'capitulos'], 'of_words': ['of', 'sur'], 'all_words': ['All']}, 'language': {'synonyms': {'ell': ['gr', 'greek'], 'spa': ['esp', 'español', 'espanol'], 'fra': ['français', 'vf', 'vff', 'vfi', 'vfq'], 'swe': ['se'], 'por_BR': ['po', 'pb', 'pob', 'ptbr', 'br', 'brazilian'], 'deu_CH': ['swissgerman', 'swiss german'], 'nld_BE': ['flemish'], 'cat': ['català', 'castellano', 'espanol castellano', 'español castellano'], 'ces': ['cz'], 'ukr': ['ua'], 'zho': ['cn'], 'jpn': ['jp'], 'hrv': ['scr'], 'mul': ['multi', 'dl']}, 'subtitle_affixes': ['sub', 'subs', 'esub', 'esubs', 'subbed', 'custom subbed', 'custom subs', 'custom sub', 'customsubbed', 'customsubs', 'customsub', 'soft subtitles', 'soft subs'], 'subtitle_prefixes': ['st', 'v', 'vost', 'subforced', 'fansub', 'hardsub', 'legenda', 'legendas', 'legendado', 'subtitulado', 'soft', 'subtitles'], 'subtitle_suffixes': ['subforced', 'fansub', 'hardsub'], 'language_affixes': ['dublado', 'dubbed', 'dub'], 'language_prefixes': ['true'], 'language_suffixes': ['audio'], 'weak_affixes': ['v', 'audio', 'true']}, 'part': {'prefixes': ['pt', 'part']}, 'release_group': {'forbidden_names': ['bonus', 'by', 'for', 'par', 'pour', 'rip'], 'ignored_seps': '[]{}()'}, 'screen_size': {'frame_rates': ['23.976', '24', '25', '29.970', '30', '48', '50', '60', '120'], 'min_ar': 1.333, 'max_ar': 1.898, 'interlaced': ['360', '480', '576', '900', '1080'], 'progressive': ['360', '480', '540', '576', '900', '1080', '368', '720', '1440', '2160', '4320']}, 'website': {'safe_tlds': ['com', 'net', 'org'], 'safe_subdomains': ['www'], 'safe_prefixes': ['co', 'com', 'net', 'org'], 'prefixes': ['from']}, 'streaming_service': {'A&E': ['AE', 'A&E'], 'ABC': 'AMBC', 'ABC Australia': 'AUBC', 'Al Jazeera English': 'AJAZ', 'AMC': 'AMC', 'Amazon Prime': ['AMZN', 'Amazon', 're:Amazon-?Prime'], 'Adult Swim': ['AS', 're:Adult-?Swim'], "America's Test Kitchen": 'ATK', 'Animal Planet': 'ANPL', 'AnimeLab': 'ANLB', 'AOL': 'AOL', 'ARD': 'ARD', 'BBC iPlayer': ['iP', 're:BBC-?iPlayer'], 'BravoTV': 'BRAV', 'Canal+': 'CNLP', 'Cartoon Network': 'CN', 'CBC': 'CBC', 'CBS': 'CBS', 'CNBC': 'CNBC', 'Comedy Central': ['CC', 're:Comedy-?Central'], 'Channel 4': '4OD', 'CHRGD': 'CHGD', 'Cinemax': 'CMAX', 'Country Music Television': 'CMT', 'Comedians in Cars Getting Coffee': 'CCGC', 'Crunchy Roll': ['CR', 're:Crunchy-?Roll'], 'Crackle': 'CRKL', 'CSpan': 'CSPN', 'CTV': 'CTV', 'CuriosityStream': 'CUR', 'CWSeed': 'CWS', 'Daisuki': 'DSKI', 'DC Universe': 'DCU', 'Deadhouse Films': 'DHF', 'DramaFever': ['DF', 'DramaFever'], 'Digiturk Diledigin Yerde': 'DDY', 'Discovery': ['DISC', 'Discovery'], 'Disney': ['DSNY', 'Disney'], 'DIY Network': 'DIY', 'Doc Club': 'DOCC', 'DPlay': 'DPLY', 'E!': 'ETV', 'ePix': 'EPIX', 'El Trece': 'ETTV', 'ESPN': 'ESPN', 'Esquire': 'ESQ', 'Family': 'FAM', 'Family Jr': 'FJR', 'Food Network': 'FOOD', 'Fox': 'FOX', 'Freeform': 'FREE', 'FYI Network': 'FYI', 'Global': 'GLBL', 'GloboSat Play': 'GLOB', 'Hallmark': 'HLMK', 'HBO Go': ['HBO', 're:HBO-?Go'], 'HGTV': 'HGTV', 'History': ['HIST', 'History'], 'Hulu': 'HULU', 'Investigation Discovery': 'ID', 'IFC': 'IFC', 'iTunes': 'iTunes', 'ITV': 'ITV', 'Knowledge Network': 'KNOW', 'Lifetime': 'LIFE', 'Motor Trend OnDemand': 'MTOD', 'MBC': ['MBC', 'MBCVOD'], 'MSNBC': 'MNBC', 'MTV': 'MTV', 'National Geographic': ['NATG', 're:National-?Geographic'], 'NBA TV': ['NBA', 're:NBA-?TV'], 'NBC': 'NBC', 'Netflix': ['NF', 'Netflix'], 'NFL': 'NFL', 'NFL Now': 'NFLN', 'NHL GameCenter': 'GC', 'Nickelodeon': ['NICK', 'Nickelodeon'], 'Norsk Rikskringkasting': 'NRK', 'OnDemandKorea': ['ODK', 'OnDemandKorea'], 'PBS': 'PBS', 'PBS Kids': 'PBSK', 'Playstation Network': 'PSN', 'Pluzz': 'PLUZ', 'RTE One': 'RTE', 'SBS (AU)': 'SBS', 'SeeSo': ['SESO', 'SeeSo'], 'Shomi': 'SHMI', 'Spike': 'SPIK', 'Spike TV': ['SPKE', 're:Spike-?TV'], 'Sportsnet': 'SNET', 'Sprout': 'SPRT', 'Stan': 'STAN', 'Starz': 'STZ', 'Sveriges Television': 'SVT', 'SwearNet': 'SWER', 'Syfy': 'SYFY', 'TBS': 'TBS', 'TFou': 'TFOU', 'The CW': ['CW', 're:The-?CW'], 'TLC': 'TLC', 'TubiTV': 'TUBI', 'TV3 Ireland': 'TV3', 'TV4 Sweeden': 'TV4', 'TVING': 'TVING', 'TV Land': ['TVL', 're:TV-?Land'], 'UFC': 'UFC', 'UKTV': 'UKTV', 'Univision': 'UNIV', 'USA Network': 'USAN', 'Velocity': 'VLCT', 'VH1': 'VH1', 'Viceland': 'VICE', 'Viki': 'VIKI', 'Vimeo': 'VMEO', 'VRV': 'VRV', 'W Network': 'WNET', 'WatchMe': 'WME', 'WWE Network': 'WWEN', 'Xbox Video': 'XBOX', 'Yahoo': 'YHOO', 'YouTube Red': 'RED', 'ZDF': 'ZDF'}}, 'type': 'movie'}
--------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\github\subliminal\lib\site-packages\guessit\api.py", line 210, in guessit
    matches = self.rebulk.matches(string, options)
  File "c:\github\subliminal\lib\site-packages\rebulk\rebulk.py", line 113, in matches
    self._matches_patterns(matches, context)
  File "c:\github\subliminal\lib\site-packages\rebulk\rebulk.py", line 176, in _matches_patterns
    pattern_matches = pattern.matches(matches.input_string, context)
  File "c:\github\subliminal\lib\site-packages\rebulk\pattern.py", line 166, in matches
    for match in self._match(pattern, input_string, context):
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 81, in _match
    input_string, chain_input_string, offset, current_chain_matches)
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 111, in _to_next_chain_part
    if self._chain_breaker_eval(current_chain_matches + grouped_matches):
  File "c:\github\subliminal\lib\site-packages\rebulk\chain.py", line 170, in _chain_breaker_eval
    return not self.chain_breaker or not self.chain_breaker(Matches(matches))
  File "c:\github\subliminal\lib\site-packages\guessit\rules\properties\episodes.py", line 52, in episodes_season_chain_breaker
    if len(eps) > 1 and abs(eps[-1].value - eps[-2].value) > episode_max_range:
TypeError: unsupported operand type(s) for -: 'str' and 'str'
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Toilalcommented, Sep 2, 2019

Please downgrade rebulk to version 1.x for now.

pip install rebulk<2

Rebulk 2 is a breaking change version and is not compatible with current guessit released version (3.0.x). Next guessit version (3.1.0) exploiting the new rebulk version ~will be available in the next few days~ is now available, so you may just upgrade guessit.

0reactions
Rouzaxcommented, Jun 14, 2020

I haven’t tried to use Subliminal for quite some time. Today I updated all components and gave it another try and now it works as expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Movies With Hidden Subliminal Messages
10 Movies With Hidden Subliminal Messages · 'The Exorcist''s ghostly flashes · 'The Shining' and the impossible hotel · 'Fight Club''s FBI warning....
Read more >
Instances of subliminal messages - Wikipedia
In the film Cloverfield, three subliminal pictures can be seen during various parts of the film, when the camera footage distorts. The photos...
Read more >
The Deceptive Origins of Subliminal Messaging - YouTube
Whispers of the word 'Popcorn' flashing across a movie screen, rumors of the word 'sex' hidden on a Ritz cracker. You've heard the...
Read more >
Most Popular Movies and TV Shows tagged with keyword ...
Sort by Popularity - Most Popular Movies and TV Shows tagged with keyword "subliminal" ; 1. The Century of the Self (2002). 235...
Read more >
I started reading about Subliminals crashing and it not working ...
I started reading about Subliminals crashing and it not working. Dont you think my playlist would crash with each other?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found