Basically, I have my own ui pulling data from deluge and after few minutes of running it crashes with following:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/dlh/git/tdpt/tdpt/__main__.py", line 109, in handle_torrent
message.update()
File "/home/dlh/git/tdpt/tdpt/__main__.py", line 64, in update
self.torrent.update()
File "/home/dlh/git/tdpt/tdpt/backends/deluge.py", line 36, in update
self.torrent = self.client.core.get_torrent_status(h, self.PROPERTIES)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 290, in __call__
return self.caller(self.method, *args, **kwargs)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 253, in call
return self._receive_response(self.deluge_version, self.deluge_protocol_version)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 189, in _receive_response
raise InvalidHeaderException(
deluge_client.client.InvalidHeaderException: Expected protocol version (1) as first byte in reply
Traceback (most recent call last):
File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/dlh/git/tdpt/tdpt/__main__.py", line 168, in <module>
main()
File "/home/dlh/git/tdpt/tdpt/__main__.py", line 156, in main
for torrent in client.get_torrents():
File "/home/dlh/git/tdpt/tdpt/backends/deluge.py", line 18, in get_torrents
yield from map(lambda torrent: Torrent(torrent, self.client),
File "/home/dlh/git/tdpt/tdpt/backends/deluge.py", line 18, in <lambda>
yield from map(lambda torrent: Torrent(torrent, self.client),
File "/home/dlh/git/tdpt/tdpt/backends/deluge.py", line 29, in __init__
self.update(torrent_hash)
File "/home/dlh/git/tdpt/tdpt/backends/deluge.py", line 36, in update
self.torrent = self.client.core.get_torrent_status(h, self.PROPERTIES)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 290, in __call__
return self.caller(self.method, *args, **kwargs)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 253, in call
return self._receive_response(self.deluge_version, self.deluge_protocol_version)
File "/home/dlh/git/tdpt/lib/python3.9/site-packages/deluge_client/client.py", line 189, in _receive_response
raise InvalidHeaderException(
deluge_client.client.InvalidHeaderException: Expected protocol version (1) as first byte in reply
Basically, I have my own ui pulling data from deluge and after few minutes of running it crashes with following: