Move Storage / Label-automove does not work

General support for problems installing or using Deluge
Post Reply
liesmich.txt
New User
New User
Posts: 8
Joined: Thu Nov 11, 2010 7:21 pm

Move Storage / Label-automove does not work

Post by liesmich.txt »

Hi there!

If I try to move storage of a torrent through the webinterface the following error is saved in the logfile (deluged -L debug):

Code: Select all

[DEBUG   ] 12:49:15 core:390 Moving storage ('b5ce707745601c14d6cfd6cc2bf2281e2e8b0803',) to /daten/test
[WARNING ] 12:49:15 core:393 Error moving torrent b5ce707745601c14d6cfd6cc2bf2281e2e8b0803 to /daten/test
Do you have any ideas?
The move function of the label-plugin shows no error but does not work, too...

Deluge version: 1.3.4
OS: Arch Linux x64
delugeuser: deluge

Code: Select all

ls -l (/daten/)
drwxr-xr-x 2 deluge        deluge    4096 14. Apr 12:29 test
mjoelk
New User
New User
Posts: 5
Joined: Sat Apr 14, 2012 11:09 am

Re: Move Storage / Label-automove does not work

Post by mjoelk »

I just signed up to ask about this too. Although I use the GTK interface and not the web-based one.

Same error as you got. "Error moving torrent" and nothing more.

I also run Deluge 1.3.4 and Arch Linux x64.
liesmich.txt
New User
New User
Posts: 8
Joined: Thu Nov 11, 2010 7:21 pm

Re: Move Storage / Label-automove does not work

Post by liesmich.txt »

Okay the problem is line 853 in core/torrent.py:
def move_storage(self, dest):
"""Move a torrent's storage location"""
# 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

if not os.path.exists(dest_u):
try:
# Try to make the destination path if it doesn't exist
os.makedirs(dest_u)
except IOError, e:
log.exception(e)
log.error("Could not move storage for torrent %s since %s does not exist and$
return False
try:
self.handle.move_storage(dest_u)
except:
return False

return True
My knowledge of python is minimal ... anyone have a look please?

EDIT: I've tried to execute deluge as root...same result here :/
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Move Storage / Label-automove does not work

Post by johnnyg »

Are you guys running libtorrent 0.16?
There seems to be a few incompatibility issues with it.

If you are, try downgrading to 0.15.10.
liesmich.txt
New User
New User
Posts: 8
Joined: Thu Nov 11, 2010 7:21 pm

Re: Move Storage / Label-automove does not work

Post by liesmich.txt »

Yes, it works!
Thanks :D

downgrading to 0.15.10 worked for me!
mjoelk
New User
New User
Posts: 5
Joined: Sat Apr 14, 2012 11:09 am

Re: Move Storage / Label-automove does not work

Post by mjoelk »

Downgrading to 0.15.10 also worked for me. Thanks.
Post Reply