Page 1 of 2

WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Fri Oct 26, 2007 7:01 pm
by volksman
I installed the RC1 yesterday of Deluge. Everything worked satisfactorily...

Today I downloaded and install the 5.6 package for Feisty and installed it with no issues. However when I launch the webUI I get:

--Deluge Error--
DBusException : org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
path : /index
file : /var/lib/python-support/python2.5/dbus/proxies.py in __call__, line 168

--Input--
<Storage {}>

--Versions--
WebUi : rev.0.56.stable.87
Python : 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)]
dbus:0.80.2

--Traceback--
File "/usr/share/deluge/plugins/WebUi/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/usr/share/deluge/plugins/WebUi/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/share/deluge/plugins/WebUi/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/webserver_framework.py", line 143, in deco
return func(self, name)
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 126, in deco
return func(self, name) #ok, continue..
File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 112, in deco
res = func(self, name)
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 153, in GET
for torrent_id in ws.proxy.get_torrent_state()]
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 169, in __call__
reply_message = self._connection.send_message_with_reply_and_block(message, timeout)

Any ideas?

Re: WebUI broken in 0.5.6?

Posted: Fri Oct 26, 2007 7:38 pm
by volksman
Hrm...scratch that...it works now for no apparent reason.

I made no changes to the config or anything...very weird to say the least....

Re: WebUI broken in 0.5.6?

Posted: Mon Oct 29, 2007 1:34 pm
by volksman
Problem is back with 5.6.1 on Gutsy....

--Deluge Error--
TypeError : deco() takes exactly 2 arguments (1 given)
path : /
file : /usr/share/deluge/plugins/WebUi/webpy022/request.py in handle, line 60

--Input--
<Storage {}>

--Versions--
WebUi : rev.112
Python : 2.5.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]
dbus:0.82.0

--Traceback--
File "/usr/share/deluge/plugins/WebUi/webpy022/webapi.py", line 304, in wsgifunc
result = func()
File "/usr/share/deluge/plugins/WebUi/webpy022/request.py", line 131, in <lambda>
func = lambda: handle(inp, fvars)
File "/usr/share/deluge/plugins/WebUi/webpy022/request.py", line 61, in handle
return tocall(*([x and urllib.unquote(x) for x in args] + fna))

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 4:49 pm
by tinyblob
Same problem for me.
I upgraded to Gutsy, then installed 0.5.6, then spotted 0.5.6.1, so i installed that.
Now the WebUI plugin gives the "TypeError : deco() takes exactly 2 arguments (1 given)" error.
I use Deluge on a virtually headless machine, so i'm having real difficulty with Deluge at the moment 8-).

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 4:59 pm
by markybob
you have to point it to the right place. http://localhost:8112/login and not http://localhost:8112/ make sure you set the password in preferences

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 5:38 pm
by tinyblob
Hmm.. i see
Why has this extra step been added? Obviously backend activity IS occurring on the "index" page, it seems only logical to default to the login page if no login credentials are found.

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 5:43 pm
by markybob
tinyblob wrote:Hmm.. i see
Why has this extra step been added? Obviously backend activity IS occurring on the "index" page, it seems only logical to default to the login page if no login credentials are found.
it wasnt intentional :p

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 6:36 pm
by mvoncken
markybob wrote:
tinyblob wrote:Hmm.. i see
Why has this extra step been added? Obviously backend activity IS occurring on the "index" page, it seems only logical to default to the login page if no login credentials are found.
it wasnt intentional :p
oops, it's a bug in the url routing.
The correct url (for now) would be http://localhost:8112/home
I didn't know the new revision of the webui was included in 5.6.1.

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 6:50 pm
by tinyblob
It seems to get a bit worse.
I logged in fine with the /login path, and one of the first things i did was to reorder my torrents by progress.
Now when i attempt to log in, it forwards me to /index?sort=progress&order=down, which errors:
DBusException : org.freedesktop.DBus.Error.ServiceUnknown: The name :1.13 was not provided by any .service files

Doesn't seem to be a way to fix that from my end either :lol:

Re: WebUI broken in 0.5.6 (updated to 5.6.1)?

Posted: Mon Oct 29, 2007 7:02 pm
by mvoncken
tinyblob wrote:It seems to get a bit worse.
I logged in fine with the /login path, and one of the first things i did was to reorder my torrents by progress.
Now when i attempt to log in, it forwards me to /index?sort=progress&order=down, which errors:
DBusException : org.freedesktop.DBus.Error.ServiceUnknown: The name :1.13 was not provided by any .service files

Doesn't seem to be a way to fix that from my end either :lol:
Nothing changed about that.
The connection with deluge was somehow lost.
Press [ok] in the webui config-panel to restart the webserver, or restart deluge.

I did fix the default routing : http://forum.deluge-torrent.org/viewtopic.php?f=9&t=425