subliminal icon indicating copy to clipboard operation
subliminal copied to clipboard

Strange error in Subliminal 1.1

Open sabiwa opened this issue 15 years ago • 9 comments

DEBUG 2011-11-08 18:07:45 guessit.guess Updating matching property 'season' with confidence 1.00 DEBUG 2011-11-08 18:07:45 guessit.guess Updating matching property 'series' with confidence 0.85 DEBUG 2011-11-08 18:07:45 guessit.matcher Final result: { [1.00] "episodeNumber": 5, [1.00] "container": "mkv", [1.00] "screenSize": "720p", [0.50] "title": "DL DD5 1 h 264", [0.85] "series": "Fringe", [1.00] "season": 4, [1.00] "type": "episode" } DEBUG 2011-11-08 18:07:45 subliminal.BierDopje Initializing DEBUG 2011-11-08 18:07:45 subliminal.BierDopje Initializing cache... ERROR 2011-11-08 18:07:45 subliminal.worker Exception raised in worker Thread-1 Traceback (most recent call last): File "/home/selo/subliminal/subliminal/core.py", line 305, in run subtitles = plugin.list(task.video, task.languages) File "/home/selo/subliminal/subliminal/plugins.py", line 374, in list results = self.query(video.season, video.episode, languages, video.path or video.release, video.tvdbid, video.series) File "/home/selo/subliminal/subliminal/plugins.py", line 321, in query self.initCache() File "/home/selo/subliminal/subliminal/plugins.py", line 303, in initCache raise PluginError('Cache directory is required') PluginError: Cache directory is required DEBUG 2011-11-08 18:07:45 subliminal.worker Poison pill received in thread Thread-1 DEBUG 2011-11-08 18:07:45 subliminal.BierDopje Terminating DEBUG 2011-11-08 18:07:45 subliminal.worker Poison pill received in thread Thread-3 DEBUG 2011-11-08 18:07:45 subliminal.worker Thread Thread-3 terminated DEBUG 2011-11-08 18:07:45 subliminal.worker Poison pill received in thread Thread-2 DEBUG 2011-11-08 18:07:45 subliminal.worker Thread Thread-2 terminated DEBUG 2011-11-08 18:07:45 subliminal.worker Thread Thread-1 terminated DEBUG 2011-11-08 18:07:45 subliminal.worker Poison pill received in thread Thread-4 DEBUG 2011-11-08 18:07:45 subliminal.worker Thread Thread-4 terminated No subtitles found

sabiwa avatar Nov 08 '11 18:11 sabiwa

You have a cache directory specified in your command?? can you add your command??

G1zm0 avatar Nov 08 '11 18:11 G1zm0

Hmmm when I add the cache dir it works, thats different from the previous version

sabiwa avatar Nov 08 '11 20:11 sabiwa

I know that especially Bierdopje.com requires a cache folder. I had the same error. But it works now. Issue can be closed I guess?

G1zm0 avatar Nov 08 '11 20:11 G1zm0

Yeah but before there was a default cachedir in bierdopje when you didnt put one

Do you also noticed that subliminal doesnt work on dirs anymore but needs files now

sabiwa avatar Nov 08 '11 21:11 sabiwa

That was looooong time ago. I'm not sure any user would expect subliminal to create a file somewhere on the file system that they're not aware of.

Maybe I'll put it back but I have to handle every OS and thats ugly extra code for this small feature.

Diaoul avatar Nov 08 '11 23:11 Diaoul

@sabiwa it works fine in dirs on my machine. Does your command looks a bit like this?? /opt/local/bin/subliminal -m -l en -l nl --cache-dir=/location/to/your/cache /location/to/your/video -v -v This should generate a lot of output on the screen, so you can see were is fails.

G1zm0 avatar Nov 10 '11 13:11 G1zm0

My command is like yours

./download -l nl -v -v -cache-dir ~/.cache/ /location/to/your/video Traceback (most recent call last): File "./download", line 25, in import subliminal File "/home/xxx/subliminal/subliminal/init.py", line 32, in from videos import * File "/home/xxx/subliminal/subliminal/videos.py", line 31, in import kaa.metadata ImportError: No module named kaa.metadata

sabiwa avatar Nov 10 '11 16:11 sabiwa

I don't see anything wrong for now. I miss the "=" after cache-dir, but that shouldn't matter try using " " around the paths

G1zm0 avatar Nov 10 '11 17:11 G1zm0

1.1 is under heavy development, sometimes it'll work, sometimes it won't.

Don't submit any issue with 1.1 please

Diaoul avatar Nov 10 '11 17:11 Diaoul