[Bug 263862] www/py-tvdb_api: Fails to run after www/py-requests-cache update: ImportError: cannot import name '_to_bytes' from 'requests_cache.backends.base
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Oct 2022 18:14:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263862 --- Comment #23 from huber.georg@gmail.com --- Thanks Muhammad! However now I get this error: tvnamer star.trek.strange.new.world.s01e10.mkv #################### # Starting tvnamer # Found 1 episode #################### # Processing file: star.trek.strange.new.world.s01e10.mkv # Detected series: star trek strange new world (season: 1, episode: 10) Traceback (most recent call last): File "/usr/local/bin/tvnamer", line 33, in <module> sys.exit(load_entry_point('tvnamer==3.0.4', 'console_scripts', 'tvnamer')()) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 474, in main tvnamer(paths = sorted(args)) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 370, in tvnamer processFile(tvdb_instance, episode) File "/usr/local/lib/python3.9/site-packages/tvnamer/main.py", line 175, in processFile episode.populateFromTvdb(tvdb_instance, force_name=Config['force_name'], series_id=Config['series_id']) File "/usr/local/lib/python3.9/site-packages/tvnamer/utils.py", line 641, in populateFromTvdb show = tvdb_instance[force_name or self.seriesname] File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 1152, in __getitem__ sid = self._nameToSid(key) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 1136, in _nameToSid selected_series = self._getSeries(name) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 935, in _getSeries all_series = self.search(series) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 914, in search series_resp = self._getetsrc(self.config['url_getSeries'] % (series)) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 874, in _getetsrc src = self._loadUrl(url, language=language) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 811, in _loadUrl self.authorize() File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 859, in authorize r = self.session.post( File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 635, in post return self.request("POST", url, data=data, json=json, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests_cache/session.py", line 115, in request return super().request(method, url, *args, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests_cache/session.py", line 127, in send cache_key = self.cache.create_key(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/tvdb_api.py", line 547, in create_key if self._ignored_parameters: AttributeError: 'SQLiteCache' object has no attribute '_ignored_parameters' -- You are receiving this mail because: You are on the CC list for the bug.