SYNO-packages
SYNO-packages copied to clipboard
500 (Internal Server Error)
When i try to test the Opensubtitles it keeps spinning. If i trace the page to "url:9960/config/testOpenSubtitles?opensubtitlesuser="
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
If I see errors as "global name OS_logout is not defined" it tells me that you are missing parts of the installation.
Can i check some thinks? perhaps if the function exists somewhere?
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.
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?