Problem with Execute plugin
Posted: Tue Sep 23, 2014 4:18 am
I'm trying to run a python script after completion of download. This script used to work, but I recently moved everything to a new server. I can run the script manually and it works perfectly. When deluge runs it, I get the following in the /var/log/deluged/daemon.log
Any ideas?
Code: Select all
[WARNING ] 20:13:06 core:124 [execute] command '/home/deluge/flexget/deluge_torrent_complete.py
' failed with exit code 1
[WARNING ] 20:13:06 core:128 [execute] stderr: Upon execvpe /home/deluge/flexget/deluge_torrent_complete.py
['/home/deluge/flexget/deluge_torrent_complete.py\n', 'c74148acb4c0bfc064d7281da4de24a01cc550af', 'Torrent name', 'path'] in environment id 140113411545640
:Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 403, in _fork
path, uid, gid, executable, args, environment)
File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 453, in _execChild
os.execvpe(executable, args, environment)
File "/usr/lib/python2.7/os.py", line 353, in execvpe
_execvpe(file, args, env)
File "/usr/lib/python2.7/os.py", line 368, in _execvpe
func(file, *argrest)
OSError: [Errno 2] No such file or directory
Any ideas?