Help dig me out from this pile of console garbage!

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
User avatar
ashfallen0
Power User
Posts: 32
Joined: 14 Jan 2012, 10:44

Help dig me out from this pile of console garbage!

Post by ashfallen0 » 15 Jan 2012, 02:14

While trying to start using the new CLI groovy code, using the housekeeping script, I get the following:
D:\Save\Organizer>filebot -script "C:\Program Files\FileBot\housekeeping.groovy" D:\Save\Organizer
ClassNotFoundException: java.nio.file.FileVisitor
java.lang.ClassNotFoundException: java.nio.file.FileVisitor
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredFields(Unknown Source)
at org.codehaus.groovy.vmplugin.v5.Java5.configureClassNode(Java5.java:321)
at org.codehaus.groovy.ast.ClassNode.lazyClassInit(ClassNode.java:264)
at org.codehaus.groovy.ast.ClassNode.getUnresolvedSuperClass(ClassNode.java:976)
at org.codehaus.groovy.ast.ClassNode.getUnresolvedSuperClass(ClassNode.java:971)
at org.codehaus.groovy.control.ResolveVisitor.checkCyclicInheritence(ResolveVisitor.java:1302)
at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1277)
at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:148)
at org.codehaus.groovy.control.CompilationUnit$8.call(CompilationUnit.java:601)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:839)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:544)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:493)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:306)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:287)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:267)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:214)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:337)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:109)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103)
at javax.script.AbstractScriptEngine.eval(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.<init>(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (░_░)

D:\Save\Organizer>
Really, is there a checklist for what has to be installed besides the current java, filebot, and having both in the $PATH variable?
Image PHPBB3 hates me.

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

Re: Help dig me out from this pile of console garbage!

Post by rednoah » 15 Jan 2012, 05:18

Ups, seems there is sill a dependency on Java 7 in that script... I'll fix it for Java 6 when I get back in February. Might be that scripting is broken for Java 6 altogether.
:idea: Please read the FAQ and How to Request Help.

Post Reply