<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 9, 2017 at 5:57 PM, Mike Holden <span dir="ltr"><<a href="mailto:mikeholden99+mythtv@gmail.com" target="_blank">mikeholden99+mythtv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-"><div class="gmail_extra"><div class="gmail_quote">[temp@severus ~]$ /usr/share/mythtv/metadata/<wbr>Television/ttvdb.py -l en -a GB -C 221630<br></div></div></span><div class="gmail_extra"><div><div>/usr/lib/python2.7/site-<wbr>packages/requests/packages/<wbr>urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings" target="_blank">https://urllib3.readthedocs.<wbr>io/en/latest/advanced-usage.<wbr>html#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>/usr/lib/python2.7/site-<wbr>packages/requests/packages/<wbr>urllib3/connectionpool.py:852: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: <a href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings" target="_blank">https://urllib3.readthedocs.<wbr>io/en/latest/advanced-usage.<wbr>html#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>! Error: 'NoneType' object has no attribute 'keys'</div><span class="gmail-"><div>Traceback (most recent call last):</div><div>  File "/usr/share/mythtv/metadata/<wbr>Television/ttvdb.py", line 2464, in <module></div><div>    sys.exit(main())</div></span><div>  File "/usr/share/mythtv/metadata/<wbr>Television/ttvdb.py", line 2257, in main</div><div>    t._getShowData(series_season_<wbr>ep[0], opts.language)</div><div>  File "/usr/lib/python2.7/site-<wbr>packages/MythTV/ttvdb/tvdb_<wbr>api.py", line 1054, in _getShowData</div><div>    for curInfo in seriesInfoEt.keys():</div><div>AttributeError: 'NoneType' object has no attribute 'keys'</div></div></div></div></blockquote><div><br></div><div>Are you sure that's a valid TV series? I got the same result as you but when I looked up a series number from <a href="http://thetvdb.com">thetvdb.com</a> and tried it everything worked[1] on my F26 system.</div><div><br></div><div>That being said, if you do pass an incorrect series ID it should handle it gracefully instead of the very unhelpful error message it gives.</div><div><br></div><div>Thanks,</div><div>Richard </div><div><br></div><div>[1] $ /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -C 80348</div><div><?xml version='1.0' encoding='UTF-8'?></div><div><metadata></div><div>  <item></div><div>    <language>en</language></div><div>    <title>Chuck</title></div><div>    <network>NBC</network></div><div>    <airday>Friday</airday></div><div>    <airtime>8:00 PM</airtime></div><div>    <description>This high-concept action comedy follows Chuck Bartowski as the Buy More computer geek turned secret agent. When Chuck unwittingly downloads a database of government information and deadly fighting skills into his head, he becomes the CIA's most vital secret. This sets Chuck on a path to become a full-fledged spy, assisted by the stoic Colonel John Casey; Chuck's best friend, Morgan Grimes; and the CIA's top agent Sarah Walker. With the help of this unlikely team and his unorthodox techniques, Chuck is ready to take Operation Bartowski freelance.</description></div><div>    <certifications></div><div>      <certification locale="us" name="TV-PG"/></div><div>    </certifications></div><div>    <categories></div><div>      <category type="genre" name="Action"/></div><div>      <category type="genre" name="Adventure"/></div><div>      <category type="genre" name="Comedy"/></div><div>      <category type="genre" name="Drama"/></div><div>    </categories></div><div>    <studios></div><div>      <studio name="NBC"/></div><div>    </studios></div><div>    <runtime>45</runtime></div><div>    <inetref>80348</inetref></div><div>    <imdb>0934814</imdb></div><div>    <userrating>8.7</userrating></div><div>    <ratingcount>970</ratingcount></div><div>    <year>2007</year></div><div>    <releasedate>2007-09-24</releasedate></div><div>    <lastupdated>Fri, 24 Nov 2017 21:33:33 GMT</lastupdated></div><div>    <status>Ended</status></div><div>    <images></div><div>      <image type="coverart" url="<a href="http://www.thetvdb.com/banners/posters/80348-19.jpg">http://www.thetvdb.com/banners/posters/80348-19.jpg</a>" thumb="<a href="http://www.thetvdb.com/banners/_cache/posters/80348-19.jpg">http://www.thetvdb.com/banners/_cache/posters/80348-19.jpg</a>"/></div><div>      <image type="fanart" url="<a href="http://www.thetvdb.com/banners/fanart/original/80348-1.jpg">http://www.thetvdb.com/banners/fanart/original/80348-1.jpg</a>" thumb="<a href="http://www.thetvdb.com/banners/_cache/fanart/original/80348-1.jpg">http://www.thetvdb.com/banners/_cache/fanart/original/80348-1.jpg</a>"/></div><div>      <image type="banner" url="<a href="http://thetvdb.com/banners/graphical/80348-g26.jpg">http://thetvdb.com/banners/graphical/80348-g26.jpg</a>" thumb="<a href="http://thetvdb.com/banners/_cache/graphical/80348-g26.jpg">http://thetvdb.com/banners/_cache/graphical/80348-g26.jpg</a>"/></div><div>    </images></div><div>  </item></div><div></metadata></div><div><br></div></div></div></div>