Search found 21 matches

by ambreswe
Tue Nov 04, 2014 8:22 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

So the script HAS to be in the Program files folder apparently, at least for win8.1.
Thanks guys :)
by ambreswe
Tue Nov 04, 2014 7:40 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Dude, I tried it again, now I'm getting output! You're a lifesaver! :))))
by ambreswe
Mon Nov 03, 2014 11:41 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Hi - to make the batch file work, copy it to the program folder where you installed Deluge. In my example, you just need to copy the .bat file to C:\Program Files (x86)\Deluge. To run the batch file, you just type the name, as in "batch.bat" but without the quotes. Hope this helps.. I was...
by ambreswe
Thu Oct 30, 2014 10:23 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

[DEBUG ] 11:12:40 gtkui:164 Adding command added: d:\7zip_unpack_deluge_test.bat [DEBUG ] 11:12:40 gtkui:98 Adding command `31d1d6d35ae84a381e329c760570b84585e202ea` [DEBUG ] 11:12:42 preferences:866 on_button_apply_clicked [WARNING ] 11:12:42 common:574 ipv6 check unavailable on windows [DEBUG ] 11...
by ambreswe
Thu Oct 30, 2014 10:12 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Cas wrote:From the logs it shows you are not adding a new torrent but a torrent with existing data so the Finished event would never fire for that. To test the script please use the Added execute event.
Great, now we're getting somewhere :) I should have mentioned that ofc before... cheers.
by ambreswe
Thu Oct 30, 2014 6:58 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Not sure if this helps any? [DEBUG ] 07:53:12 pluginmanager:104 run_on_show_prefs [DEBUG ] 07:53:12 rpcserver:395 Registering method: execute.add_command [DEBUG ] 07:53:12 rpcserver:395 Registering method: execute.get_commands [DEBUG ] 07:53:12 rpcserver:395 Registering method: execute.remove_comman...
by ambreswe
Thu Oct 30, 2014 6:47 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Enabled debug logging [DEBUG ] 07:36:17 gtkui:136 on_get_commands: [[u'c3355dc186388de27016fd1d3af5ea19a44474e3', u'complete', u'd:\\7zip_unpack_deluge_test.bat']] [DEBUG ] 07:36:17 gtkui:98 Adding command `c3355dc186388de27016fd1d3af5ea19a44474e3` [DEBUG ] 07:36:20 preferences:861 on_button_ok_clic...
by ambreswe
Thu Oct 30, 2014 6:30 am
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

Cas wrote:Not the script, the path where the log file is created...
Any extra logging in Deluge I can turn on to see if the script actually runs at all? or if it fails for some reason even before that?
by ambreswe
Wed Oct 29, 2014 7:38 pm
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

It could be a win8.1 thing... It worked fine for me on Win XP but you could try a different path, such as user dir. I think I also tried putting the script in the Deluge install path before, could try that again, do I still need the whole path? or can I just point to "script.bat" ? Cheers...
by ambreswe
Wed Oct 29, 2014 7:32 pm
Forum: Windows OS
Topic: Trying to run a .bat file when torrent completes
Replies: 28
Views: 20926

Re: Trying to run a .bat file when torrent completes

It could be a win8.1 thing... It worked fine for me on Win XP but you could try a different path, such as user dir. I think I also tried putting the script in the Deluge install path before, could try that again, do I still need the whole path? or can I just point to "script.bat" ? Cheers.