<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 December 2017 at 23:02, Richard Shaw <span dir="ltr"><<a href="mailto:hobbes1069@gmail.com" target="_blank">hobbes1069@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>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><wbr>></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="m_-6238612362957721743m_-1334704811029749429gmail-"><div class="gmail_extra"><div class="gmail_quote">[temp@severus ~]$ /usr/share/mythtv/metadata/Tel<wbr>evision/ttvdb.py -l en -a GB -C 221630<br></div></div></span><div class="gmail_extra"><div><div>/usr/lib/python2.7/site-packag<wbr>es/requests/packages/urllib3/c<wbr>onnectionpool.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.io<wbr>/en/latest/advanced-usage.html<wbr>#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>/usr/lib/python2.7/site-packag<wbr>es/requests/packages/urllib3/c<wbr>onnectionpool.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.io<wbr>/en/latest/advanced-usage.html<wbr>#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>! Error: 'NoneType' object has no attribute 'keys'</div><span class="m_-6238612362957721743m_-1334704811029749429gmail-"><div>Traceback (most recent call last):</div><div>  File "/usr/share/mythtv/metadata/Te<wbr>levision/ttvdb.py", line 2464, in <module></div><div>    sys.exit(main())</div></span><div>  File "/usr/share/mythtv/metadata/Te<wbr>levision/ttvdb.py", line 2257, in main</div><div>    t._getShowData(series_season_e<wbr>p[0], opts.language)</div><div>  File "/usr/lib/python2.7/site-packa<wbr>ges/MythTV/ttvdb/tvdb_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></span><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" target="_blank">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></div></div></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for the pointer, Richard.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I suspect that the earlier issues ended up with a garbage series ID in the metadata.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Reset the details in MythFE and fetched again, and it now works correctly.</div></div>