You are not logged in.

#1 2014-01-03 20:36:03

phil
Member
Registered: 2012-09-22
Posts: 72

[SOLVED]Deluge thin client - Preferences dialog

Hello,

I use deluge to control deluged on my seedbox.
I cannot open the preferences window. Neither strg+p nor navigating using the menu works.

If I use a local profile. It works without problems.
Debugging deluge shows me:

  "glade/main_window.glade"))
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/twisted/protocols/policies.py", line 120, in dataReceived
    self.wrappedProtocol.dataReceived(data)
  File "/usr/lib/python2.7/site-packages/deluge/ui/client.py", line 179, in dataReceived
    d.callback(request[2])
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 382, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 490, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 577, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 216, in _on_get_cache_status
    self._show()
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 250, in _show
    "spin_port_min": ("value", self.core_config["listen_ports"][0]),
exceptions.IndexError: tuple index out of range

I saw that twisted could be the problem.

pacman -Qi twisted 
Name           : twisted
Version        : 13.2.0-1
Description    : Asynchronous networking framework written in Python
Architecture   : x86_64
URL            : http://twistedmatrix.com/
Licenses       : MIT
Groups         : None
Provides       : None
Depends On     : python2-crypto  python2-zope-interface
Optional Deps  : python2-pyopenssl [installed]
                 python2-soappy: for twisted.web.soap [installed]
                 python2-pyasn1: for using conch
                 pygtk: for using manhole [installed]
                 tk: for using tkconch [installed]
Required By    : deluge  python2-foolscap
Optional For   : avahi
Conflicts With : None
Replaces       : None
Installed Size : 35446.00 KiB
Packager       : Eric Belanger <eric@archlinux.org>
Build Date     : Mon Nov 11 22:02:46 2013
Install Date   : Fri Jan 3 21:24:16 2014
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By   : Signature

I tried downgrading to twisted 13.1 and 13.0, both did not work.
System is up-to-date and it is a x86_64 system.

Any help is appreciated!
Thanks!

Last edited by phil (2014-02-03 08:40:14)

Offline

#2 2014-02-03 08:01:07

bkkcanuck
Member
Registered: 2014-02-03
Posts: 1

Re: [SOLVED]Deluge thin client - Preferences dialog

For the Deluge Thin client (1.3.6) on "OS X" (maybe others), there is a bug that is sensitive to the arrays for listen_ports being an empty set.  Basically it blows up (no logging typically - unless set to debug) and does not show the preferences pane when selected.  The ports are not necessary to have filled in if they are set to random, but some clients (at least mine) had problems with not testing the arraysize firs.  I stopped this behaviour by editing the core.conf file on the (config directory) server from:

"listen_ports": [],

to

"listen_ports": [
   0,   
   0
],

and from (for consistency)
"outgoing_ports": [],

to
"outgoing_ports": [
   0,
   0
],

Which solved this problem.  The problem is fixed and no action needs to be done now but sending this information for reference if others had/have this problem.

Offline

#3 2014-02-03 08:39:52

phil
Member
Registered: 2012-09-22
Posts: 72

Re: [SOLVED]Deluge thin client - Preferences dialog

Amazing. That actually worked!

Thanks a lot!!!

Offline

Board footer

Powered by FluxBB