[Python-modules-team] Bug#913205: python-urllib3: mythtv ttvdb.py fails with latest python-urllib3

James Bottomley James.Bottomley at HansenPartnership.com
Thu Nov 8 01:44:01 GMT 2018


Package: python-urllib3
Version: 1.24-1
Severity: important

Mythtv version 29.1+fixes20180821.gite5fc66e822-dmo2 is failing with

mythtv at vito:~$ /usr/share/mythtv/metadata/Television/ttvdb.py -B Superstore
Traceback (most recent call last):
  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2578, in <module>
    sys.exit(main())
  File "/usr/share/mythtv/metadata/Television/ttvdb.py", line 2278, in main
    userkey=tvdb_account.account_identifier)
  File "/usr/lib/python2.7/dist-packages/MythTV/ttvdb/tvdb_api.py", line 693, in __init__
    self.session.remove_expired_responses()
  File "/usr/lib/python2.7/dist-packages/requests_cache/core.py", line 159, in remove_expired_responses
    self.cache.remove_old_entries(datetime.utcnow() - self._cache_expire_after)
  File "/usr/lib/python2.7/dist-packages/requests_cache/backends/base.py", line 110, in remove_old_entries
    response, created_at = self.responses[key]
  File "/usr/lib/python2.7/dist-packages/requests_cache/backends/storage/dbdict.py", line 163, in __getitem__
    return pickle.loads(bytes(super(DbPickleDict, self).__getitem__(key)))
ImportError: No module named ordered_dict

Meaning that mythtv can no longer pick up programme information from thetvdb.org

Falling back to version 1.22-1 makes everything work again.

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-urllib3 depends on:
ii  python      2.7.15-3
ii  python-six  1.11.0-2

Versions of packages python-urllib3 recommends:
ii  ca-certificates      20170717
ii  python-cryptography  2.3-1
ii  python-idna          2.6-1
ii  python-ipaddress     1.0.17-1
ii  python-openssl       18.0.0-1

Versions of packages python-urllib3 suggests:
pn  python-ntlm   <none>
pn  python-socks  <none>

-- no debconf information



More information about the Python-modules-team mailing list