Skip to content
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

Weird subliminal error #385

Closed
edco100 opened this issue Jun 2, 2014 · 7 comments
Closed

Weird subliminal error #385

edco100 opened this issue Jun 2, 2014 · 7 comments

Comments

@edco100
Copy link

edco100 commented Jun 2, 2014

I've installed the latest package after the downtime, but can't get it to work:

:INFO:root:Running scan
:WARNING:guessit:Invalid infotype: autodetect
:CRITICAL:root:Scan failed: 'type'

What did I do wrong?

@Koernia
Copy link

Koernia commented Jun 3, 2014

I get the same error on a Synology DS213+ on DSM 5.0-4482 with the latest synocommunity package (06.4-10).

A bit more info, when I try with CLI :

DEBUG 2014-06-03 13:06:01 subliminal.videos Scanning file /volume1/TV/TV Show/Season 01/file.mkv with depth 2/3
WARNING 2014-06-03 13:06:01 guessit Invalid infotype: autodetect
DEBUG 2014-06-03 13:06:01 subliminal.async Thread Thread-1 terminated
Traceback (most recent call last):
File "/usr/local/subliminal/env/bin/subliminal", line 99, in
main()
File "/usr/local/subliminal/env/bin/subliminal", line 83, in main
force=args.force, multi=args.multi, scan_filter=scan_filter)
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/async.py", line 134, in download_subtitles
subtitles_by_video = self.list_subtitles(paths, languages, services, force, multi, cache_dir, max_depth, scan_filter)
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/async.py", line 120, in list_subtitles
tasks = create_list_tasks(paths, languages, services, force, multi, cache_dir, max_depth, scan_filter)
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/core.py", line 57, in create_list_tasks
scan_result.extend(scan(p, max_depth, scan_filter))
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/videos.py", line 223, in scan
result.extend(scan(os.path.join(entry, e), max_depth, scan_filter, depth + 1))
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/videos.py", line 223, in scan
result.extend(scan(os.path.join(entry, e), max_depth, scan_filter, depth + 1))
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/videos.py", line 232, in scan
video = Video.from_path(entry)
File "/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/videos.py", line 74, in from_path
if guess['type'] == 'episode' and 'series' in guess and 'season' in guess and 'episodeNumber' in guess:
KeyError: 'type'

@h3llrais3r
Copy link
Contributor

You are using the wrong version of guessit... version 0.7 is needed, not the last version 0.7.1.
You'll need to downgrade to get it working until 0.8 is released.

@edco100
Copy link
Author

edco100 commented Jun 3, 2014

@h3llrais3r That is an essential information, thank you.

Any tips how to downgrade if you've installed over the latest synocommunity package?

@h3llrais3r
Copy link
Contributor

I don't know how you install it on synology (I'm on windows), but I think you can just uninstall guessit 0.7.1 and install guessit 0.7?

@stephanecodes
Copy link

Hi :) Can someone explain how to do this ?

@emdioh
Copy link

emdioh commented Jul 30, 2014

try this:
/usr/local/subliminal/env/bin/pip uninstall guessit
rm -rf /volume1/@appstore/subliminal/env/build/guessit
/usr/local/subliminal/env/bin/pip install guessit==0.7.0
Source: SynoCommunity/spksrc#1028

@stephanecodes
Copy link

Thanx ;) I already found this post and tried these command lines. Everything was uninstalled then installed but the problem isn't solved. I'm manually using subtitleseeker.com.

@Diaoul Diaoul closed this as completed Mar 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants