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

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

Closed
GoogleCodeExporter opened this issue Mar 24, 2016 · 6 comments
Closed

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

GoogleCodeExporter opened this issue Mar 24, 2016 · 6 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Issue 41 has been merged into this issue.

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

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant