[Deluge] #3582: Console-UI prints deferred-object after commands

0 views
Skip to first unread message

Deluge

unread,
Jan 19, 2023, 6:29:38 AM1/19/23
to delug...@googlegroups.com
#3582: Console-UI prints deferred-object after commands
----------------------------+------------------------
Reporter: mhertz | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: Console UI
Version: develop | Keywords:
----------------------------+------------------------
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!

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3582>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Jan 22, 2023, 5:41:05 PM1/22/23
to delug...@googlegroups.com
#3582: Console-UI prints deferred-object after commands
-------------------------+----------------------------
Reporter: mhertz | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Console UI | Version: develop
Resolution: | Keywords:
-------------------------+----------------------------

Comment (by DjLegolas):

I was sure I already added a fix for this one...

Anyway, PR: https://github.com/deluge-torrent/deluge/pull/408

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3582#comment:1>

Deluge

unread,
Jan 22, 2023, 5:52:10 PM1/22/23
to delug...@googlegroups.com
#3582: Console-UI prints deferred-object after commands
-------------------------+----------------------------
Reporter: mhertz | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: Console UI | Version: develop
Resolution: | Keywords:
-------------------------+----------------------------

Comment (by mhertz):

Appreciate you as always DjLegolas, thanks alot! :)

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3582#comment:2>

Deluge

unread,
Feb 24, 2023, 6:02:32 AM2/24/23
to delug...@googlegroups.com
#3582: Console-UI prints deferred-object after commands
-------------------------+----------------------------
Reporter: mhertz | Owner:
Type: bug | Status: closed

Priority: minor | Milestone: needs verified
Component: Console UI | Version: develop
Resolution: Fixed | Keywords:
-------------------------+----------------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed


Comment:

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.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3582#comment:3>

Deluge

unread,
Feb 24, 2023, 6:05:07 AM2/24/23
to delug...@googlegroups.com
#3582: Console-UI prints deferred-object after commands
-------------------------+---------------------

Reporter: mhertz | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 2.1.2

Component: Console UI | Version: develop
Resolution: Fixed | Keywords:
-------------------------+---------------------
Changes (by Cas):

* milestone: needs verified => 2.1.2


--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3582#comment:4>

Reply all
Reply to author
Forward
0 new messages