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!
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!
FS#31433 - [deluge] move storage does not work
Attached to Project:
Arch Linux
Opened by Byron Doyle (greensquares) - Thursday, 06 September 2012, 03:14 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 04:29 GMT
Opened by Byron Doyle (greensquares) - Thursday, 06 September 2012, 03:14 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 04:29 GMT
|
DetailsDescription:
Moving storage does not work as described in this ticket for the Ubuntu package: https://bugs.launchpad.net/ubuntu/+source/deluge/+bug/1041415 The fix was described as "Add patch to fix function parameter on call to libtorrent to move storage. It doesn't want Unicode (LP: #1041415)." Additional info: Package version 1.3.5-1 Steps to reproduce: Attempt to move storage on a downloaded torrent OR set deluged to automatically move storage on completion of download, wait for download to finish. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 04:29 GMT
Reason for closing: Upstream
Saturday, 17 November 2012, 04:29 GMT
Reason for closing: Upstream
That feature sends the dest parameter with unicode encoding.
The call to the libtorrent move_storage expects acsii encoded string.
(last row is the fix).
if deluge.common.windows_check():
# Attempt to convert utf8 path to unicode
# Note: Inconsistent encoding for 'dest', needs future investigation
try:
dest_u = unicode(dest, "utf-8")
except TypeError:
# String is already unicode
dest_u = dest
else:
dest_u = dest.encode('ascii','ignore')