Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3279 closed bug (Fixed)

Peer client UnicodeDecodeError

Reported by: Calum Owned by:
Priority: minor Milestone: 2.0.4
Component: Core Version: 2.0.0
Keywords: Cc:

Description

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

Change History (2)

comment:1 by Calum, 5 years ago

Resolution: Fixed
Status: newclosed

Workaround applied: [4b29436cd5e]

comment:2 by jools772, 5 years ago

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

Note: See TracTickets for help on using tickets.