WebUI broken in 0.5.6 (updated to 5.6.1)?

General support for problems installing or using Deluge
volksman
New User
New User
Posts: 8
Joined: Fri Oct 26, 2007 6:56 pm

WebUI broken in 0.5.6 (updated to 5.6.1)?

Post 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?
Last edited by volksman on Mon Oct 29, 2007 1:34 pm, edited 1 time in total.
volksman
New User
New User
Posts: 8
Joined: Fri Oct 26, 2007 6:56 pm

Re: WebUI broken in 0.5.6?

Post 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....
volksman
New User
New User
Posts: 8
Joined: Fri Oct 26, 2007 6:56 pm

Re: WebUI broken in 0.5.6?

Post 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))
tinyblob
Member
Member
Posts: 18
Joined: Mon Oct 29, 2007 4:46 pm

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

Post 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-).
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

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

Post 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
tinyblob
Member
Member
Posts: 18
Joined: Mon Oct 29, 2007 4:46 pm

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

Post 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.
markybob
Compulsive Poster
Compulsive Poster
Posts: 1230
Joined: Thu May 24, 2007 11:27 pm
Location: Chicago, IL, USA
Contact:

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

Post 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
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

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

Post 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.
dev: webui, core, labels | irc:vonck7 |
tinyblob
Member
Member
Posts: 18
Joined: Mon Oct 29, 2007 4:46 pm

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

Post 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:
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

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

Post 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
dev: webui, core, labels | irc:vonck7 |
Post Reply