Opened 16 years ago

Closed 16 years ago

#221 closed bug (WontFix)

DBusException at /torrent/add

Reported by: anonymous Owned by: mvoncken
Priority: trivial Milestone:
Component: Web UI Version:
Keywords: Cc:


--Deluge Error-- DBusException : org.freedesktop.DBus.Python.deluge.core.InvalidEncodingError: Traceback (most recent call last):

File "/var/lib/python-support/python2.5/dbus/", line 655, in _message_cb

retval = candidate_method(self, *args, keywords)

File "/usr/share/deluge/plugins/WebUi/", line 180, in add_torrent_url


File "/usr/share/deluge/plugins/WebUi/", line 255, in _add_torrent


File "/var/lib/python-support/python2.5/deluge/", line 415, in add_torrent

return self.sync() # Syncing will create a new torrent in the core, and return it's ID

File "/var/lib/python-support/python2.5/deluge/", line 1030, in sync

raise e


path : /torrent/add file : /var/lib/python-support/python2.5/dbus/ in call_blocking, line 602

--Input-- <Storage {'url': '', 'redir': , 'submit': 'Enviar', 'torrent': }>

--Versions-- WebUi : rev.172 Python : 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] dbus:0.82.0


File "/usr/share/deluge/plugins/WebUi/lib/webpy022/", line 304, in wsgifunc

result = func()

File "/usr/share/deluge/plugins/WebUi/lib/webpy022/", line 131, in <lambda>

func = lambda: handle(inp, fvars)

File "/usr/share/deluge/plugins/WebUi/lib/webpy022/", line 61, in handle

return tocall(*([x and urllib.unquote(x) for x in args] + fna))

File "/usr/share/deluge/plugins/WebUi/", line 152, in deco

return func(self, name) #ok, continue..

File "/usr/share/deluge/plugins/WebUi/", line 195, in POST


File "/var/lib/python-support/python2.5/dbus/", line 135, in call


File "/var/lib/python-support/python2.5/dbus/", line 603, in call_blocking

message, timeout)

Attachments (1)

add.html.tar.gz (6.4 KB ) - added by anonymous 16 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 16 years ago

Attachment: add.html.tar.gz added

comment:1 by mvoncken, 16 years ago

Priority: majortrivial

I only get this error when adding a private torrent, where the url returns a permission denied. download the torrent file and upload it.

The url in the error log returns an error-message if i click it.

So i think it's a minor error handling bug, it should return an error page saying "invalid torrent"

comment:2 by mvoncken, 16 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.