Web UI crashed Deluge

General support for problems installing or using Deluge
Post Reply
seer_tenedos
New User
New User
Posts: 3
Joined: Sat Feb 23, 2008 10:56 pm

Web UI crashed Deluge

Post by seer_tenedos »

Guys,
When ever i use the web UI deluge crashes with an error. The login screen for the web UI is fine but once i enter the correct password it crashes deluge but the web server is still running as i have to kill it to start deluge again.

I am running deluge 0.5.8.4 on suse 10.2. I built it from the source on the site without any errors.

The error i get is the following

Code: Select all

[DEBUG] home.GET(name=None)
[DEBUG] start session
[DEBUG] index.GET(name=None)
Traceback (most recent call last):
  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/webserver_framework.py", line 152, in deco
    return func(self, name) #ok, continue..
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 136, in deco
    res = func(self, name)
  File "/usr/share/deluge/plugins/WebUi/webserver_framework.py", line 169, in deco
    return func(self, name)
  File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 103, in GET
    for torrent_id in ws.proxy.get_session_state()]
  File "/usr/lib64/python2.5/site-packages/dbus/proxies.py", line 25, in __call__
    ret = self._proxy_method (*args, **keywords)
  File "/usr/lib64/python2.5/site-packages/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 456, in dbus_bindings.Connection.send_with_reply_and_block
DBusException: Message did not receive a reply (timeout by message bus)

Segmentation fault

Can anyone give me an idea of what i have done wrong?

Oh also deluge seems to work perfectly as long as i don't use the web Ui which is my whole point for installing deluge
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Web UI crashed Deluge

Post by mvoncken »

Try starting deluge from console.
It should show some kind of error.
dev: webui, core, labels | irc:vonck7 |
seer_tenedos
New User
New User
Posts: 3
Joined: Sat Feb 23, 2008 10:56 pm

Re: Web UI crashed Deluge

Post by seer_tenedos »

mvoncken wrote:Try starting deluge from console.
It should show some kind of error.

sorry for asking or staying stupid things but i think i am starting it correctly.

i just enter deluge at the command prompt and it starts up the gui. the error message i posted was from the console window. whenever i access the web interface it also kills the gui and that is the error in the console. i figure that is more important than the error in the web UI.

If there is any info or debug logs i am happy to upload them. i am new to bittorrent on linux. i normally run utorrent on windows but i have a linux server on 24/7 so i am try to get a good bittorrent client with web ui working on my linux box. Please excuse my lack of linux knowledge.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Web UI crashed Deluge

Post by mvoncken »

No you weren't asking stupid things ;).

I didn't notice the "Segmentation fault" at the end of the log.
This is a hard problem for me, something non-python is crashing.

Probably the python-dbus-bindings, but it could also be a problem with libtorrrent.

To test if dbus is the problem, without using the webui:
start deluge.
start another deluge with the path to a torrent as the 1st parameter

Code: Select all

deluge ~/home/torrentfile.torrent
dev: webui, core, labels | irc:vonck7 |
seer_tenedos
New User
New User
Posts: 3
Joined: Sat Feb 23, 2008 10:56 pm

Re: Web UI crashed Deluge

Post by seer_tenedos »

mvoncken wrote:No you weren't asking stupid things ;).
To test if dbus is the problem, without using the webui:
start deluge.
start another deluge with the path to a torrent as the 1st parameter

Code: Select all

deluge ~/home/torrentfile.torrent
just did the test above and it worked fine. Torrent was added to my queue correctly and i can seem to download torrents as well though i have not let one finish yet.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Web UI crashed Deluge

Post by mvoncken »

Another (irc) user was reporting segfault problems with suse 10.2 (not using webui)

Might be fixed in svn, please try the latest deluge svn.
http://deluge-torrent.org/faq.php#4n10
dev: webui, core, labels | irc:vonck7 |
papaf
New User
New User
Posts: 5
Joined: Tue Apr 01, 2008 6:20 am

Re: Web UI crashed Deluge

Post by papaf »

Hi all,
I don't know if this has been solved already, but it happened exactly the same with my Debian system. In my case, the vast majority of the packages were from Etch, with a few from Lenny to make deluge work. However, the python-dbus package was still from Etch. When I upgraded it, the webui interface (which is very nice, btw!) worked as expected.

Hope this helps!
Post Reply