Opened 7 years ago

Closed 7 years ago

#3109 closed bug (Duplicate)

Cannot open preferences in GTK UI - KeyError: 'PreferencesManager'

Reported by: kapsh Owned by:
Priority: major Milestone: needs verified
Component: GTK UI Version: 1.3.15
Keywords: Cc:

Description

I can open Preferences window in Web UI and if disconnected from daemon but in GTK UI it won't show. The error shown is:

Unhandled error in Deferred:


Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "/usr/lib64/python2.7/site-packages/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback
    self._startRunCallbacks(result)
  File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 221, in _on_get_cache_status
    self._show()
  File "/usr/lib64/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 323, in _show
    lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
  File "/usr/lib64/python2.7/site-packages/deluge/component.py", line 427, in get
    return _ComponentRegistry.components[name]
exceptions.KeyError: 'PreferencesManager'

system: Gentoo

deluge: 1.3.15

twisted: 17.5.0

pygobject: 2.28.6

pygtk: 2.24

Attachments (1)

preferences_fail.log (17.8 KB ) - added by kapsh 7 years ago.

Download all attachments as: .zip

Change History (4)

by kapsh, 7 years ago

Attachment: preferences_fail.log added

comment:1 by Matthew Fioravante, 7 years ago

I have this same or similar issue. It only happens on FreeBSD when I try to use the gtk client to attach to deluged. I'm using the standard binaries installed from pkg.

system: FreeBSD 11.1-p1

deluge: 1.3.15

py27-gobject-2.28.6_7

py27-gtk2-2.24.0_4

Unhandled error in Deferred:


Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "/usr/local/lib/python2.7/site-packages/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 393, in callback
    self._startRunCallbacks(result)
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 221, in _on_get_cache_status
    self._show()
  File "/usr/local/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 323, in _show
    lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
  File "/usr/local/lib/python2.7/site-packages/deluge/component.py", line 427, in get
    return _ComponentRegistry.components[name]
exceptions.KeyError: 'PreferencesManager'
Version 0, edited 7 years ago by Matthew Fioravante (next)

comment:2 by Leonardo Freitas, 7 years ago

comment:3 by Calum, 7 years ago

Resolution: Duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.