Quantcast
Channel: Recent Discussions — Plex Forums
Viewing all articles
Browse latest Browse all 151235

[Gentoo Linux][Bug] TVDB Agent not working

$
0
0

It seems that since 1.0.2 update the TVDB Agent is not working properly.
In fact when TVDB Agent tries to downloads data if first contacts plex.tv servers which responds with 404.
With version 1.0.0 I have no problem with TVDB Agent.
Current version of Plex Media Server is: 1.0.2.2413

2016-07-23 14:54:37,675 (7f506f7fe700) :  DEBUG (threadkit:234) - Starting a parallel task set named UpdateEpisodes with 1 tasks
2016-07-23 14:54:37,677 (7f506e7fc700) :  DEBUG (networking:161) - Fetching 'https://tvdb2.plex.tv/episodes/5656576' from the HTTP cache
2016-07-23 14:54:37,679 (7f506e7fc700) :  DEBUG (networking:161) - Fetching 'http://127.0.0.1:32400/services/tmdb?uri=%2Ftv%2F37680%2Fseason%2F6%2Fepisode%2F2' from the HTTP cache
2016-07-23 14:54:37,681 (7f506e7fc700) :  CRITICAL (runtime:298) - Exception in task thread (most recent call last):
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 296, in _start
    obj._exec()
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 243, in _exec
    self._result = self._f(*self._args, **self._kwargs)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/TheTVDB.bundle/Contents/Code/__init__.py", line 901, in UpdateEpisode
    lev = lev_ratio(tvdb_episode_details.get('episodeName', ''), tmdb_episode_details.get('name', ''))
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/TheTVDB.bundle/Contents/Code/__init__.py", line 1213, in lev_ratio
    max_len = float(max([ len(s1), len(s2) ]))
TypeError: object of type 'NoneType' has no len()

2016-07-23 14:54:37,681 (7f506f7fe700) :  DEBUG (threadkit:244) - Parallel task set UpdateEpisodes ended
2016-07-23 14:54:37,682 (7f506f7fe700) :  DEBUG (networking:166) - Requesting 'https://tvdb2.plex.tv/series/247808/images'
2016-07-23 14:54:38,158 (7f506f7fe700) :  ERROR (networking:219) - Error opening URL 'https://tvdb2.plex.tv/series/247808/images'
2016-07-23 14:54:38,158 (7f506f7fe700) :  INFO (__init__:177) - Content Error (HTTP Error 404: Not Found) -
2016-07-23 14:54:38,159 (7f506f7fe700) :  DEBUG (networking:166) - Requesting 'https://tvdb2.plex.tv/series/247808/images'
2016-07-23 14:54:38,684 (7f506f7fe700) :  ERROR (networking:219) - Error opening URL 'https://tvdb2.plex.tv/series/247808/images'
2016-07-23 14:54:38,684 (7f506f7fe700) :  CRITICAL (agentkit:1067) - Exception in the update function of agent named 'TheTVDB', called with guid 'com.plexapp.agents.thetvdb://247808/6/2?lang=it' (most recent call last):
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1065, in _update
    agent.update(obj, media, lang, **kwargs)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/TheTVDB.bundle/Contents/Code/__init__.py", line 1084, in update
    self.processExtras(xml, metadata.seasons[season_num], lang, ivaNormTitle)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 96, in ObjectFromString
    check_size(string, max_size)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/parsekit.py", line 22, in check_size
    if len(data) > max_size:
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 254, in __len__
    self.load()
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/networking.py", line 181, in load
    f = self._opener.open(req, timeout=self._timeout)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 444, in open
    response = meth(req, response)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 557, in http_response
    'http', request, response, code, msg, hdrs)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 482, in error
    return self._call_chain(*args)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 416, in _call_chain
    result = func(*args)
  File "/opt/plexmediaserver/Resources/Plug-ins-7caf41d/Framework.bundle/Contents/Resources/Platforms/Shared/Libraries/urllib2_new.py", line 565, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found

2016-07-23 14:54:38,689 (7f506f7fe700) :  DEBUG (model:229) - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/1/e335155c876db372ef7c91aa0c39f14095242c1.bundle/Contents/com.plexapp.agents.thetvdb/Info.xml
2016-07-23 14:54:38,690 (7f506f7fe700) :  DEBUG (runtime:924) - Response: [200] str, 16 bytes

Please note that the serialized version of Metadata is correct

<?xml version='1.0' encoding='utf-8'?>
<TV_Show id="247808">
  <rating>8.9</rating>
  <title_sort/>
  <art/>
  <themes/>
  <posters/>
  <duration>45</duration>
  <genres>
    <item index="0">Drama</item>
  </genres>
  <title>Suits</title>
  <rating_count/>
  <collections/>
  <tags/>
  <audience_rating_image/>
  <rating_image/>
  <audience_rating/>
  <studio>USA Network</studio>
  <seasons>
    <item external="True" extension="xml" key="6"/>
  </seasons>
  <originally_available_at>2011-06-23</originally_available_at>
  <roles>
    <item index="0">
      <photo>https://thetvdb.com/banners/actors/283081.jpg</photo>
      <role>Harvey Specter</role>
      <name>Gabriel Macht</name>
    </item>
    <item index="1">
      <photo>https://thetvdb.com/banners/actors/283082.jpg</photo>
      <role>Mike Ross</role>
      <name>Patrick J. Adams</name>
    </item>
    <item index="2">
      <photo>https://thetvdb.com/banners/actors/284276.jpg</photo>
      <role>Jessica Pearson</role>
      <name>Gina Torres</name>
    </item>
    <item index="3">
      <photo>https://thetvdb.com/banners/actors/284277.jpg</photo>
      <role>Rachel Zane</role>
      <name>Meghan Markle</name>
    </item>
    <item index="4">
      <photo>https://thetvdb.com/banners/actors/284278.jpg</photo>
     <role>Louis Litt</role>
      <name>Rick Hoffman</name>
    </item>
    <item index="5">
      <photo>https://thetvdb.com/banners/actors/327077.jpg</photo>
      <role>Donna Paulsen</role>
      <name>Sarah Rafferty</name>
    </item>
  </roles>
  <countries/>
  <content_rating>TV-14</content_rating>
  <original_title/>
  <summary>Harvey Specter è uno dei più importanti avvocati di New York, cinico e spietato, con una passione per gli abiti sartoriali e la vita mondana. È appena diventato socio senior dello studio legale presso cui lavora, Pearson Hardman, ma questo passo lo obbliga anche, suo malgrado, ad assumere un giovane associato: Harvey odia dover lavorare in coppia, e odia ancor di più i neolaureati appena usciti da Harvard. Mike Ross è invece un giovane ragazzo estremamente intelligente, dotato di una prodigiosa memoria eidetica, il cui sogno di studiare legge si è infranto quando è stato espulso dal college. Ora, si guadagna da vivere alla giornata, sostenendo esami al posto di altri studenti. Un incontro fortuito tra i due, con Mike che ha modo di mostrare tutta la sua competenza ed inventiva in materia di legge, convince Harvey ad assumerlo nel suo studio, nascondendo a tutti il fatto che il ragazzo, in realtà, non sia affatto un vero avvocato; da parte sua, Mike coglie al volo questa seconda occasione capitatagli inaspettatamente tra le mani, iniziando a districarsi in un ambiente altamente competitivo e cercando di dimostrare di esserne all'altezza.</summary>
  <reviews/>
  <banners/>
</TV_Show>

Viewing all articles
Browse latest Browse all 151235

Trending Articles