Page 1 of 1

Move Completed Moves Files That Should Not Be Moved

Posted: Sat Feb 21, 2009 9:04 pm
by Sentinel
So I'm running 1.1.2 and I have my settings so that completed files are moved to the folder "Seeding". But I often want to move the files to another directory and keep seeding them. However, I run into the following problem:

I have about 40 files that I want to seed from their own folders, not the Seeding folder.
When I open Deluge (like after a system restart), it seems like there is some sort of race condition between starting to seed and moving files.
Out of the 40, a random number of them will magically have moved to the Seeding folder after they have begun seeding, as if I had just downloaded them.
I can move them back to the correct folder and Deluge behaves until a SYSTEM restart.

The only way these files can move is if Deluge is moving them, so there is clearly some kind of issue with the meaning of "completed," so I guess the files technically represent "completed" torrents. But to make it an effective feature, the move should only occur after a file transitions from a "downloading" to a "completed" or "seeding" state. Maybe when deluge starts all torrents are briefly in the "downloading" state? That would also be bad.

Anyway, I would much appreciate it if this feature is fixed. I'm sorry that I don't know enough about the mechanics of Deluge to give a more detailed description, like how it actually assigns torrent state and the flags which actually trigger a move.

Thanks.
~Sentinel

EDIT: So I noticed the problem only arises after a system restart, which is very very strange because from the user's perspective, the files are really moving, but maybe they're not actually moving? I'm running Ubuntu 8.10 (Intrepid). Could it be that there is something horribly wrong with file handling? Like the user interface not matching actual directory structure? I'm so confused.

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Sun Mar 15, 2009 6:27 am
by Sentinel
Just wanted to bump this.

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Sun Jun 07, 2009 6:52 pm
by Sentinel
So the current work-around is disabling move-on-complete before shutting down, and after starting Deluge again, wait for torrents to recheck, and then you can re-enable move-on-complete.

Can someone please look at this?

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Mon Jun 08, 2009 12:41 am
by johnnyg
can you tell us if this still occurs in 1.1.8?

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Mon Jun 08, 2009 10:05 pm
by Sentinel
Has anything changed that would suggest it would be fixed? If it's not fixed, it will take me an hour to move all my files again.

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Tue Jun 09, 2009 12:36 am
by andar
I believe I've fixed this in revision 5363, could you please test it?

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Tue Jun 09, 2009 1:36 am
by Sentinel
To be honest, I'm not sure how to grab that revision. I can say the problem still exists in 1.1.8. I'll try to figure out how to get the newest revision and let you know how it goes. If you don't hear from me, assume I'm waiting until 1.1.9

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Tue Jun 09, 2009 6:55 am
by andar
Sentinel wrote:To be honest, I'm not sure how to grab that revision. I can say the problem still exists in 1.1.8. I'll try to figure out how to get the newest revision and let you know how it goes. If you don't hear from me, assume I'm waiting until 1.1.9
http://dev.deluge-torrent.org/wiki/SvnRepo

Re: Move Completed Moves Files That Should Not Be Moved

Posted: Wed Jun 17, 2009 4:55 am
by Sentinel
Cool! As far as I can tell, this issue has been resolved. I will continue to look out for strange behavior and let you know, but I think we're good now, so thank you.