Opened 4 years ago

Last modified 5 weeks ago

#3378 new bug

Unhandled Traceback duing console exection

Reported by: digifuzzy Owned by:
Priority: major Milestone: 2.1.1
Component: Console UI Version: 2.0.3
Keywords: Cc:


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.


Unhandled error in Deferred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/twisted/internet/", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.7/site-packages/deluge/ui/", line 408, in __on_connect_fail
  File "/usr/lib/python3.7/site-packages/twisted/internet/", line 501, in errback
  File "/usr/lib/python3.7/site-packages/twisted/internet/", line 568, in _startRunCallbacks
--- <exception caught here> ---
  File "/usr/lib/python3.7/site-packages/twisted/internet/", line 654, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3.7/site-packages/deluge/ui/console/modes/", line 78, in on_host_status
  File "/usr/lib/python3.7/site-packages/deluge/ui/console/modes/", 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'

Change History (4)

comment:1 Changed 2 years ago by Cas

  • Milestone set to 2.1.0

comment:2 Changed 2 years ago by Cas

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

comment:3 Changed 23 months ago by Cas

  • Milestone changed from 2.1.0 to 2.1.1

Ticket retargeted after milestone closed

comment:4 Changed 5 weeks ago by DjLegolas

In change [66b5a2fc] a validation for self.popup type was added.
This ticket can be closed.

Note: See TracTickets for help on using tickets.