Closed pannal closed 10 years ago
Some debug prints:
Probably caused by: 2014-07-18 03:17:27,133 (7fa8137fe700) : ERROR (logger:27) - subliminal.providers: Unexpected error in provider 'addic7ed', discarding it 2014-07-18 03:17:27,133 (7fa8137fe700) : ERROR (logger:27) - subliminal.providers: Traceback (most recent call last): File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/providers/init.py", line 292, in list_subtitles provider_subtitles = provider.list_subtitles(video, provider_languages) File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/providers/addic7ed.py", line 195, in list_subtitles return [s for s in self.query(video.series, video.season, video.year) File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/subliminal/providers/addic7ed.py", line 161, in query show_ids = self.get_show_ids() File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/dogpile/cache/region.py", line 1013, in decorate should_cache_fn) File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/dogpile/cache/region.py", line 636, in get_or_create self._mutex(key), File "/bulk/Library/Application Support/Plex Media Server/Plug-ins/Subliminal.bundle/Contents/Libraries/Shared/dogpile/cache/region.py", line 275, in _mutex return self._lock_registry.get(key) AttributeError: 'CacheRegion' object has no attribute '_lock_registry'
Two providers are not working yet. Has to do with dogpile cache setting. See https://github.com/Diaoul/subliminal/issues/303 You can fix this by setting the cache to be in memory in the start function of the plugin. Got a local fix for it but not pushed yet.
I've tried your fix to no avail:
2014-07-19 04:04:14,082 (7f734e7fc700) : INFO (logger:23) - requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): www.addic7ed.com
2014-07-19 04:04:14,191 (7f734e7fc700) : DEBUG (logger:21) - requests.packages.urllib3.connectionpool: "POST /dologin.php HTTP/1.1" 200 None
2014-07-19 04:04:14,195 (7f734e7fc700) : ERROR (logger:29) - subliminal.providers: Unexpected error in provider 'addic7ed', discarding it
I'm logged in
Did you sign up just recently and did not yet validate your account?
A working login should look like this:
DEBUG (logkit:13) - subliminal.providers.addic7ed: Logging in INFO (logkit:16) - requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): www.addic7ed.com DEBUG (logkit:13) - requests.packages.urllib3.connectionpool: "POST /dologin.php HTTP/1.1" 302 None INFO (logkit:16) - subliminal.providers.addic7ed: Logged in
Debugging providers is bit of a pain because subliminal/providers/init.py does not log the exception: except: logger.exception('Unexpected error in provider %r, discarding it', subtitle.provider_name)
Edit this to be: except Exception as detail: logger.exception(detail) logger.exception('Unexpected error in provider %r, discarding it', subtitle.provider_name)
Then retry and see why you get a status 200 instead of 302.
You're right, the account has not been activated (as I didn't receive an email). Issue resolved.
Doesn't find subtitles for some files I can find using subliminal -leng "filename".