No such property: LICENSE for class: net.filebot.Settings

Support for Windows 10 users and the Microsoft Store package
Post Reply
Covenn
Posts: 1
Joined: 28 Jun 2017, 16:21

No such property: LICENSE for class: net.filebot.Settings

Post by Covenn »

Hey Guys,

I just started experiencing issues with my script this morning after downloading the latest amc.groovy file. Any idea why?

My CLI Command

Code: Select all

C:\Users\MAINUSER>filebot -script H:\Downloads_Processing\filebot\scripts-master\amc.groovy --output H:\Videos --action copy --conflict auto -non-strict --log-file H:\Downloads_Processing\logs\amc.log --def minLengthMS=300000 excludeList=H:\Downloads_Processing\logs\amc_exclude.txt unsorted=y "movieFormat=Movies/{certification}/{ny}{[+vf.match(/720[pP]|1080[pP]/)+]}/{ny}{(+vf.match(/720[pP]|1080[pP]/)+)}" seriesFormat="TV Series/{n}/Season {s.pad(1)}/{n} - {s00e00} - {t}" ut_label=N/A unsorted=y ut_title=FILENAME.mkv ut_kind=multi ut_dir=H:\Downloads\FILENAME.mkv
Results:

Code: Select all

Locking H:\Downloads_Processing\logs\amc.log
Run script [H:\Downloads_Processing\filebot\scripts-master\amc.groovy] at [Mon Jul 16 12:56:15 PDT 2018]
Parameter: minLengthMS = 300000
Parameter: excludeList = H:\Downloads_Processing\logs\amc_exclude.txt
Parameter: unsorted = y
Parameter: movieFormat = Movies/{certification}/{ny}{[+vf.match(/720[pP]|1080[pP]/)+]}/{ny}{(+vf.match(/720[pP]|1080[pP]/)+)}
Parameter: seriesFormat = TV Series/{n}/Season {s.pad(1)}/{n} - {s00e00} - {t}
Parameter: ut_label = N/A
Parameter: ut_title = FILENAME.mkv
Parameter: ut_kind = multi
Parameter: ut_dir = H:\Downloads\FILENAME.mkv
Use excludes: H:\Downloads_Processing\logs\amc_exclude.txt (1020)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/C:/Program%20Files/WindowsApps/PointPlanck.FileBot_4.8.1.0_x64__49ex9gnthnt12/lib/groovy-all.jar) to method java.lang.reflect.AnnotatedElement.lambda$getDeclaredAnnotationsByType$0(java.lang.annotation.Annotation,java.lang.annotation.Annotation)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
No such property: LICENSE for class: net.filebot.Settings
groovy.lang.MissingPropertyException: No such property: LICENSE for class: net.filebot.Settings
        at Script1.run(Script1.groovy:305)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:127)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
        at net.filebot.Main.main(Main.java:116)

Failure (°_°)
User avatar
rednoah
The Source
Posts: 19141
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: No such property: LICENSE for class: net.filebot.Settings

Post by rednoah »

If you're using the latest amc script from GitHub, then it really is the latest script, and my not always be backwards-compatible with older releases or even the latest stable release.

Please use -script fn:amc instead to run the latest stable script:

Code: Select all

filebot -script fn:amc ...
:idea: Please read the FAQ and How to Request Help.
melvynadam
Posts: 22
Joined: 29 Jun 2016, 09:51

Re: No such property: LICENSE for class: net.filebot.Settings

Post by melvynadam »

Thanks for that.

Changing -script dev:amc to -script fn:amc fixed the issue.
Now I need to work out what functionality I was using dev:amc for in the first place to understand the ramifications of this move :D
SpaventaPassere
Posts: 11
Joined: 27 May 2016, 23:20

Re: No such property: LICENSE for class: net.filebot.Settings

Post by SpaventaPassere »

Same issue to me in the last weeks, solved with -script fn:amc.

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

Re: No such property: LICENSE for class: net.filebot.Settings

Post by rednoah »

Alternatively, installing the latest build will work as well.
:idea: Please read the FAQ and How to Request Help.
Post Reply