Page 1 of 1

FileNotFoundException on Debian

Posted: 16 Dec 2015, 10:07
by rendez2k
Hi all, I'm running Debian 8 and I get this error:

Locking /home/rendez2k/.filebot/logs/amc.log
FileNotFoundException: /opt/filebot/amc.groovy
java.io.FileNotFoundException: /opt/filebot/amc.groovy
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.getScriptLocation(ArgumentProcessor.java:182)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:99)
at net.filebot.Main.main(Main.java:169)
Failure (°_°)

Any ideas? Some sort of rights issue maybe?

Re: FileNotFoundException on Debian

Posted: 16 Dec 2015, 10:25
by rednoah
Manual wrote:Calling -script fn:amc means that it will automatically fetch the script from GitHub so it will auto-update but you won't be able to modify it
You're trying to call a local script file which doesn't exist.

Re: FileNotFoundException on Debian

Posted: 16 Dec 2015, 13:56
by rendez2k
Thanks!

Sorted that now getting an error at the chmod stage. Is there an error in the script?

/home/rendez2k/sab.py: line 10: --exec=chmod: command not found

filebot -script /opt/filebot/amc.groovy -non-strict --def ut_kind=multi --log all --log-file amc.log --def "ut_dir=$DOWNLOAD_PATH" "ut_title=$NZB_NAME" --output "$HOME/media" --action move --conflict override --def plex=62.210.188.106 --def subtitles=$SUBLANG --def artwork=false --exec=chmod 777 -R "/home/rendez2k/media/" &

Re: FileNotFoundException on Debian

Posted: 16 Dec 2015, 15:10
by rednoah
You probably mean:

Code: Select all

--def "exec=chmod 777 -R '{folder}'"