Downgraded two packages and it's behaving differently now:
$ sudo apt install python-urllib3=1.19.1-1 python-requests=2.12.4-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
python-certifi
Use 'sudo apt autoremove' to remove it.
Suggested packages:
python-socks python-ntlm
The following packages will be DOWNGRADED:
python-requests python-urllib3
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 74 not upgraded.
Need to get 178 kB of archives.
After this operation, 202 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1
http://packages.roundr.devuan.org/merged stable/main amd64 python-requests all 2.12.4-1 [101 kB]
Get:2
http://packages.roundr.devuan.org/merged stable/main amd64 python-urllib3 all 1.19.1-1 [77.5 kB]
Fetched 178 kB in 1s (132 kB/s)
dpkg: warning: downgrading python-requests from 2.21.0-1 to 2.12.4-1
(Reading database ... 155737 files and directories currently installed.)
Preparing to unpack .../python-requests_2.12.4-1_all.deb ...
Unpacking python-requests (2.12.4-1) over (2.21.0-1) ...
dpkg: warning: downgrading python-urllib3 from 1.24.1-1 to 1.19.1-1
Preparing to unpack .../python-urllib3_1.19.1-1_all.deb ...
Unpacking python-urllib3 (1.19.1-1) over (1.24.1-1) ...
Setting up python-urllib3 (1.19.1-1) ...
Setting up python-requests (2.12.4-1) ...
$ /usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N 270091 "Teenage Wasteland"
Traceback (most recent call last):
File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2674, in <module>
sys.exit(main())
File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2481, in main
seriesfound=searchseries(t, opts, x)
File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 1529, in searchseries
series_data = search_for_series(t, series_name, opts.language)
File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 1513, in search_for_series
return tvdb.series_by_sid(sid_or_name, language)
File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 1485, in series_by_sid
self._getShowData(sid, language=language)
File "/usr/lib/python2.7/dist-packages/MythTV/ttvdb/tvdb_api.py", line 1054, in _getShowData
for curInfo in seriesInfoEt.keys():
AttributeError: 'NoneType' object has no attribute 'keys'
Searching for something else to downgrade.