[mythtv-users] TheTVdb lookups failing since v29 upgrade

Mike Holden mikeholden99+mythtv at gmail.com
Sun Dec 10 12:22:14 UTC 2017


On 10 December 2017 at 23:02, Richard Shaw <hobbes1069 at gmail.com> wrote:

> On Sat, Dec 9, 2017 at 5:57 PM, Mike Holden <mikeholden99+mythtv at gmail.com
> > wrote:
>
>> [temp at severus ~]$ /usr/share/mythtv/metadata/Television/ttvdb.py -l en
>> -a GB -C 221630
>> /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852:
>> InsecureRequestWarning: Unverified HTTPS request is being made. Adding
>> certificate verification is strongly advised. See:
>> https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>>   InsecureRequestWarning)
>> ! Error: 'NoneType' object has no attribute 'keys'
>> Traceback (most recent call last):
>>   File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2464, in
>> <module>
>>     sys.exit(main())
>>   File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2257, in
>> main
>>     t._getShowData(series_season_ep[0], opts.language)
>>   File "/usr/lib/python2.7/site-packages/MythTV/ttvdb/tvdb_api.py", line
>> 1054, in _getShowData
>>     for curInfo in seriesInfoEt.keys():
>> AttributeError: 'NoneType' object has no attribute 'keys'
>>
>
> 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 thetvdb.com and tried it everything
> worked[1] on my F26 system.
>
> 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.
>

Thanks for the pointer, Richard.

I suspect that the earlier issues ended up with a garbage series ID in the
metadata.

Reset the details in MythFE and fetched again, and it now works correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171210/a125d138/attachment.html>


More information about the mythtv-users mailing list