[mythtv-commits] [MythTV/mythtv] da3f00: TV grabber ttvdb.py fails with newer versions of

rcrdnalor noreply at github.com
Sun Nov 21 21:12:54 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: da3f00653588813fc225eafa146d975b26986819
      https://github.com/MythTV/mythtv/commit/da3f00653588813fc225eafa146d975b26986819
  Author: Roland Ernst <rcrernst at gmail.com>
  Date:   2021-11-21 (Sun, 21 Nov 2021)

  Changed paths:
    M mythtv/bindings/python/MythTV/ttvdb/requests_cache_compatability.py

  Log Message:
  -----------
  TV grabber ttvdb.py fails with newer versions of

python package request-cache.

This was reported on the forum, it throws this
Error: (module 'requests_cache' has no attribute 'core')

It turned out, that the monkey patch provided by
`mythtv/bindings/python/MythTV/ttvdb/requests_cache_compatability.py`
is only valid for versions of request-cache < '0.5.0'. Newer versions
do not need this patch and versions beyond '0.8.0' crashes with above
error message.
Note: The module requests_cache.core was removed in version '0.8.0'
on Sept. 2021 and deprecated in version '0.6.0' in April, 2021.

Refs #408




More information about the mythtv-commits mailing list