Page 1 of 1

Unable to add a torrent via URL with WebUI

Posted: Thu Aug 22, 2013 4:07 pm
by Romano2K
Hello there!

I'm running a personal home server with Archlinux. Yesterday night I updated all packages so it updated deluge from version 1.3.5 to version 1.3.6.

I'm using deluged and deluge-web to download and manage torrents. It's started through systemd with my user and group.

And since I updated, I can't add torrents using a URL anymore. I get the error message "Failed to download torrent" as soon as I click the Add button. It worked perfectly before updating. But I can still add a torrent using the .torrent file uploader, so it doesn't look to be a user permissions problem.

deluge-web with a debug logging level gives:

Code: Select all

[ERROR   ] 16:51:42 json_api:229 Error calling method `web.download_torrent_from_url`
[ERROR   ] 16:51:42 json_api:230 cannot import name _URI
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 221, in _handle_request
    result = self._exec_local(method, params, request)
  File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 188, in _exec_local
    return meth(*params)
  File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 672, in download_torrent_from_url
    d = httpdownloader.download_file(url, tmp_file, headers=headers)
  File "/usr/lib/python2.7/site-packages/deluge/httpdownloader.py", line 199, in download_file
    from twisted.web import _URI
ImportError: cannot import name _URI
I don't understand what's wrong, can you help? :-)