[Deluge] #3378: Unhandled Traceback duing console exection

6 views
Skip to first unread message

Deluge

unread,
Apr 5, 2020, 9:39:57 PM4/5/20
to delug...@googlegroups.com
#3378: Unhandled Traceback duing console exection
-----------------------+------------------------
Reporter: digifuzzy | Type: bug
Status: new | Priority: major
Milestone: | Component: Console UI
Version: 2.0.3 | Keywords:
-----------------------+------------------------
System - Funtoo(gentoo derivative) x86_64 w/ Python 3.7.6
Deluge - 2.0.3 (git latest)

Executing deluge-console, trying to enter data in the `Add Host` dialog.
Console will abort producing traceback shown below. Examining the source
code, it appears that the `InputPopup` class doesn't have a
`current_selection` method and is the point of failure. I am unsure how to
patch this problem.

Traceback:
{{{
Unhandled error in Deferred:

Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3.7/site-packages/deluge/ui/client.py", line 408,
in __on_connect_fail
self.daemon_info_deferred.errback(reason)
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
501, in errback
self._startRunCallbacks(fail)
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
568, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib/python3.7/site-packages/twisted/internet/defer.py", line
654, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/usr/lib/python3.7/site-
packages/deluge/ui/console/modes/connectionmanager.py", line 78, in
on_host_status
self.update_select_host_popup()
File "/usr/lib/python3.7/site-
packages/deluge/ui/console/modes/connectionmanager.py", line 40, in
update_select_host_popup
selected_index = self.popup.current_selection() if self.popup else
None
builtins.AttributeError: 'InputPopup' object has no attribute
'current_selection'
}}}

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

Deluge

unread,
Mar 1, 2022, 6:24:09 AM3/1/22
to delug...@googlegroups.com
#3378: Unhandled Traceback duing console exection
-------------------------+-------------------
Reporter: digifuzzy | Owner:
Type: bug | Status: new
Priority: major | Milestone: 2.1.0

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

* milestone: => 2.1.0


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

Deluge

unread,
Mar 1, 2022, 6:24:42 AM3/1/22
to delug...@googlegroups.com
#3378: Unhandled Traceback duing console exection
-------------------------+-------------------
Reporter: digifuzzy | Owner:
Type: bug | Status: new
Priority: major | Milestone: 2.1.0

Component: Console UI | Version: 2.0.3
Resolution: | Keywords:
-------------------------+-------------------

Comment (by Cas):

This might be fixed with a recent console commit but need to double-check

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

Reply all
Reply to author
Forward
0 new messages