Deluge error logging generates errors itself
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
deluge (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ dpkg -l deluge-gtk
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii deluge-gtk 2.0.3-3.1 all bittorrent client written in Python/PyGTK (GTK+ ui)
When I try to download a torrent, the listening port "works" and there is a small flurry of activity at the start, but "error" is shown in red on the bottom and although peers/seeds are shown, no data seems to arrive.
There is no obvious way to find out what the error is! None of the in program screens display any helpful indication about what is being complained about.
If I start it with
$ deluge-gtk -L info -l ~/deluge.log
.. then I get this on the command line:
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/
self.state = load_pickled_
File "/usr/lib/
log.
File "/usr/lib/
return _cancellableInl
File "/usr/lib/
_inlineCall
--- <exception caught here> ---
File "/usr/lib/
result = current_
File "/usr/lib/
yield LoggingLoggerCl
File "/usr/lib/
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/
fn, lno, func, sinfo = self.findCaller
builtins.TypeError: Logging.
Temporarily disabling observer LegacyLogObserv
<frozen importlib.
/usr/lib/
/usr/lib/
/usr/lib/
--- <exception caught here> ---
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
]
Traceback (most recent call last):
File "<frozen importlib.
File "/usr/lib/
log.
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
observer(event)
File "/usr/lib/
self.
File "/usr/lib/
getattr(
File "/usr/lib/
self.
File "/usr/lib/
fn, lno, func, sinfo = self.findCaller
builtins.TypeError: Logging.
Unhandled error in Deferred:
Traceback (most recent call last):
File "/usr/lib/
self.state = load_pickled_
File "/usr/lib/
log.
File "/usr/lib/
return _cancellableInl
File "/usr/lib/
_inlineCall
--- <exception caught here> ---
File "/usr/lib/
result = current_
File "/usr/lib/
yield LoggingLoggerCl
File "/usr/lib/
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/
fn, lno, func, sinfo = self.findCaller
builtins.TypeError: Logging.
Temporarily disabling observer LegacyLogObserv
<frozen importlib.
/usr/lib/
/usr/lib/
/usr/lib/
--- <exception caught here> ---
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
]
Traceback (most recent call last):
File "<frozen importlib.
File "/usr/lib/
log.
File "/usr/lib/
self.
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
observer(event)
File "/usr/lib/
self.
File "/usr/lib/
getattr(
File "/usr/lib/
self.
File "/usr/lib/
fn, lno, func, sinfo = self.findCaller
builtins.TypeError: Logging.
.. repeat ad infinitum with the top line of each traceback varying.
In deluge.log is:
19:22:50 [INFO ][deluge.ui.ui:70 ] Deluge ui 2.0.3
19:22:50 [INFO ][deluge.ui.ui:72 ] Starting gtk ui..
19:22:51 [INFO ][deluge.i18n.util :102 ] Setting up translations from /usr/lib/
19:22:51 [INFO ][twisted :147 ] Factory starting on '/home/
19:22:51 [INFO ][twisted :147 ] Starting factory <twisted.
19:22:51 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
[repeated a hundred or so times]
19:24:47 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:24:48 [INFO ][twisted :147 ] Starting factory _HTTP11ClientFa
19:24:48 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:24:48 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:24:49 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:24:49 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:24:49 [INFO ][twisted :147 ] Stopping factory _HTTP11ClientFa
19:24:51 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
[repeated a hundred or so times]
19:26:34 [CRITICAL][twisted :147 ] Unhandled error in Deferred:
19:26:34 [INFO ][twisted :147 ] (UNIX Port /home/ian/
19:26:34 [INFO ][twisted :147 ] Stopping factory <twisted.
The end was probably down to me doing ^C to end the program.
None of that helps me with what the program thinks the error is, and in generating it, it's generated more errors: if I run deluge-gtk without the logging enabled, no errors are shown on the command line. I still see red 'error' in the program.
Ubuntu 22.04, AMD64, Python 3.10.6
Status changed to 'Confirmed' because the bug affects multiple users.