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

Daniele Tricoli eriol at mornie.org
Thu Nov 8 21:10:17 GMT 2018


Thanks for your report!
Unfortunately package from deb-multimedia.org are not official, so you
should ask to deb-multimedia.org maintainers as reported in their FAQ

    https://www.deb-multimedia.org/faq#q5

On 11/8/18 2:44 AM, James Bottomley wrote:
> 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.

Befor reporting a bug to deb-multimedia maintainers you should try to
clean the cache: the only thing that came in my mind related to
ordered_dict module is that urllib3 dropped Python2.6 support, and
urllib3.packages.ordered_dict module was removed:

https://github.com/urllib3/urllib3/commit/cb2159878f8b47c5b4bc6d159ae2857b85c0a197

but in the traceback there is a pickle.loads() invocation.

Hope this help!

Regards!

P.S. this is not a Debian bug, but I will wait your reply for a few days
before closing it.

-- 
 Daniele Tricoli 'eriol'
 https://mornie.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20181108/eaa1ebd7/attachment-0001.sig>


More information about the Python-modules-team mailing list