Page 1 of 1

sorty script not working

Posted: 16 Jan 2013, 15:06
by theimmortal
I am getting the following errors when trying to use the sorty.groovy script:

MissingPropertyException: No such property: Special for class: Script3
groovy.lang.MissingPropertyException: No such property: Special for class: Script3
at Script3.run(Script3.groovy:3)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)

Re: sorty script not working

Posted: 16 Jan 2013, 15:14
by rednoah
The term "Special" doesn't even occur in my template. You probably made a syntax error when you modified the format expressions. I guess you messed up the quotes somewhere.

Re: sorty script not working

Posted: 16 Jan 2013, 15:59
by theimmortal
You are right, I copied the format expressions that I was using in the utorrent script. Thank you!

Re: sorty script not working

Posted: 16 Jan 2013, 16:08
by rednoah
Here's my best practices. Always use tripple-quotes to avoid any and all quote issues.

Code: Select all

def string = '''Anything's "fine" here.'''