<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 December 2017 at 01:58, Peter Bennett <span dir="ltr"><<a href="mailto:pb.mythtv@gmail.com" target="_blank">pb.mythtv@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div><div class="gmail-h5"><div class="gmail-m_-3982768554181350663moz-cite-prefix"> <br></div></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><div><div class="gmail-h5"><div class="gmail-m_-3982768554181350663moz-cite-prefix">There was a change in October with some new dependencies. Perhaps
    you have an outdated version of a dependency. See article below. It
    has a Troubleshooting section.</div></div></div>
    <br>
    <a class="gmail-m_-3982768554181350663moz-txt-link-freetext" href="https://www.mythtv.org/wiki/TheTVDB_API_v2" target="_blank">https://www.mythtv.org/wiki/<wbr>TheTVDB_API_v2</a></div></blockquote></div><br></div><div class="gmail_extra">Thanks Peter<div><br></div><div>I'd seen that article in the past, and read it at the time, but my conclusion was that I was ok. Looks like that isn't the case after all:</div><div><br></div><div><div>[mike@hagrid]$ pip list|egrep "future|requests|urllib3"</div><div>future (0.16.0)</div><div>requests (2.10.0)</div><div>requests-cache (0.4.6)</div><div>urllib3 (1.15.1)</div></div><div><br></div><div>requests-cache is too early a version, but seems to be the latest version available in fedora fc25. This is something I can look at elsewhere, the box is due an upgrade anyway.</div><div><br></div><div>On fc26 however, the correct versions look to be installed:</div><div><br></div><div><div>[temp@severus ~]$ pip list|egrep "future|requests|urllib3"</div><div>future (0.16.0)<br></div><div>requests (2.13.0)</div><div>requests-cache (0.4.13)</div><div>urllib3 (1.20)</div></div><div><br></div><div>The link required at least the following versions:</div><div><br></div><div>future 0.15.2</div><div>requests 2.9.1</div><div>requests-cache 0.4.10</div><div>urllib3 1.13.1<br></div><div><br></div><div>The issue exists on this machine as well, even though the minimum versions of those packages are installed.</div><div><br></div><div>After upgrading the package on fc25 using pip, I now get the following error. Checking back, this error was the one being reported on fc26 earlier, so it was 2 different issues initially, but now the same issue on both boxes:</div><div><br></div><div><div>[temp@severus ~]$ /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a GB -C 221630</div><div>/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: <a href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings">https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>/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: <a href="https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings">https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings</a></div><div>  InsecureRequestWarning)</div><div>! Error: 'NoneType' object has no attribute 'keys'</div><div>Traceback (most recent call last):</div><div>  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2464, in <module></div><div>    sys.exit(main())</div><div>  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2257, in main</div><div>    t._getShowData(series_season_ep[0], opts.language)</div><div>  File "/usr/lib/python2.7/site-packages/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><br></div><div>I guess the InsecureRequestWarning can be ignored for now, but maybe some work required there? Not sure at this stage whether that's something I need to fix here, but will look into it</div><div><br></div><div>However the attribute error looks like something that needs to be looked at in the code.</div></div></div>