You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One year later, I would like to ask how this still can be an issue. Is there a "secret bugfix" I didn't detect yet or does no one bother that this awesome tool doesn't work anymore?
freddy@hades S7 % tvnamer
Traceback (most recent call last):
File "/usr/bin/tvnamer", line 33, in <module>
sys.exit(load_entry_point('tvnamer==3.0.4', 'console_scripts', 'tvnamer')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/tvnamer", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/usr/lib/python3.12/site-packages/tvnamer/main.py", line 18, in <module>
import tvdb_api
File "/usr/lib/python3.12/site-packages/tvdb_api.py", line 34, in <module>
from requests_cache.backends.base import _to_bytes, _DEFAULT_HEADERS
ImportError: cannot import name '_to_bytes' from 'requests_cache.backends.base' (/usr/lib/python3.12/site-packages/requests_cache/backends/base.py)
Any suggestion on how to make this work again is highly appreciated.
frank42hh
changed the title
Please reopen since still unfixed
tvdb_api 3.1 still has "ImportError: cannot import name '_to_bytes' from 'requests_cache.backends.base'" bug
May 18, 2024
I'm on a Manjaro system (22.0.0, Codename Sikaris) and installed via pacman:
So, If I understand this thread correctly,
_to_bytes
is gone in requests-cache 0.9.7 but this is fixed in tvdb_api 3.1-1.Nevertheless, I still get the same error:
And it seems that this has NOT been fixed in 3.1.0:
So, what's going wrong here? Did I miss something?
Originally posted by @frank42hh in #92 (comment)
The text was updated successfully, but these errors were encountered: