mirror of
https://github.com/werwolfby/monitorrent.git
synced 2026-10-14 21:39:03 +00:00
[GH-ISSUE #404] Startup error #319
Labels
No labels
bug
docs
duplicate
enhancement
Epic
feature
feature
future
help wanted
in progress
need more info
plugin
proxy
pull-request
python 2
python 3
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
werwolfby/monitorrent#319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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'@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.