Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43974 - [deluge] [python2-twisted] Deluge does not run correctly with python2-twisted 15.0.0-1

Attached to Project: Arch Linux
Opened by Ngoc-Thuan Tran (bigeyes0x0) - Friday, 27 February 2015, 13:19 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 27 February 2015, 15:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If using latest package version with python2-twisted 15.0.0-1, you will be unable to add torrent through the web interface using this method:
- Open deluge-web interface
- Press on Add
- Choose Add URL, then paste in a URL and and click on Add
- It fails with "Failed to download torrent"

Revert back to python2-twisted 14.0.2-1 fixes the issue.

Additional info:
* Tested with latest deluge 1.3.11-2 package
* Error in log:
Feb 27 20:17:24 homeserver deluge-web[8479]: [ERROR ] 20:17:24 json_api:229 Error calling method `web.download_torrent_from_url`
Feb 27 20:17:24 homeserver deluge-web[8479]: [ERROR ] 20:17:24 json_api:230 cannot import name _URI
Feb 27 20:17:24 homeserver deluge-web[8479]: Traceback (most recent call last):
Feb 27 20:17:24 homeserver deluge-web[8479]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 221, in _handle_request
Feb 27 20:17:24 homeserver deluge-web[8479]: result = self._exec_local(method, params, request)
Feb 27 20:17:24 homeserver deluge-web[8479]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 188, in _exec_local
Feb 27 20:17:24 homeserver deluge-web[8479]: return meth(*params)
Feb 27 20:17:24 homeserver deluge-web[8479]: File "/usr/lib/python2.7/site-packages/deluge/ui/web/json_api.py", line 672, in download_torrent_from_url
Feb 27 20:17:24 homeserver deluge-web[8479]: d = httpdownloader.download_file(url, tmp_file, headers=headers)
Feb 27 20:17:24 homeserver deluge-web[8479]: File "/usr/lib/python2.7/site-packages/deluge/httpdownloader.py", line 199, in download_file
Feb 27 20:17:24 homeserver deluge-web[8479]: from twisted.web.client import _URI
Feb 27 20:17:24 homeserver deluge-web[8479]: ImportError: cannot import name _URI
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 27 February 2015, 15:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  deluge 1.3.11-3

Loading...