Date: Sun, 08 May 2022 10:15:17 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 263862] after updating to python3.8.13 error with tvdb_api Message-ID: <bug-263862-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263862 Bug ID: 263862 Summary: after updating to python3.8.13 error with tvdb_api Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: huber.georg@gmail.com Hi, I recently upgraded from python3.8.12 to 3.8.13. Now, when I use tvnamer (which uses tvdb_api) I get the following error: #tvnamer . Traceback (most recent call last): File "/usr/local/bin/tvnamer", line 33, in <module> sys.exit(load_entry_point('tvnamer=3D=3D3.0.4', 'console_scripts', 'tvnamer')()) File "/usr/local/bin/tvnamer", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load module =3D import_module(match.group('module')) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 843, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_remo= ved File "/usr/local/lib/python3.8/site-packages/tvnamer/main.py", line 18, in <module> import tvdb_api File "/usr/local/lib/python3.8/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.b= ase' (/usr/local/lib/python3.8/site-packages/requests_cache/backends/base.py) I asked over at github, where tvnamer is maintained and was told that it is= not an error in tvnamer but with tvdb_api, which might have been fixed in Septe= mber 2021 (https://github.com/dbr/tvdb_api/commit/f8db8e91377b30a6da078a43467ebf2f3b3= 8227e). The tvdb_api port available on freshports was not updated since May 2021 though. Unfortunately I am not a coder myself, so I cannot apply the patch myself. = Is there a way you can fix this? Many thanks Georg --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263862-7788>