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

500 (Internal Server Error) #9

Open
hogendoorn opened this issue Nov 30, 2018 · 4 comments
Open

500 (Internal Server Error) #9

hogendoorn opened this issue Nov 30, 2018 · 4 comments

Comments

@hogendoorn
Copy link

hogendoorn commented Nov 30, 2018

When i try to test the Opensubtitles it keeps spinning. If i trace the page to "url:9960/config/testOpenSubtitles?opensubtitlesuser="

image

Traceback (most recent call last): File "/volume1/@appstore/autosub/cherrypy/_cprequest.py", line 670, in respond response.body = self.handler() File "/volume1/@appstore/autosub/cherrypy/lib/encoding.py", line 220, in __call__ self.body = self.oldhandler(*args, **kwargs) File "/volume1/@appstore/autosub/cherrypy/_cpdispatch.py", line 60, in __call__ return self.callable(*self.args, **self.kwargs) File "/volume1/@appstore/autosub/autosub/WebServer.py", line 415, in testOpenSubtitles if OS_Login(opensubtitlesuser,opensubtitlespasswd): File "/volume1/@appstore/autosub/autosub/OpenSubtitles.py", line 31, in OS_Login OS_logout(Result['token']) NameError: global name 'OS_logout' is not defined
The log says: 30-11 21:19:36 INF OS_Login :OS Test Login with User email. Result is: 200 OK

But i wont see it download any subs. Fresh install on a synology nas version. Using the latest version from https://github.com/BenjV/SYNO-packages

@BenjV
Copy link
Owner

BenjV commented Nov 30, 2018

If I see errors as "global name OS_logout is not defined" it tells me that you are missing parts of the installation.

@hogendoorn
Copy link
Author

Can i check some thinks? perhaps if the function exists somewhere?

@BenjV
Copy link
Owner

BenjV commented Dec 3, 2018

I found the problem
On line 31 of the file "/volume1/@appstore/autosub/autosub/OpenSubtitles.py" there is een spelling mistake.
It says OS_logout and it should be OS_Logout with a capital "L".

It only occurrs when you do a test login on Opensubtitles.
I will fix it in the next release so don't use the test login in the mean time or fix the file yourself.

@hogendoorn
Copy link
Author

Thanks, that did the trick.
I have read a dutch post on a other forum there has been a big API change for OpenSubtitles. Is that the reason why AutoSub won't find much a.t.m?

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

2 participants