Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#3279 closed bug (Fixed)

Peer client UnicodeDecodeError

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


User reported peers not displaying for certain torrents:

 File "/usr/lib/python3.7/site-packages/deluge/core/", 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:

Change History (2)

comment:1 Changed 5 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Workaround applied: [4b29436cd5e]

comment:2 Changed 4 years ago by jools772

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.