Can't get execute to work on Win10x64
Posted: Thu Sep 24, 2015 4:34 am
Alright, so this is driving me insane. I have Deluge installed as a daemon, along with the Deluge web UI. I set up FlexGet to provide torrents, and it all works out perfect, but I'm not able to setup a batch file to execute on Complete.
I followed the example here: http://dev.deluge-torrent.org/wiki/Plugins/Execute, and created a "ex.bat". Had it in a dir, where I wanted it to do some things for me, but deluge log kept saying "file can't be found". After some research, I moved it to \Program Files (x86)\Deluge, and in Execute had only "ex.bat", instead of the path to it: http://imgur.com/ScaHjya . Restarted the daemon. Downloaded a random torrent to test it. Checked the log, and it still said "file can't be found". After trying for about 30 minutes, I gave up. Checked the logs next day, and it showed that it actually ran ex.bat (couldn't find if it failed), but the outputted file "execute_script.log" only showed "Torrent Details: " and thats it. Nothing else. The plugins page states to do a test in cmd. Performed, and it outputted what I set as the parameters. Redownloaded the torrent. Again, nothing is in the execute_script.log. I'm at a complete loss for words...can't find a single instance of this anywhere on the forum, or anywhere else on the internet. So if anyone can please help me, I'll be forever in your debt, because this is constantly nagging at me.
Attached the log. ex.bat is initialized on line 426, then called on 3383 and 3789, but neither show as complete or failed.
Please please please help me...
I followed the example here: http://dev.deluge-torrent.org/wiki/Plugins/Execute, and created a "ex.bat". Had it in a dir, where I wanted it to do some things for me, but deluge log kept saying "file can't be found". After some research, I moved it to \Program Files (x86)\Deluge, and in Execute had only "ex.bat", instead of the path to it: http://imgur.com/ScaHjya . Restarted the daemon. Downloaded a random torrent to test it. Checked the log, and it still said "file can't be found". After trying for about 30 minutes, I gave up. Checked the logs next day, and it showed that it actually ran ex.bat (couldn't find if it failed), but the outputted file "execute_script.log" only showed "Torrent Details: " and thats it. Nothing else. The plugins page states to do a test in cmd. Performed, and it outputted what I set as the parameters. Redownloaded the torrent. Again, nothing is in the execute_script.log. I'm at a complete loss for words...can't find a single instance of this anywhere on the forum, or anywhere else on the internet. So if anyone can please help me, I'll be forever in your debt, because this is constantly nagging at me.
Attached the log. ex.bat is initialized on line 426, then called on 3383 and 3789, but neither show as complete or failed.
Please please please help me...