Page 1 of 1

Deluged/Debian Lenny error (1.1.9)

Posted: Mon Aug 03, 2009 10:25 am
by cascada
When trying to connect deluged server from UI, I get the following message.

Code: Select all

--Deluge Error--
NoCoreError : 'The core proxy is invalid.'
path : /connect
file : /usr/lib/pymodules/python2.5/deluge/ui/client.py in call, line 123

--Input--
<Storage {'other_uri': '', 'uri': 'http://localhost:58846', 'submit': 'Connect'}>

--Versions--
WebUi : 1.1.9r
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26) 
[GCC 4.3.2]:

--Traceback--
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/lib/webpy022/webapi.py", line 310, in wsgifunc
    result = func()
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/pages.py", line 334, in POST
    utils.daemon_connect(uri)
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/utils.py", line 211, in daemon_connect
    webui_plugin_manager.start()
  File "/usr/lib/pymodules/python2.5/deluge/ui/webui/components.py", line 151, in start
    aclient.get_enabled_plugins(self._on_get_enabled_plugins)
  File "/usr/lib/pymodules/python2.5/deluge/ui/client.py", line 377, in async_proxy
    return self.core.call(method_name, *args, **kwargs)
  File "/usr/lib/pymodules/python2.5/deluge/ui/client.py", line 124, in call
    raise deluge.error.NoCoreError("The core proxy is invalid.")
My system is specs is:
Debian Lenny 5 (Linux 2.6.18-028stab060.8-ent #1 SMP Mon Feb 9 20:49:42 MSK 2009 i686 GNU/Linux)

deluge-common 1.1.9+dfsg-1
deluge-console 1.1.9+dfsg-1
deluge-core 1.1.9+dfsg-1
deluge-webui 1.1.9+dfsg-1

All this was installed through apt-get.
It installed fine without any errors, warnings or conflicts.

Startup command was: deluged -p 58846 -c $HOME/.deluged/ -l $HOME/deluged.log -L debug
Here is a debug log of deluged: http://pastebin.ca/1516523

Any ideas?
Thanks!

Re: Deluged/Debian Lenny error (1.1.9)

Posted: Mon Aug 03, 2009 12:50 pm
by cascada
Problem resolved when starting deluged without -c option.

Re: Deluged/Debian Lenny error (1.1.9)

Posted: Mon Aug 03, 2009 4:53 pm
by cascada
Found a bug... When you try to change "Max Connections" on torrent settings it fails to update.
When viewing Ajax info sent to/received from server, found that:

Post data

{"method":"set_torrent_options","params":["6f2c2ed8227cfbe747a3c5283764265e902f6b4d",{"max_download_speed":"-1.0","stop_ratio":"2.0","max_upload_speed":"-1.0","max_upload_slots":"50","max_connections":"10"}],"id":1}

Response

{"version":"1.1","id":1,"error":{"message":"<Fault 1: \"<type 'exceptions.KeyError'>:'6'\">:","number":123,"error":"<Fault 1: \"<type 'exceptions.KeyError'>:'6'\">:"}}