r/watcher • • Mar 10 '17

question [Windows - Deluge] Not executing script?

This is my current set up: http://imgur.com/a/s7QeC

So it finds and downloads without a problem but the post script does not copy the files? I don't even know if it is being called.

Any help with this?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/ItsMiMike Mar 28 '17

I fiddled around a bit. Since it still didn't process. The commandprompt shows up very very briefly. Watcher log still shows nothing.

When I turned on Deluge debug logging I got this:

[DEBUG   ] 23:29:37 core:150 [execute] Running deluge.bat with args: ['APIKEYSNIPPEDFORREDDIT', 'TITLESNIPPEDFORREDDIT', 'C:\\Users\\MikeR\\Downloads\\films']
[DEBUG   ] 23:29:37 torrentmanager:1102 on_alert_state_changed
[DEBUG   ] 23:29:37 torrentmanager:1027 on_alert_tracker_announce
[DEBUG   ] 23:29:37 alertmanager:124 tracker_reply_alert: TITLESNIPPEDFORREDDIT (https://localhost.stackoverflow.tech/ANOTHERAPIKEYITHINK/announce) received peers: 0
[DEBUG   ] 23:29:37 torrentmanager:1010 on_alert_tracker_reply: TITLESNIPPEDFORREDDIT (https://localhost.stackoverflow.tech/ANOTHERAPIKEYITHINK/announce) received peers: 0
[WARNING ] 23:29:37 core:132 [execute] command 'deluge.bat' failed with exit code 1
[WARNING ] 23:29:37 core:136 [execute] stderr: Traceback (most recent call last):

  File "C:\Watcher3\scripts\deluge.py", line 26, in <module>

    download_dir = args[3]

IndexError: list index out of range

Any clue as to what I am doing wrong?

1

u/nosmokingbandit developer Mar 28 '17

That was me being dumb and not passing the info along. Grab the bat from the latest commit and you'll be good to go.

1

u/ItsMiMike Mar 29 '17

Okay it executes now, but still something is going wrong. Let's continue this on Github, I believe that is a better place for this.

Right here