You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when I try to pull the subs it gives me this exception:
2014-11-18 07:46:47,775 (7f02a77fe700) : CRITICAL (agentkit:983) - Exception in the update function of agent named 'ItalianSubsAgent', called with guid 'com.plexapp.agents.thetvdb://269578?lang=en' (most recent call last): File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 979, in _update agent.update(obj, media, lang, force) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 322, in update subtitle = search_subtitle(name, filename, season, episode, tvdb_id) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 277, in search_subtitle subtitle_contents = unzip(subtitle_contents, episode) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 249, in unzip z = zipfile.ZipFile(bfr) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/zipfile.py", line 766, in __init__ self._RealGetContents() File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/zipfile.py", line 807, in _RealGetContents raise BadZipfile, "File is not a zip file" BadZipfile: File is not a zip file
After some retries it downloads it correctly
The text was updated successfully, but these errors were encountered:
It should be an issue related to some API limits of ItalianSubs, I have to investigate it.
A workaround would be a try/retry block until the file is downloaded fine.
Sometimes when I try to pull the subs it gives me this exception:
2014-11-18 07:46:47,775 (7f02a77fe700) : CRITICAL (agentkit:983) - Exception in the update function of agent named 'ItalianSubsAgent', called with guid 'com.plexapp.agents.thetvdb://269578?lang=en' (most recent call last): File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 979, in _update agent.update(obj, media, lang, force) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 322, in update subtitle = search_subtitle(name, filename, season, episode, tvdb_id) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 277, in search_subtitle subtitle_contents = unzip(subtitle_contents, episode) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/ItalianSubsAgent.bundle/Contents/Code/__init__.py", line 249, in unzip z = zipfile.ZipFile(bfr) File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/zipfile.py", line 766, in __init__ self._RealGetContents() File "/usr/lib/plexmediaserver/Resources/Python/lib/python2.7/zipfile.py", line 807, in _RealGetContents raise BadZipfile, "File is not a zip file" BadZipfile: File is not a zip file
After some retries it downloads it correctly
The text was updated successfully, but these errors were encountered: