Opened 22 months ago

Closed 22 months ago

Last modified 13 months 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:

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 Changed 22 months ago by Cas

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

Workaround applied: [4b29436cd5e]

comment:2 Changed 13 months 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.