Problem adding torrents with webUI ?

General support for problems installing or using Deluge
Post Reply
sax
New User
New User
Posts: 4
Joined: Wed Jan 09, 2008 6:35 pm

Problem adding torrents with webUI ?

Post by sax »

Apparently...
Oops, Deluge Broke :-( , You might have found a bug, or you did something really stupid ;-).
Knowing me I'm guessing the latter, anyway when I'm trying to add a torrent via the webUI I get the following error message
--Deluge Error--
DBusException : org.freedesktop.DBus.Python.deluge.core.InvalidEncodingError: Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/dbus/service.py", line 451, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/share/deluge/plugins/WebUi/dbus_interface.py", line 179, in add_torrent_url
self._add_torrent(filename)
File "/usr/share/deluge/plugins/WebUi/dbus_interface.py", line 254, in _add_torrent
self.interface.config.get("use_compact_storage"))
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 370, in add_torrent
return self.sync() # Syncing will create a new torrent in the core, and return it's ID
File "/usr/lib/python2.4/site-packages/deluge/core.py", line 886, in sync
raise e
InvalidEncodingError: ''

path : /torrent/add
file : /usr/lib/python2.4/site-packages/dbus/proxies.py in __call__, line 168

--Input--
<Storage {'url': 'http://www.xxxxx.com/download.php/35523/xxxx%20xxxx%20-%20xxxx%20%40%20xxxxx%202006-03-01.torrent', 'redir': '', 'submit': 'Submit', 'torrent': ''}>

--Versions--
WebUi : rev.172
Python : 2.4.1 (#1, Nov 29 2007, 17:34:45)
[GCC 3.4.4]
dbus:0.80.2

--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/webserver_framework.py", line 152, in deco
return func(self, name) #ok, continue..
File "/usr/share/deluge/plugins/WebUi/deluge_webserver.py", line 198, in POST
ws.proxy.add_torrent_url(vars.url)
File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 169, in __call__
reply_message = self._connection.send_message_with_reply_and_block(message, timeout)
I have the same problem regardless of the torrent I'm trying to add. I am using Opera as my browser, but get the same problem when using firefox. Other than this Deluge and the webUI seems to be working fine.

P.S. Love Deluge, best torrent client easily ;-)
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Problem adding torrents with webUI ?

Post by mvoncken »

Sax,

What happens when you copy the url,and add the url in the deluge GUI (menu->file->add_url)?
Same problem on all torrents or just on some?
dev: webui, core, labels | irc:vonck7 |
sax
New User
New User
Posts: 4
Joined: Wed Jan 09, 2008 6:35 pm

Re: Problem adding torrents with webUI ?

Post by sax »

I get the same problem with all torrents I have tried, I tried adding a torrent via url (menu->file->add_url) and Deluge crashed !!! :o

it works fine when i click a link to download a torrent and "open with" deluge.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: Problem adding torrents with webUI ?

Post by mvoncken »

sax wrote:I get the same problem with all torrents I have tried, I tried adding a torrent via url (menu->file->add_url) and Deluge crashed !!! :o
So the problem is problem is not uniquely tied to webui, you can crash deluge-gtk too with an url.
It could be triggered by OS/distribution or url.

Please try a deluge torrent:
http://download.deluge-torrent.org/inde ... gz.torrent

If that fails too:
I need to know OS/distribution etc..
dev: webui, core, labels | irc:vonck7 |
sax
New User
New User
Posts: 4
Joined: Wed Jan 09, 2008 6:35 pm

Re: Problem adding torrents with webUI ?

Post by sax »

that deluge torrent worked ok, I tried torrents from diffrent trackers and they seem ok, the problem seems to be with a certen tracker.

Is there a format that the url must be in for it to work ?

As for OS/Distro, I am using Foresight Linux.
Post Reply