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
* milestone: => 2.1.0
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3378#comment:1>
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>