Page 1 of 1

Help! Filebot setup on NAS stopped working out of the blue!

Posted: 18 Nov 2014, 15:25
by ricarva
So, my Filebot setup stopped working and I'm at a loss.

I'm running the portable package on a ARM NAS, and everything was a-ok until a couple of days ago.

Alas, the last time I tried running the script I got this:

Code: Select all

Nov 18, 2014 8:01:14 AM net.filebot.Analytics trackView
WARNING: java.lang.InternalError: Can't instantiate Preferences factory net.sourceforge.tuned.prefs.FilePreferencesFactory
Parameter: subtitles = pt
Parameter: music = n
Parameter: clean = y
Parameter: excludeList = amc-input.txt
Parameter: pushbullet = *****
Argument: /share/HDA_DATA/Completed
Using excludes from /share/HDA_DATA/Multimedia/amc-input.txt (75)
Input: /share/HDA_DATA/Completed/Dawn.of.the.Planet.of.the.Apes.2014.1080p.BluRay.x264-SPARKS[rarbg]/Dawn.of.the.Planet.of.the.Apes.2014.1080p.BluRay.x264-SPARKS.mkv
Input: /share/HDA_DATA/Completed/Guardians.of.the.Galaxy.2014.1080p.BluRay.x264-SPARKS[rarbg]/Guardians.of.the.Galaxy.2014.1080p.BluRay.x264-SPARKS.mkv
Exclude: /share/HDA_DATA/Completed/Dawn.of.the.Planet.of.the.Apes.2014.1080p.BluRay.x264-SPARKS[rarbg]/dawn.of.the.planet.of.the.apes.2014.1080p.bluray.x264-sparks.nfo
Exclude: /share/HDA_DATA/Completed/Dawn.of.the.Planet.of.the.Apes.2014.1080p.BluRay.x264-SPARKS[rarbg]/Sample/dawn.of.the.planet.of.the.apes.2014.1080p.bluray.x264-sparks.sample.mkv
NoClassDefFoundError: Could not initialize class java.util.prefs.Preferences
java.lang.NoClassDefFoundError: Could not initialize class java.util.prefs.Preferences
        at net.filebot.Settings.forPackage(Settings.java:140)
        at net.filebot.WebServices.getLogin(WebServices.java:238)
        at net.filebot.WebServices.<clinit>(WebServices.java:232)
        at net.filebot.media.MediaDetection.lookupSeriesNameByInfoFile(MediaDetection.java:1189)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:309)
        at net.filebot.media.MediaDetection.detectSeriesNames(MediaDetection.java:288)
        at net.filebot.cli.ScriptShellBaseClass.detectSeriesName(ScriptShellBaseClass.java:218)
        at Script1$_run_closure62.doCall(Script1.groovy:255)
        at Script1.run(Script1.groovy:241)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:109)
        at net.filebot.Main.main(Main.java:183)
Failure (°_°)
I use the following call:

Code: Select all

filebot -script fn:amc "/share/HDA_DATA/Completed" -non-strict --output "/share/HDA_DATA/Multimedia" --def subtitles=pt music=n clean=y excludeList=amc-input.txt pushbullet=****** --action move --conflict override --log all
Lastly, the output of filebot -script fn:sysinfo:

Code: Select all

Nov 18, 2014 3:20:35 PM net.filebot.Analytics trackView
WARNING: java.lang.InternalError: Can't instantiate Preferences factory net.sourceforge.tuned.prefs.FilePreferencesFactory
FileBot 4.5 (r2612)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/share/HDA_DATA/.programs/Filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.lang.NoClassDefFoundError: Could not initialize class java.util.prefs.Preferences
Extended Attributes: DISABLED
Groovy Engine: 2.3.7
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 1 Core / 121 MB Max Memory / 9 MB Used Memory
OS: Linux (arm)
uname: Linux HomeNAS 3.4.6 #1 Sat Nov 1 06:22:43 CST 2014 armv5tel unknown
Done ã¾(ï¼ âã¼âï¼ )ã
Any help would be greatly appreciated.

Cheers.

Re: Help! Filebot setup on NAS stopped working out of the bl

Posted: 18 Nov 2014, 15:37
by rednoah
From what it looks like...

* You did update the FileBot.jar (now using 4.5+)
* You did not update filebot.sh (now using 3.8, 4.0, or something but definitely not the one for 4.5+)

Re: Help! Filebot setup on NAS stopped working out of the bl

Posted: 18 Nov 2014, 15:59
by ricarva
Yup, that was it.

I did update filebot.sh, but forgot to rename it to just "filebot".

Thanks for the help!