sorty script not working

Any questions? Need some help?
Post Reply
theimmortal
Posts: 12
Joined: 13 Jan 2013, 16:57

sorty script not working

Post by theimmortal » 16 Jan 2013, 15:06

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 (°_°)

User avatar
rednoah
The Source
Posts: 17846
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: sorty script not working

Post by rednoah » 16 Jan 2013, 15:14

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.
:idea: Please read the FAQ and How to Request Help.

theimmortal
Posts: 12
Joined: 13 Jan 2013, 16:57

Re: sorty script not working

Post by theimmortal » 16 Jan 2013, 15:59

You are right, I copied the format expressions that I was using in the utorrent script. Thank you!

User avatar
rednoah
The Source
Posts: 17846
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: sorty script not working

Post by rednoah » 16 Jan 2013, 16:08

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.'''
:idea: Please read the FAQ and How to Request Help.

Post Reply