abbi031892 / periscope

Automatically exported from code.google.com/p/periscope
0 stars 0 forks source link

SubScene.py gives some errors #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. periscope -l nl file.mkv

What is the expected output? What do you see instead?
I expect to download a subtitle.

What version of the product are you using? On what operating system?
dev

Please provide any additional information below.

$ periscope -l nl file.mkv
INFO:root:Searching subtitles for file.mkv with langs ['nl']
INFO:root:Searching on OpenSubtitles
INFO:root:Searching on SubtitleSource
INFO:root:SubtitleSource writing 0 items to queue
INFO:root:Searching on SubScene
INFO:root:Searching on Subtitulos
INFO:root:Searching on Addic7ed
INFO:root:Searching on Podnapisi
INFO:root:Subtitulos writing 0 items to queue
ERROR:root:Open subtitles could not be contacted for login
INFO:root:OpenSubtitles writing 0 items to queue
INFO:root:Addic7ed writing 0 items to queue
ERROR:root:Error raised by plugin SubScene: 'id'
Traceback (most recent call last):
File "build/bdist.linux-armv5tejl/egg/periscope/plugins/SubScene.py", line 71, 
in process
subs = self.query(fname, langs)
File "build/bdist.linux-armv5tejl/egg/periscope/plugins/SubScene.py", line 166, 
in query
sub_id = subs["id"][1:]
File "/usr/lib/python2.6/site-packages/BeautifulSoup.py", line 599, in 
__getitem__
return self._getAttrMap()[key]
KeyError: 'id'
INFO:root:SubScene writing 0 items to queue
INFO:root:Podnapisi writing 0 items to queue
INFO:root:**************************************************
INFO:root:Downloaded 0 subtitles
INFO:root:**************************************************
$

Original issue reported on code.google.com by pven.twe...@gmail.com on 30 Aug 2010 at 8:39

GoogleCodeExporter commented 8 years ago
I just read that more users have this error (check the periscope-topic on 
Xtreamer).

Original comment by pven.bac...@gmail.com on 31 Aug 2010 at 4:13

GoogleCodeExporter commented 8 years ago
Duplicate with issue 39

Original comment by pvenp...@gmail.com on 31 Aug 2010 at 6:11

GoogleCodeExporter commented 8 years ago
This should not prevent other websites to return results. That's why periscope 
has multiple sources built into it. It's a pitty that subscene isn't currently 
working but I'll try to fix it soon.

I can't find back the topic on Xtreamer about periscope, could you give me the 
URL ?

You can follow my comments on issue 39 for the latest updates.

Original comment by patrick....@gmail.com on 31 Aug 2010 at 9:25

GoogleCodeExporter commented 8 years ago
This is the URL: 
http://forum.xtreamer.net/topic/13650-periscope-package-discussion

Original comment by pven.twe...@gmail.com on 1 Sep 2010 at 12:43

GoogleCodeExporter commented 8 years ago
Is there a pla.n to fix subscene? It seems I find lots of subtitles there that 
are not on others.

Awesome work!

Original comment by a...@kohnk.com on 29 Dec 2011 at 9:32