Intermittently episodes wont import. CRITICAL (core:574) - Exception in the update function

PMS Version 0.9.17.2 on Windows 8.1 Pro x64

For about a month now - occasionally, intermittently - some newly added TV Series episodes wont import properly, they show up in plex but not with any tvdb metadata - like below. , it seems the tvdb agent bundle is crashing out. full log here http://hastebin.com/otezafanur.tex

I have cleared out the cache folder for it, restarted PMS, still same issue

i can download the en.zip mentioned in the full log with no issues

any suggestions?

exception from com.plexapp.agents.thetvdb.log

2016-06-20 19:04:25,954 (174c) : CRITICAL (core:574) - Exception in the update function of agent named ‘TheTVDB’, called with guid ‘com.plexapp.agents.thetvdb://283052/2/9?lang=en’ (most recent call last):
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-2bd156c\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py”, line 1065, in update
agent.update(obj, media, lang, **kwargs)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-2bd156c\TheTVDB.bundle\Contents\Code_init
.py", line 1013, in update
self.processExtras(xml, metadata.seasons[season_num], lang, ivaNormTitle)
File “C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-2bd156c\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api hreadkit.py”, line 233, in parallelize_decorator
f(*args, **kwargs)
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-2bd156c\TheTVDB.bundle\Contents\Code_init
.py", line 866, in UpdateEpisodes
def UpdateEpisode(episode=episode, episode_el=episode_el, lang=lang, series_available=metadata.originally_available_at, series_id=metadata.id, ivaNormTitle=ivaNormTitle, series_extra_xml=series_extra_xml):
NameError: free variable ‘ivaNormTitle’ referenced before assignment in enclosing scope

PMS Version 0.9.17.2 on Server 2012

I’ve noticed the same issue which appeared to start with the 09.17.2 update. I’ve rolled back twice and now running PMS 09.16.5, still no luck. :frowning:

Will keep looking and update here if I find anything useful.

Hey guys, this is a known issue, and a fix is being worked on by our development team.

That’s awesome to know, thanks heaps for the feedback! :smiley:

FYI This problem was happening before the latest 0.9.17.2 as well

is there a workaround for this? Or do you know when it will be fixed atleast? its happening alot more now than it was, perhaps because ive added new shows.

cheers

Just to note, after installing 1.0.0.2261-a17e99e (Congrats!! =D> v1) tv show metadata is now working again! Hoorah!