Vuze Forums

Full Version: Command Runner fails to run command after torrent completion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using Command Runner plugin to run FileBot after a torrent completes download in order to rename the file. The action fails (see below)  If I run the command from the command line in terminal, the command excutes properly.  Can anyone provide some help?   Below is the output from the 'Command Runner' log.  Thanks

Executing: filebot -script fn:amc --output "/Users/myuser/Downloads/Torrents" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=Uncategorised" "ut_state=%S" "ut_title=Survivor.S31E15.HDTV.x264-FUM[ettv]" "ut_kind=multi" "ut_file=" "ut_dir=/Users/myuser/Downloads/Torrents/Survivor.S31E15.HDTV.x264-FUM[ettv]" excludeList=amc.txt
[ERROR] Unable to run "filebot -script fn:amc --output "/Users/myuser/Downloads/Torrents" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=Uncategorised" "ut_state=%S" "ut_title=Survivor.S31E15.HDTV.x264-FUM[ettv]" "ut_kind=multi" "ut_file=" "ut_dir=/Users/myuser/Downloads/Torrents/Survivor.S31E15.HDTV.x264-FUM[ettv]" excludeList=amc.txt".
java.io.IOException: Cannot run program "filebot": error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:450)
    at java.lang.Runtime.exec(Runtime.java:347)
    at com.aelitis.azureus.plugins.azexec.AzExecPlugin$7.run(AzExecPlugin.java:243)
    at org.gudy.azureus2.pluginsimpl.local.utils.UtilitiesImpl.callWithPluginThreadContext(UtilitiesImpl.java:1092)
    at org.gudy.azureus2.pluginsimpl.local.utils.UtilitiesImpl$4.run(UtilitiesImpl.java:483)
    at org.gudy.azureus2.core3.util.AEThread2$threadWrapper.run(AEThread2.java:294)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>;(UNIXProcess.java:248)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 7 more
As a unix guy whenever I see something like 
Quote:Cannot run program "filebot": error=2, No such file or directory
 

I think of a permissions problem.  Like Vuze does not have the permissions to read that directory/file or whatever.
I have no idea if I am correct but it is worthing looking into.