#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

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/048.8e0d35d02a240b9542d08ce344efa941%40deluge-torrent.org.

Reply via email to