-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on Arch Linux #302
Comments
`============================== CRASH REPORT BEGIN ============================== --------------------------------- environment ----------------------------------
--------------------------------- stack trace ---------------------------------- Traceback (most recent call last): =============================== CRASH REPORT END ===============================` Same for this system.....fix found: changing all instances of "session._disabled" to "session.settings.disabled" in /usr/lib/python3.13/site-packages/mnamer/utils.py got it running again. Likely a change in the python-requests-cache library. |
Hey, AUR pkg maintainer here. I just patched this in a new release. Hope @jkwill87 sees this and adds the patch to |
============================== CRASH REPORT BEGIN ==============================
--------------------------------- environment ----------------------------------
--------------------------------- stack trace ----------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/mnamer/main.py", line 23, in main
frontend.launch()
File "/usr/lib/python3.12/site-packages/mnamer/frontends.py", line 81, in launch
self._process_targets()
File "/usr/lib/python3.12/site-packages/mnamer/frontends.py", line 98, in _process_targets
matches = target.query()
^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mnamer/target.py", line 232, in query
for idx, result in enumerate(results, start=1):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mnamer/providers.py", line 368, in search
yield from self._search_with_season_and_episode(
File "/usr/lib/python3.12/site-packages/mnamer/providers.py", line 433, in _search_with_season_and_episode
series_data = tvmaze_show_search(series)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mnamer/endpoints.py", line 435, in tvmaze_show_search
status, content = request_json(url, parameters, cache=cache)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mnamer/utils.py", line 259, in request_json
initial_cache_state = session._disabled # yes, i'm a bad person
^^^^^^^^^^^^^^^^^
AttributeError: 'CachedSession' object has no attribute '_disabled'
=============================== CRASH REPORT END ===============================
The text was updated successfully, but these errors were encountered: