Page 1 of 1

Peers failing to display

Posted: Sun Jun 23, 2019 12:34 pm
by ForeignerinPhils
Using v2.03 Thin Client on Linux Mint. v2.03 daemon on ArchLinux docker.
The torrent upload speed is being displayed as 1+Mb/s, and Status tab showing around 30 peers.
However, the Peers tab is not displaying any peers.
One other torrent is showing similar symptoms, but with lower numbers. Other torrents are showing a list of peers.

Is this a known problem/limitation?

Re: Peers failing to display

Posted: Mon Jun 24, 2019 2:45 pm
by Cas
Can you provide logs or any errors?

I suspect it's a unicodedecode error as reported by another user but have been unable to replicate so far

Re: Peers failing to display

Posted: Fri Jun 28, 2019 10:41 am
by ForeignerinPhils
I didn't see any errors on the server side at that time, but didn't look on the client.

However, I have seen a UnicodeDecodeError on the server a couple of days later:

Code: Select all

2019-06-26 09:11:29,128 DEBG 'watchdog-script' stderr output:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/deluge/core/daemon_entry.py", line 122, in run_daemon
daemon.start()
File "/usr/lib/python3.7/site-packages/deluge/core/daemon.py", line 164, in start
reactor.run()
File "/usr/lib/python3.7/site-packages/twisted/internet/base.py", line 1272, in run
self.mainLoop()
File "/usr/lib/python3.7/site-packages/twisted/internet/base.py", line 1281, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python3.7/site-packages/twisted/internet/base.py", line 902, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python3.7/site-packages/deluge/core/torrentmanager.py", line 1666, in handle_torrents_status_callback
torrent_keys, diff, all_keys=not keys
File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 1003, in get_status
status_dict[key] = self.status_funcs[key]()
File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 813, in get_peers
client = decode_bytes(peer.client)
builtins.UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd2 in position 12: invalid continuation byte
get_status -> get_peers sounds like it might be the same problem.

Re: Peers failing to display

Posted: Fri Jun 28, 2019 4:46 pm
by Cas