When cmd is run manually it works with no issues, but when run from another program on linux it gives me an error in the logs. Any ideas would be greatly appreciated. thanks
Comes up with this error when in logs when i check log files.
[WARNING ] 17:39:20 core:124 [execute] command 'perl /home/josh/scripts/deluge/sorttv.pl' failed with exit code 1
[WARNING ] 17:39:20 core:128 [execute] stderr: Upon execvpe perl /home/josh/scripts/deluge/sorttv.pl ['perl /home/josh/scripts/deluge/sorttv.pl', '176426f007943621q60bc72d3ae333af46a0d502', 'Continuum Season 2', '/home/josh/media/!complete'] in environment id 25326672
:Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 420, in _fork
executable, args, environment)
File "/usr/lib/python2.7/dist-packages/twisted/internet/process.py", line 466, 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
UPDATE-
now i get a diff error-
[WARNING ] 21:43:00 core:124 [execute] command './home/josh/scripts/deluge/sorttv.pl' failed with exit code 2
[WARNING ] 21:43:00 core:128 [execute] stderr: Can't locate WWW/TheMovieDB.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./home/josh/scripts/deluge/sorttv.pl line 56.
BEGIN failed--compilation aborted at ./home/josh/scripts/deluge/sorttv.pl line 56.
perldoc -l WWW::TheMovieDBmight give it to you, or you can usefindto scour your system)