mirror of
https://github.com/werwolfby/monitorrent.git
synced 2026-10-15 05:52:15 +00:00
[GH-ISSUE #261] AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",) #199
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#199
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 @ghost on GitHub (May 29, 2018).
Original GitHub issue: https://github.com/werwolfby/monitorrent/issues/261
Windows 10, Python 3.5.2
Manual Install
https://github.com/werwolfby/monitorrent/releases/download/1.1.6/monitorrent-1.1.6.zip
pip install -r requirements.txt
python server.py
When I try to open
http://localhost:6687
I got the following:
f:\monitorent>python server.py
F:\Python35\lib\site-packages\alembic\util\messaging.py:69: UserWarning: 'connection' argument to configure() is expected to be a sqlalchemy.engine.Connection instance, got <sqlalchemy.orm.session.ContextSession object at 0x000001D2048530B8>
warnings.warn(msg)
Server started on 0.0.0.0:6687
AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",)
Traceback (most recent call last):
File "F:\Python35\lib\site-packages\cheroot\server.py", line 1183, in communicate
req.parse_request()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 663, in parse_request
success = self.read_request_line()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in read_request_line
for x in QUOTED_SLASH_REGEX.split(path)
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in
for x in QUOTED_SLASH_REGEX.split(path)
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'
AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",)
Traceback (most recent call last):
File "F:\Python35\lib\site-packages\cheroot\server.py", line 1183, in communicate
req.parse_request()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 663, in parse_request
success = self.read_request_line()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in read_request_line
for x in QUOTED_SLASH_REGEX.split(path)
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in
for x in QUOTED_SLASH_REGEX.split(path)
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'
AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",)
Traceback (most recent call last):
File "F:\Python35\lib\site-packages\cheroot\server.py", line 1183, in communicate
req.parse_request()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 663, in parse_request
success = self.read_request_line()
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in read_request_line
for x in QUOTED_SLASH_REGEX.split(path)
File "F:\Python35\lib\site-packages\cheroot\server.py", line 862, in
for x in QUOTED_SLASH_REGEX.split(path)
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'
Stopping engine
Stopping new_version_checker
Server stopped
@ibnlukum commented on GitHub (Apr 30, 2019):
Наблюдаю подобную ошибку в Ubuntu 16.04.
/opt/monitorrent# /usr/local/lib/python3.5/dist-packages/alembic/util/messaging.py:73: UserWarning: 'connection' argument to configure() is expected to be a sqlalchemy.engine.Connection instance, got <sqlalchemy.orm.session.ContextSession object at 0x7ff7a5f8c128>
warnings.warn(msg)
Server started on 0.0.0.0:6687
AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",)
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 1242, in communicate
req.parse_request()
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 712, in parse_request
success = self.read_request_line()
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 912, in read_request_line
for x in QUOTED_SLASH_REGEX.split(path)
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 912, in
for x in QUOTED_SLASH_REGEX.split(path)
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'
AttributeError("module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'",)
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 1242, in communicate
req.parse_request()
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 712, in parse_request
success = self.read_request_line()
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 912, in read_request_line
for x in QUOTED_SLASH_REGEX.split(path)
File "/usr/local/lib/python3.5/dist-packages/cheroot/server.py", line 912, in
for x in QUOTED_SLASH_REGEX.split(path)
AttributeError: module 'six.moves.urllib_parse' has no attribute 'unquote_to_bytes'