Error Running Custom Script

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
dzelemba
Posts: 1
Joined: 20 May 2014, 18:21

Error Running Custom Script

Post by dzelemba »

Hello,

I'm trying to update the amc.groovy script to allow use of a custom mailserver. I've downloaded the scripts from GitHub and as a sanity am just trying to run the amc.groovy script that I downloaded:

Code: Select all

$filebot -script /home/dzelemba/Code/filebot/scripts/amc.groovy  --output "/home/dzelemba/Videos" --log-file amc-test.log --log all --action copy --conflict override -non-strict Downloads/The.Americans.2013.S02E10.HDTV.x264.REPACK-LOL.mp4
Locking /home/dzelemba/.filebot/logs/amc-test.log
MissingPropertyException: No such property: log for class: Script3
groovy.lang.MissingPropertyException: No such property: log for class: Script3
	at Script3$_run_closure2.doCall(Script3.groovy:8)
	at Script3.run(Script3.groovy:8)
	at net.sourceforge.filebot.cli.ScriptShell.evaluate(ScriptShell.java:91)
	at net.sourceforge.filebot.cli.ScriptShell.runScript(ScriptShell.java:85)
	at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:123)
	at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (°_°)
Running the script using

Code: Select all

-script fn:amc
works fine though.

Some other details:
- Running on Ubuntu 12.04
- Running Filebot v4.0
- Cloned devel branch with HEAD: 5532babff537d01330bd74fb08f9ed239d5065e5

Thanks for you help.
User avatar
rednoah
The Source
Posts: 23942
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error Running Custom Script

Post by rednoah »

You'll need at least the latest FileBot 4.1 RC3 to run the latest scripts from GitHub.
:idea: Please read the FAQ and How to Request Help.
Post Reply