[Deluge] #3279: Peer client UnicodeDecodeError

7 views
Skip to first unread message

Deluge

unread,
Jun 24, 2019, 11:39:24 AM6/24/19
to delug...@googlegroups.com
#3279: Peer client UnicodeDecodeError
-------------------+-------------------
Reporter: Cas | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.4
Component: Core | Version: 2.0.0
Keywords: |
-------------------+-------------------
User reported peers not displaying for certain torrents:

{{{

File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 813,
in get_peers
client = decode_bytes(peer.client)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 0:
invalid start byte
}}}

This seems to be an upsteam libtorrent issue when peer client strings are
not utf8 encoded:

https://github.com/arvidn/libtorrent/issues/3858

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3279>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Jun 25, 2019, 6:55:32 AM6/25/19
to delug...@googlegroups.com
#3279: Peer client UnicodeDecodeError
--------------------+--------------------
Reporter: Cas | Owner:
Type: bug | Status: closed

Priority: minor | Milestone: 2.0.4
Component: Core | Version: 2.0.0
Resolution: Fixed | Keywords:
--------------------+--------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

Workaround applied: [4b29436cd5e]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3279#comment:1>

Deluge

unread,
Mar 25, 2020, 12:59:22 PM3/25/20
to delug...@googlegroups.com
#3279: Peer client UnicodeDecodeError
--------------------+--------------------
Reporter: Cas | Owner:
Type: bug | Status: closed

Priority: minor | Milestone: 2.0.4
Component: Core | Version: 2.0.0
Resolution: Fixed | Keywords:
--------------------+--------------------

Comment (by jools772):

That's the micro sign, probably somebody is using utorrent. Isn't the
standard to use unicode internally?

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3279#comment:2>

Reply all
Reply to author
Forward
0 new messages