[GH-ISSUE #404] Startup error #319

Open
opened 2026-10-13 19:55:31 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @wolfram0108 on GitHub (Jan 14, 2024).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/404

When running on Ubuntu 22.04 python server.py

Traceback (most recent call last): File "/root/monitorrent/server.py", line 19, in <module> from monitorrent.rest.challenge_logs import ChallengeLogs File "/root/monitorrent/monitorrent/rest/__init__.py", line 6, in <module> import falcon File "/usr/local/lib/python3.10/dist-packages/falcon/__init__.py", line 30, in <module> from falcon.api import API # NOQA File "/usr/local/lib/python3.10/dist-packages/falcon/api.py", line 21, in <module> from falcon import api_helpers as helpers, DEFAULT_MEDIA_TYPE, routing File "/usr/local/lib/python3.10/dist-packages/falcon/api_helpers.py", line 21, in <module> from falcon import util File "/usr/local/lib/python3.10/dist-packages/falcon/util/__init__.py", line 29, in <module> from falcon.util import structures File "/usr/local/lib/python3.10/dist-packages/falcon/util/structures.py", line 35, in <module> class CaseInsensitiveDict(collections.MutableMapping): # pragma: no cover AttributeError: module 'collections' has no attribute 'MutableMapping'

Originally created by @wolfram0108 on GitHub (Jan 14, 2024). Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/404 When running on Ubuntu 22.04 python server.py `Traceback (most recent call last): File "/root/monitorrent/server.py", line 19, in <module> from monitorrent.rest.challenge_logs import ChallengeLogs File "/root/monitorrent/monitorrent/rest/__init__.py", line 6, in <module> import falcon File "/usr/local/lib/python3.10/dist-packages/falcon/__init__.py", line 30, in <module> from falcon.api import API # NOQA File "/usr/local/lib/python3.10/dist-packages/falcon/api.py", line 21, in <module> from falcon import api_helpers as helpers, DEFAULT_MEDIA_TYPE, routing File "/usr/local/lib/python3.10/dist-packages/falcon/api_helpers.py", line 21, in <module> from falcon import util File "/usr/local/lib/python3.10/dist-packages/falcon/util/__init__.py", line 29, in <module> from falcon.util import structures File "/usr/local/lib/python3.10/dist-packages/falcon/util/structures.py", line 35, in <module> class CaseInsensitiveDict(collections.MutableMapping): # pragma: no cover AttributeError: module 'collections' has no attribute 'MutableMapping'`
Author
Owner

@LynxAS commented on GitHub (Jun 10, 2024):

Ubuntu 22.04.4 LTS
'MutableMapping' moved to another package in Python 3.10
I faced the same problem. Solved it by installing Python 3.9 (via deadsnakes repo) and created venv for monitorrent using Python 3.9. Looks like works fine.

<!-- gh-comment-id:2158381064 --> @LynxAS commented on GitHub (Jun 10, 2024): Ubuntu 22.04.4 LTS 'MutableMapping' moved to another package in Python 3.10 I faced the same problem. Solved it by installing Python 3.9 (via deadsnakes repo) and created venv for monitorrent using Python 3.9. Looks like works fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
werwolfby/monitorrent#319
No description provided.