Can't log in with web UI

General support for problems installing or using Deluge
Post Reply
tommodmc

Can't log in with web UI

Post by tommodmc »

I have Ubuntu 8.04 installed on my EEE PC 900.

I installed Deluge through synaptic (help > about says 0.5.8.9). Added torrents to seed, enabled web UI, went to http://localhost:8112/ and it won't let me log in with the default password of deluge.

Any attempted password, from any computer on the network (localhost or IP:8112), results in an error screen with this traceback:

Code: Select all

--Deluge Error--
TypeError : update() argument 1 must be string or read-only buffer, not None
path : /login
file : /usr/share/deluge/plugins/WebUi/webserver_framework.py in check_pwd, line 187

--Input--
<Storage {'pwd': 'deluge', 'redir': '', 'submit': 'Submit'}>

--Versions--
WebUi : rev.172
Python : 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]
dbus:0.82.4

--Traceback--
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/webapi.py", line 304, in wsgifunc
    result = func()
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 131, in <lambda>
    func = lambda: handle(inp, fvars)
  File "/usr/share/deluge/plugins/WebUi/lib/webpy022/request.py", line 61, in handle
    return tocall(*([x and urllib.unquote(x) for x in args] + fna))
  File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 86, in POST
    if check_pwd(vars.pwd):
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 188, in check_pwd
    m.update(ws.config.get('pwd_salt'))
My interface is fluxbox but I doubt it's that. Any help would be much appreciated.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Can't log in with web UI

Post by johnnyg »

in 0.5.8.9, you choose your default password in the webui preferences.
the default password of deluge if for 1.0 (where you can only change the password from the web ui)
tommodmc

Re: Can't log in with web UI

Post by tommodmc »

Ah, that worked. Thank you.
Post Reply