#3582 closed bug (Fixed)
Console-UI prints deferred-object after commands
Reported by: | mhertz | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.1.2 |
Component: | Console UI | Version: | develop |
Keywords: | Cc: |
Description
As title, Console-UI always prints deferred object after every non-interactive command e.g.:
<Deferred at 0x7fdef49b2770 current result: None>
I narrowed culprit down to this commit: https://github.com/deluge-torrent/deluge/commit/ece31cf3cfb2ae277194f82bf35b45ea848f69c4, so started happening from release v2.10.
Meanwhile I posted on forum to just change line 16 of e.g. '/usr/lib/python3.10/site-packages/deluge/ui/console/init.py' from:
return Console().start()
To:
Console().start()
Thanks in advance!
Change History (4)
comment:1 by , 2 years ago
comment:3 by , 2 years ago
Resolution: | → Fixed |
---|---|
Status: | new → closed |
Thanks Dj, needed to modify patch with workaround so tests still run.
There is a lot more refactoring required to simplify the tests and cleanup console code.
comment:4 by , 2 years ago
Milestone: | needs verified → 2.1.2 |
---|
Note:
See TracTickets
for help on using tickets.
I was sure I already added a fix for this one...
Anyway, PR: https://github.com/deluge-torrent/deluge/pull/408