Greetings,
On Mon, 2018-10-29 at 15:54 +0100, Christian Marillat wrote:
> On 29 oct. 2018 23:54, Nikolai Lusan <nikolai@???> wrote:
> I'm running mythtv version 29.1+fixes20180821.gite5fc66e822-dmo2 and I
> > have
> > noticed that ttvdb.py has stopped working in the last week. Not only
> > that,
> > but since the IMDB api calls are still working some of my TV programs
> > are
> > being tagged with the wrong metadata. Is there a known issue with
> > thetvdb.com API? or is something wrong with ttvdb.py?
>
> Works for me with mythtv 29.1+fixes20181029.git55a44b537a-dmo1
Odd thing is that it was working up until late last week.
> Any error message when launched from the command line like this ?
>
> /usr/share/mythtv/metadata/Television/ttvdb.py -l en -M foo
mythtv@kiev:/srv/video/TV/Supergirl/Season 04$ /usr/share/mythtv/metadata/Television/ttvdb.py -l en -M Supergirl
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 2254, 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
I tried installing the ordereddict module from pip (it seems the Debian
python-ordereddict package has gone away), I also tried adding extra python
packages that showed up with an 'apt-cache search ordereddict' nothing
seems to be bringing in the correct python module.
Also I forgot to mention I running Debian Sid.
- --
Nikolai Lusan <nikolai@???>