Daniel-Rafique / periscope

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

ERROR:root:Error raised by plugin SubScene: 'id' #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
ERROR:root:Error raised by plugin SubScene: 'id'
Traceback (most recent call last):
  File "build\bdist.win32\egg\periscope\plugins\SubScene.py", line 71, in process
    subs = self.query(fname, langs)
  File "build\bdist.win32\egg\periscope\plugins\SubScene.py", line 166, in query
    sub_id = subs["id"][1:]
  File "C:\Python26\lib\site-packages\BeautifulSoup.py", line 599, in __getitem__
    return self._getAttrMap()[key]
KeyError: 'id'

Calling Periscope from inside of SickBeard with no language specified and a 
full path to the Sub. 
I get this error, haven't tried to figure it out yet. 
Any guesses

Original issue reported on code.google.com by rob.bruce70@gmail.com on 26 Aug 2010 at 5:27

GoogleCodeExporter commented 8 years ago
This is probably due to some changes in the SubScene code. I'm doing 
webscrapping on this one, not using an API.

I'll take a deeper look at it this week-end.

Original comment by patrick....@gmail.com on 26 Aug 2010 at 7:06

GoogleCodeExporter commented 8 years ago
I've looked into it. They've change the HTML code and made it way more harder 
to get the subtitles ...

I've still haven't figured out how to make it work properly. I'll take another 
look in a couple of days

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

GoogleCodeExporter commented 8 years ago
Issue 41 has been merged into this issue.

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

GoogleCodeExporter commented 8 years ago
Can I change the code to be able to skip SubScene?

(I really want to use persiscope, but this is currently not possible for me.)

Original comment by pvenp...@gmail.com on 4 Sep 2010 at 7:07

GoogleCodeExporter commented 8 years ago
You can remove SubScene by removing it from the __init__.py file in the plugin 
folder.

But an error in SubScene does not prevent you from searching in other plugins. 
If an error happens in one plugin, the error is caught and shown but it does 
not stop the search on other plugins.

Original comment by patrick....@gmail.com on 4 Sep 2010 at 7:15

GoogleCodeExporter commented 8 years ago
SubScene skipped by default. The id error does not appear anymore but I can't 
get the download to automagically work (yet).

I'll close this and open a new bug for the download

Original comment by patrick....@gmail.com on 23 Oct 2010 at 11:31