Moving finished torrent closes torrent #15

riotopsys opened this Issue Mar 16, 2012 · 4 comments

5 participants


I am using a build compiled from this commit and linked to this version of the library.

I have this line in my configuration
```system.method.set_key =,move_complete,"execute=mv,-u,$d.get_base_path=,~/Videos/;d.set_directory=~/Videos/"

I get this error after hash checking
```[View: main]
*  Eclipse Phase - RPG
* [CLOSED]  done       40.3 MB Rate:   0.0 /   0.0 KB Uploaded:     2.7 MB                 [   R: 0.07]
* Inactive: Cannot change the directory of an open download after the files have been moved.

The file does get moved but the torrent becomes stopped.

I'd like to try correcting this error myself but am having difficulty following the code.
Do you have any suggestions on where to look?


Just read the error message;

@rakshasa rakshasa closed this Mar 16, 2012

a note on the wiki

requires an update then.

system.method.set_key =,move_complete,"execute=mv,-u,$d.get_base_path=,~/Download/;d.set_directory=~/Download/"


system.method.set_key =,move_complete,"d.set_directory=~/Download/;execute=mv,-u,$d.get_base_path=,~/Download/"


I get this error:
Event '' failed: Bad return code.

when trying this command:

system.method.set_key =,move_complete,"d.set_directory=/var/torrents/done/;execute=mv,-u,$d.get_base_path=,/var/torrents/done/"


I'm using v0.9.2, and for me @dnsmichi's solution of having d.set_directory called before the move command solved the issue. But it would be nice if the Wiki was updated with details of from which version this is required. Cause when I was using 0.8.9 the variant on the wiki worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment