root@Greenyserver:/mnt/cache/.apps/filebot# ./filebot.sh
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/java/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.EventQueue.<clinit>(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Got the same error when running the .jar file directly. Any ideas?
With no arguments it'll try to start the GUI => will fail if you only got headless since it can't load the window toolkit.
Alright, that seems to work better!
Another question. I am unable to run Filebot by just running "filebot -help". I have to use "java -jar FileBot.jar -help". Is there a way to shorten that down to what you suggested?
root@Greenyserver:~# java -jar /mnt/cache/.apps/filebot/FileBot.jar -extract /mnt/user/Torrents/Sherlock.S01.720p.BluRay.x264-SCC/Sherlock.S01E01.720p.BluRay.x264-AVCHD/avchd-sherlock.s01e01.720p.bluray.x264.r00
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/java/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.jna.Platform.<clinit>(Platform.java:68)
at net.sourceforge.filebot.Analytics.getUserAgent(Unknown Source)
at net.sourceforge.filebot.Analytics.getConfig(Unknown Source)
at net.sourceforge.filebot.Analytics.getTracker(Unknown Source)
at net.sourceforge.filebot.Analytics.trackView(Unknown Source)
at net.sourceforge.filebot.Analytics.trackView(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
root@Greenyserver:/mnt/cache/.apps/filebot# ./filebot.sh -extract /mnt/user/Torrents/Sherlock.S01.720p.BluRay.x264-SCC/Sherlock.S01E02.720p.BluRay.x264-AVCHD/avchd-sherlock.s01e02.720p.bluray.x264.rar -no-analytics --output /mnt/user/Torrents
UnsatisfiedLinkError: /usr/lib/java/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /usr/lib/java/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
at sun.awt.DebugHelper.<clinit>(Unknown Source)
at java.awt.Component.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.jna.Platform.<clinit>(Platform.java:68)
at net.sourceforge.filebot.archive.SevenZipLoader.requireNativeLibraries(Unknown Source)
at net.sourceforge.filebot.archive.SevenZipLoader.open(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.filebot.archive.Archive.<init>(Unknown Source)
at net.sourceforge.filebot.cli.CmdlineOperations.extract(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (?_?)
There's a good chance to that 7-Zip native integration doesn't work since the required native libraries are not compatible embedded Linux. If you're lucky the generic Linux libs might work, though for most devices they don't.
root@Greenyserver:~# /mnt/cache/.apps/filebot/filebot.sh -extract "/mnt/user/Torrents/Homeland.S01.PROPER.720p.BluRay.x264-SCC/Homeland.S01E01.720p.BluRay.x264-SiNNERS/homeland.s01e01.720p.bluray.x264-sinners.rar" --output /mnt/user/Torrents
Oct 24, 2012 10:41:21 PM net.sourceforge.tuned.prefs.FilePreferencesFactory getPreferencesFile
INFO: Preferences file is /root/prefs.properties
Oct 24, 2012 10:41:21 PM net.sourceforge.filebot.archive.SevenZipLoader requireNativeLibraries
WARNING: Failed to preload library: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Platform
UnsatisfiedLinkError: no 7-Zip-JBinding in java.library.path
java.lang.UnsatisfiedLinkError: no 7-Zip-JBinding in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at net.sourceforge.filebot.archive.SevenZipLoader.requireNativeLibraries(Unknown Source)
at net.sourceforge.filebot.archive.SevenZipLoader.open(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.filebot.archive.Archive.<init>(Unknown Source)
at net.sourceforge.filebot.cli.CmdlineOperations.extract(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (°_°)
Like I said, if you're lucky the one for Linux 32-bit will work out of the box, if not you have no choice but to compile it yourself (and I can't help you with that): https://github.com/borisbrodski/sevenzipjbinding#readme
Did this ever end up working on unraid? I'm curious about setting up a torrent client for my unraid server to let it do the downloading and renaming instead of my main pc.