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: | 0.5.9.0 |
Keywords: | Cc: |
Description
--Deluge Error-- DBusException : org.freedesktop.DBus.Python.deluge.core.InvalidEncodingError: Traceback (most recent call last):
File "/var/lib/python-support/python2.5/dbus/service.py", line 655, in _message_cb
retval = candidate_method(self, *args, keywords)
File "/usr/share/deluge/plugins/WebUi/dbus_interface.py", line 180, in add_torrent_url
self._add_torrent(filename)
File "/usr/share/deluge/plugins/WebUi/dbus_interface.py", line 255, in _add_torrent
self.interface.config.get("use_compact_storage"))
File "/var/lib/python-support/python2.5/deluge/core.py", 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/core.py", line 1030, in sync
raise e
path : /torrent/add file : /var/lib/python-support/python2.5/dbus/connection.py in call_blocking, line 602
--Input-- <Storage {'url': 'http://bt.dvdquorum.es/download.php/11103/%28DVDQuorum%29Conspiracy%20theory.torrent', '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
--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 195, in POST
ws.proxy.add_torrent_url(vars.url)
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 135, in call
keywords)
File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
message, timeout)
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | add.html.tar.gz added |
---|
comment:1 by , 16 years ago
Priority: | major → trivial |
---|
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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"