FIlebot on Opensuse Tumbleweed
FIlebot on Opensuse Tumbleweed
Hey been at this for 3 hours now. I can't seem to get filebot to work ever since I moved over to Tumblweed. I keep getting the error "MOVE: NoClassDefFoundError: javafx/concurrent/Worker". A bit of Googling told me that this error message occurs when JavaFX isn't installed. So I tried instaling openjfx8, I already had the other dependencies mediainfo, p7zip and its plugins, jna, java-1_8_0-openjdk. I've tried installing java 11 completely, so that the only version of java on my system was the one listed as a dependency. I have confirmed that it is the default version of java that is being triggered when I call java via terminal. However, filebot can not seem to find javafx. I even tried the portal version, but it had different errors. I decided to stick with the error I had already spent time on, than dealing with the new one. Any help would be appreciated.
Recap:
OS: Opensuse Tumbleweed
Error: MOVE: "NoClassDefFoundError: javafx/concurrent/Worker"
Installed Packages: Pzip/plugins, mediainfo, openjfx8, jna, java-1_8_0-openjdk
Recap:
OS: Opensuse Tumbleweed
Error: MOVE: "NoClassDefFoundError: javafx/concurrent/Worker"
Installed Packages: Pzip/plugins, mediainfo, openjfx8, jna, java-1_8_0-openjdk
Re: FIlebot on Opensuse Tumbleweed
Code: Select all
May 03, 2020 9:45:02 AM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: hostname: hostname: Name or service not known
java.net.UnknownHostException: hostnamei: hostname: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.CacheManager.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.cli.ScriptSource.getCache(Unknown Source)
at net.filebot.cli.ScriptSource$1.getScriptProvider(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.net.UnknownHostException: hostname: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
... 8 more
Code: Select all
FileBot 4.9.2 (r7492) JDK8
JNA Native: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
MediaInfo: java.lang.NoClassDefFoundError: Lcom/sun/jna/Pointer;
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: java.io.IOException: Cannot run program "unrar": error=2, No such file or directory
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
CPU/MEM: 4 Core / 3.7 GB Max Memory / 89 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 60 GB | btrfs [/.snapshots] @ 60 GB | btrfs [/srv] @ 60 GB | btrfs [/tmp] @ 60 GB | btrfs [/root] @ 60 GB | btrfs [/usr/local] @ 60 GB | btrfs [/opt] @ 60 GB | btrfs [/var] @ 60 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Re: FIlebot on Opensuse Tumbleweed
It appears that you have 3 distinct unrelated issues:
1. Unable to set localhost
2. JNA not working
3. JavaFX not working
What does ls -l /usr/share/filebot/jar/ say?
This will help us investigate (2.) JNA.
No clue on (1.) but a Google search reveals many possible solutions.
No clue on (3.) so my next step would be to check if JavaFX is actually installed by checking the file system to see if the files that should be there are indeed there. You may also contact the maintainers of the JavaFX package for your platform.
1. Unable to set localhost
2. JNA not working
3. JavaFX not working
What does ls -l /usr/share/filebot/jar/ say?
Code: Select all
ls -l /usr/share/filebot/jar/
No clue on (1.) but a Google search reveals many possible solutions.
No clue on (3.) so my next step would be to check if JavaFX is actually installed by checking the file system to see if the files that should be there are indeed there. You may also contact the maintainers of the JavaFX package for your platform.
Re: FIlebot on Opensuse Tumbleweed
total 125564
-rw-r--r-- 1 root root 146430 May 1 09:12 activation.jar
-rw-r--r-- 1 root root 336225 May 1 09:12 args4j.jar
-rw-r--r-- 1 root root 592806 May 1 09:12 bcpg.jar
-rw-r--r-- 1 root root 1650214 May 1 09:12 bcpkix.jar
-rw-r--r-- 1 root root 7963477 May 1 09:12 bcprov.jar
-rw-r--r-- 1 root root 28049 May 1 09:12 bencode.jar
-rw-r--r-- 1 root root 2310112 May 1 09:12 caffeine.jar
-rw-r--r-- 1 root root 122469 May 1 09:12 commons-email.jar
-rw-r--r-- 1 root root 443812 May 1 09:12 commons-io.jar
-rw-r--r-- 1 root root 140895 May 1 09:12 commons-logging.jar
-rw-r--r-- 1 root root 623381 May 1 09:12 commons-net.jar
-rw-r--r-- 1 root root 1173974 May 1 09:12 commons-vfs2.jar
-rw-r--r-- 1 root root 3090152 May 1 09:12 controlsfx.jar
-rw-r--r-- 1 root root 694694 May 1 09:12 darcula.jar
-rw-r--r-- 1 root root 23086637 May 1 09:12 ehcache.jar
-rw-r--r-- 1 root root 6303 May 1 09:12 failureaccess.jar
-rw-r--r-- 1 root root 3737402 May 1 09:12 filebot.jar
-rw-r--r-- 1 root root 1943913 May 1 09:12 glazedlists.jar
-rw-r--r-- 1 root root 53773 May 1 09:12 groovy-datetime.jar
-rw-r--r-- 1 root root 25895 May 1 09:12 groovy-dateutil.jar
-rw-r--r-- 1 root root 19202661 May 1 09:12 groovy.jar
-rw-r--r-- 1 root root 269396 May 1 09:12 groovy-json.jar
-rw-r--r-- 1 root root 45004 May 1 09:12 groovy-jsr223.jar
-rw-r--r-- 1 root root 93786 May 1 09:12 groovy-nio.jar
-rw-r--r-- 1 root root 915361 May 1 09:12 groovy-swing.jar
-rw-r--r-- 1 root root 210965 May 1 09:12 groovy-templates.jar
-rw-r--r-- 1 root root 605404 May 1 09:12 groovy-xml.jar
-rw-r--r-- 1 root root 6502044 May 1 09:12 guava.jar
-rw-r--r-- 1 root root 29182889 May 1 09:12 icu4j.jar
-rw-r--r-- 1 root root 60963 May 1 09:12 imgscalr.jar
-rw-r--r-- 1 root root 3195882 May 1 09:12 ivy.jar
-rw-r--r-- 1 root root 1303036 May 1 09:12 javax.mail.jar
-rw-r--r-- 1 root root 274862 May 1 09:12 jaxb-api.jar
-rw-r--r-- 1 root root 2019730 May 1 09:12 jaxb-impl.jar
lrwxrwxrwx 1 root root 21 May 1 09:12 jna.jar -> /usr/lib/java/jna.jar
-rw-r--r-- 1 root root 2680947 May 1 09:12 jna-platform.jar
-rw-r--r-- 1 root root 249520 May 1 09:12 json-io.jar
-rw-r--r-- 1 root root 815375 May 1 09:12 jsoup.jar
-rw-r--r-- 1 root root 320725 May 1 09:12 junrar.jar
-rw-r--r-- 1 root root 4361485 May 1 09:12 language-detector.jar
-rw-r--r-- 1 root root 1260362 May 1 09:12 lanterna.jar
-rw-r--r-- 1 root root 1427673 May 1 09:12 metadata-extractor.jar
-rw-r--r-- 1 root root 233827 May 1 09:12 miglayout-core.jar
-rw-r--r-- 1 root root 44299 May 1 09:12 miglayout-swing.jar
-rw-r--r-- 1 root root 3101282 May 1 09:12 rsyntaxtextarea.jar
-rw-r--r-- 1 root root 131898 May 1 09:12 sevenzipjbinding.jar
-rw-r--r-- 1 root root 303954 May 1 09:12 simmetrics-core.jar
-rw-r--r-- 1 root root 92931 May 1 09:12 slf4j-api.jar
-rw-r--r-- 1 root root 16770 May 1 09:12 slf4j-jdk14.jar
-rw-r--r-- 1 root root 823251 May 1 09:12 streamex.jar
-rw-r--r-- 1 root root 86255 May 1 09:12 xmlrpc.jar
-rw-r--r-- 1 root root 277135 May 1 09:12 xmpcore.jar
-rw-r--r-- 1 root root 187014 May 1 09:12 xz.jar
Can we move this to discord so i can reply faster by actually knowing when you replied?
-rw-r--r-- 1 root root 146430 May 1 09:12 activation.jar
-rw-r--r-- 1 root root 336225 May 1 09:12 args4j.jar
-rw-r--r-- 1 root root 592806 May 1 09:12 bcpg.jar
-rw-r--r-- 1 root root 1650214 May 1 09:12 bcpkix.jar
-rw-r--r-- 1 root root 7963477 May 1 09:12 bcprov.jar
-rw-r--r-- 1 root root 28049 May 1 09:12 bencode.jar
-rw-r--r-- 1 root root 2310112 May 1 09:12 caffeine.jar
-rw-r--r-- 1 root root 122469 May 1 09:12 commons-email.jar
-rw-r--r-- 1 root root 443812 May 1 09:12 commons-io.jar
-rw-r--r-- 1 root root 140895 May 1 09:12 commons-logging.jar
-rw-r--r-- 1 root root 623381 May 1 09:12 commons-net.jar
-rw-r--r-- 1 root root 1173974 May 1 09:12 commons-vfs2.jar
-rw-r--r-- 1 root root 3090152 May 1 09:12 controlsfx.jar
-rw-r--r-- 1 root root 694694 May 1 09:12 darcula.jar
-rw-r--r-- 1 root root 23086637 May 1 09:12 ehcache.jar
-rw-r--r-- 1 root root 6303 May 1 09:12 failureaccess.jar
-rw-r--r-- 1 root root 3737402 May 1 09:12 filebot.jar
-rw-r--r-- 1 root root 1943913 May 1 09:12 glazedlists.jar
-rw-r--r-- 1 root root 53773 May 1 09:12 groovy-datetime.jar
-rw-r--r-- 1 root root 25895 May 1 09:12 groovy-dateutil.jar
-rw-r--r-- 1 root root 19202661 May 1 09:12 groovy.jar
-rw-r--r-- 1 root root 269396 May 1 09:12 groovy-json.jar
-rw-r--r-- 1 root root 45004 May 1 09:12 groovy-jsr223.jar
-rw-r--r-- 1 root root 93786 May 1 09:12 groovy-nio.jar
-rw-r--r-- 1 root root 915361 May 1 09:12 groovy-swing.jar
-rw-r--r-- 1 root root 210965 May 1 09:12 groovy-templates.jar
-rw-r--r-- 1 root root 605404 May 1 09:12 groovy-xml.jar
-rw-r--r-- 1 root root 6502044 May 1 09:12 guava.jar
-rw-r--r-- 1 root root 29182889 May 1 09:12 icu4j.jar
-rw-r--r-- 1 root root 60963 May 1 09:12 imgscalr.jar
-rw-r--r-- 1 root root 3195882 May 1 09:12 ivy.jar
-rw-r--r-- 1 root root 1303036 May 1 09:12 javax.mail.jar
-rw-r--r-- 1 root root 274862 May 1 09:12 jaxb-api.jar
-rw-r--r-- 1 root root 2019730 May 1 09:12 jaxb-impl.jar
lrwxrwxrwx 1 root root 21 May 1 09:12 jna.jar -> /usr/lib/java/jna.jar
-rw-r--r-- 1 root root 2680947 May 1 09:12 jna-platform.jar
-rw-r--r-- 1 root root 249520 May 1 09:12 json-io.jar
-rw-r--r-- 1 root root 815375 May 1 09:12 jsoup.jar
-rw-r--r-- 1 root root 320725 May 1 09:12 junrar.jar
-rw-r--r-- 1 root root 4361485 May 1 09:12 language-detector.jar
-rw-r--r-- 1 root root 1260362 May 1 09:12 lanterna.jar
-rw-r--r-- 1 root root 1427673 May 1 09:12 metadata-extractor.jar
-rw-r--r-- 1 root root 233827 May 1 09:12 miglayout-core.jar
-rw-r--r-- 1 root root 44299 May 1 09:12 miglayout-swing.jar
-rw-r--r-- 1 root root 3101282 May 1 09:12 rsyntaxtextarea.jar
-rw-r--r-- 1 root root 131898 May 1 09:12 sevenzipjbinding.jar
-rw-r--r-- 1 root root 303954 May 1 09:12 simmetrics-core.jar
-rw-r--r-- 1 root root 92931 May 1 09:12 slf4j-api.jar
-rw-r--r-- 1 root root 16770 May 1 09:12 slf4j-jdk14.jar
-rw-r--r-- 1 root root 823251 May 1 09:12 streamex.jar
-rw-r--r-- 1 root root 86255 May 1 09:12 xmlrpc.jar
-rw-r--r-- 1 root root 277135 May 1 09:12 xmpcore.jar
-rw-r--r-- 1 root root 187014 May 1 09:12 xz.jar
Can we move this to discord so i can reply faster by actually knowing when you replied?
Re: FIlebot on Opensuse Tumbleweed
Does the version of JFX you have installed match the version of JDK? The versions should usually match, but it can help to verify that you have all of the packages installed.
This output is from Fedora, but both distributions use RPM. In the example, you can see packages for java-1.8.0 jdk, jfx, and the symlinks package.
This looks complicated, and it might be that OpenSuse packages this differently. Tumbleweed is a rolling distribution, and thus a moving target. It might be that the packager does not include the symlinks you need.
https://wiki.openjdk.java.net/display/O ... ithOpenJDK
https://en.opensuse.org/SDB:Installing_Java
This output is from Fedora, but both distributions use RPM. In the example, you can see packages for java-1.8.0 jdk, jfx, and the symlinks package.
Code: Select all
$ rpm -qa *jdk*
java-1.8.0-openjdk-1.8.0.242.b08-0.fc31.x86_64
java-1.8.0-openjdk-headless-1.8.0.242.b08-0.fc31.x86_64
java-1.8.0-openjdk-openjfx-1.8.0.242.b08-0.fc31.x86_64
copy-jdk-configs-3.7-4.fc31.noarch
$ rpm -qa *jfx*
java-1.8.0-openjdk-openjfx-1.8.0.242.b08-0.fc31.x86_64
openjfx-8.0.202-8.b07.fc31.x86_64
https://wiki.openjdk.java.net/display/O ... ithOpenJDK
https://en.opensuse.org/SDB:Installing_Java
Re: FIlebot on Opensuse Tumbleweed
To my knowledge I am using the same version of jfx as I am with jdk. There are too packages in the opensuse repositories. openjfx and openjfx8. I am using openjfx8 to go along with java-1_8_0-openjdk. I've typed the packages as they are named in opensuse. I'll look into the links you have made though.
Re: FIlebot on Opensuse Tumbleweed
Alright I've read through the two links you provided, and honestly what the hell was that. So do I need to install Oracle's Java rather than the openjdk that comes in most linux repositories? The installing java page on opensuse looks like I'm recreating the java directory structure. Almost like manually doing what installing a rpm should do. Is there some way to call filebot while linking to the files it needs. I could then add that to its desktop file, because the pages you linked to look hella complicated.
Re: FIlebot on Opensuse Tumbleweed
I found a third party repo that provides javafx under essentially the same name as the fedora package. I'm going to try uninstalling openjfx8 and install the package found here https://software.opensuse.org/package/j ... _0-openjfx
Re: FIlebot on Opensuse Tumbleweed
Re: JNA,
The next step is to verify that this symlink actually links to jna.jar installed by the JNA package:
Re: JavaFX,
Oracle JDK 8 is an option because the OracleJDK includes JavaFX, while OpenJDK does not. The OpenJDK / OpenJFX combo should work out of the box though. The OpenJFX package would typically add the missing files to the OpenJDK installation folder, and then things just work. I suppose something is going awry there, but only the OpenJFX maintainers for your platform can fix that.
I'm no expert on RPM, but perhaps there are some commands that can help you see which package installs which file paths. And then compare the OpenJDK and OpenJFX package to ensure that they align.
The next step is to verify that this symlink actually links to jna.jar installed by the JNA package:
Code: Select all
lrwxrwxrwx 1 root root 21 May 1 09:12 jna.jar -> /usr/lib/java/jna.jar
Re: JavaFX,
Oracle JDK 8 is an option because the OracleJDK includes JavaFX, while OpenJDK does not. The OpenJDK / OpenJFX combo should work out of the box though. The OpenJFX package would typically add the missing files to the OpenJDK installation folder, and then things just work. I suppose something is going awry there, but only the OpenJFX maintainers for your platform can fix that.
I'm no expert on RPM, but perhaps there are some commands that can help you see which package installs which file paths. And then compare the OpenJDK and OpenJFX package to ensure that they align.
Re: FIlebot on Opensuse Tumbleweed
List of java packages I have installed now
java-1_8_0-openjdk-1.8.0.242-4.1.x86_64
java-1_8_0-openjdk-headless-1.8.0.242-4.1.x86_64
java-1_8_0-openjfx-8u999~b00-5.8.x86_64
After installing this package here is the output of the earlier command:
May 03, 2020 11:45:55 AM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: hostname: hostname: Name or service not known
java.net.UnknownHostException: hostname: hostname: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.CacheManager.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.cli.ScriptSource.getCache(Unknown Source)
at net.filebot.cli.ScriptSource$1.getScriptProvider(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.net.UnknownHostException: reki: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
... 8 more
FileBot 4.9.2 (r7492) JDK8
JNA Native: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
MediaInfo: java.lang.NoClassDefFoundError: Lcom/sun/jna/Pointer;
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
CPU/MEM: 4 Core / 3.7 GB Max Memory / 84 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 59 GB | btrfs [/.snapshots] @ 59 GB | btrfs [/srv] @ 59 GB | btrfs [/tmp] @ 59 GB | btrfs [/root] @ 59 GB | btrfs [/usr/local] @ 59 GB | btrfs [/opt] @ 59 GB | btrfs [/var] @ 59 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Done ヾ(@⌒ー⌒@)ノ
java-1_8_0-openjdk-1.8.0.242-4.1.x86_64
java-1_8_0-openjdk-headless-1.8.0.242-4.1.x86_64
java-1_8_0-openjfx-8u999~b00-5.8.x86_64
After installing this package here is the output of the earlier command:
May 03, 2020 11:45:55 AM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: hostname: hostname: Name or service not known
java.net.UnknownHostException: hostname: hostname: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.CacheManager.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.cli.ScriptSource.getCache(Unknown Source)
at net.filebot.cli.ScriptSource$1.getScriptProvider(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.net.UnknownHostException: reki: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
... 8 more
FileBot 4.9.2 (r7492) JDK8
JNA Native: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
MediaInfo: java.lang.NoClassDefFoundError: Lcom/sun/jna/Pointer;
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
NoClassDefFoundError: com/sun/jna/Platform
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: groovy.lang.MissingPropertyException: No such property: com for class: Script1
Possible solutions: log, now
CPU/MEM: 4 Core / 3.7 GB Max Memory / 84 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 59 GB | btrfs [/.snapshots] @ 59 GB | btrfs [/srv] @ 59 GB | btrfs [/tmp] @ 59 GB | btrfs [/root] @ 59 GB | btrfs [/usr/local] @ 59 GB | btrfs [/opt] @ 59 GB | btrfs [/var] @ 59 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Done ヾ(@⌒ー⌒@)ノ
Re: FIlebot on Opensuse Tumbleweed
Yast can do the things you are asking for, so no need to mess around with rpm. If you can tell me what file paths I am supposed to be looking for. I'll report back with what actually happened according to yast.
Re: FIlebot on Opensuse Tumbleweed
/usr/lib/java this path does not exist. However the path /usr/lib64/java/jna.jar does exist. According to pages you linked before. "if your system has a 64-bit architecture, any occurrence of /usr/lib must be replaced with /usr/lib64" this was apart of the instructions when installing oracle java. It seems to still hold true when installing openjdk via the package manager.
Re: FIlebot on Opensuse Tumbleweed
I changed the symlink to point to the /usr/lib64 as dictated by opensuse on 64 bit machines. The new output of the earlier command is much shorter and without the error message from earlier I'll try and run it to confirm things work, but for now here is the output:
May 03, 2020 11:56:13 AM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: reki: reki: Name or service not known
java.net.UnknownHostException: hostname: hostname: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.CacheManager.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.cli.ScriptSource.getCache(Unknown Source)
at net.filebot.cli.ScriptSource$1.getScriptProvider(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.net.UnknownHostException: reki: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
... 8 more
FileBot 4.9.2 (r7492) JDK8
JNA Native: 6.1.0
MediaInfo: 20.03
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3.7 GB Max Memory / 64 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 59 GB | btrfs [/.snapshots] @ 59 GB | btrfs [/srv] @ 59 GB | btrfs [/tmp] @ 59 GB | btrfs [/root] @ 59 GB | btrfs [/usr/local] @ 59 GB | btrfs [/opt] @ 59 GB | btrfs [/var] @ 59 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Comments: Seems like the only thing left is the localhost issue. Which may have something to do with opensuse's rediculously strong firewall that doesn't seem to let anything through by default.
May 03, 2020 11:56:13 AM net.sf.ehcache.Cache <clinit>
SEVERE: Unable to set localhost. This prevents creation of a GUID. Cause was: reki: reki: Name or service not known
java.net.UnknownHostException: hostname: hostname: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1506)
at net.sf.ehcache.Cache.<clinit>(Cache.java:222)
at net.filebot.CacheManager.getCache(Unknown Source)
at net.filebot.Cache.getCache(Unknown Source)
at net.filebot.cli.ScriptSource.getCache(Unknown Source)
at net.filebot.cli.ScriptSource$1.getScriptProvider(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: java.net.UnknownHostException: reki: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
at java.net.InetAddress.getLocalHost(InetAddress.java:1501)
... 8 more
FileBot 4.9.2 (r7492) JDK8
JNA Native: 6.1.0
MediaInfo: 20.03
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3.7 GB Max Memory / 64 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 59 GB | btrfs [/.snapshots] @ 59 GB | btrfs [/srv] @ 59 GB | btrfs [/tmp] @ 59 GB | btrfs [/root] @ 59 GB | btrfs [/usr/local] @ 59 GB | btrfs [/opt] @ 59 GB | btrfs [/var] @ 59 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Comments: Seems like the only thing left is the localhost issue. Which may have something to do with opensuse's rediculously strong firewall that doesn't seem to let anything through by default.
Re: FIlebot on Opensuse Tumbleweed
The error disappeared from the output of the command, but the original issue still persists when trying to use filebot. Maybe I need to reboot the machine for things to take effect. However, I doubt that is the case.
Re: FIlebot on Opensuse Tumbleweed
Rebooting did not solve anything as expected. Jna issues seem to be solved by changing the symlink as mentioned above. Localhost issue and javafx issue remain.
Re: FIlebot on Opensuse Tumbleweed
In order to solve the localhost issue. The file /etc/hosts needed to be edited to contain my hostname. Here is a play by play.
sudo nano /etc/hosts
find the line that looks like
127.0.0.1 localhost
change it to this
127.0.0.1 localhost hostname
new ouput of filebot -script fn:sysinfo:
FileBot 4.9.2 (r7492) JDK8
JNA Native: 6.1.0
MediaInfo: 20.03
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3.7 GB Max Memory / 58 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 60 GB | btrfs [/.snapshots] @ 60 GB | btrfs [/tmp] @ 60 GB | btrfs [/srv] @ 60 GB | btrfs [/root] @ 60 GB | btrfs [/opt] @ 60 GB | btrfs [/usr/local] @ 60 GB | btrfs [/var] @ 60 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Done ヾ(@⌒ー⌒@)ノ
sudo nano /etc/hosts
find the line that looks like
127.0.0.1 localhost
change it to this
127.0.0.1 localhost hostname
new ouput of filebot -script fn:sysinfo:
FileBot 4.9.2 (r7492) JDK8
JNA Native: 6.1.0
MediaInfo: 20.03
p7zip: p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (806E9),ASM,AES-NI)
unrar: UNRAR 5.90 freeware
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2020-04-20 (r634)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 1.8.0_242
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3.7 GB Max Memory / 58 MB Used Memory
OS: Linux (amd64)
HW: Linux hostname 5.6.6-1-default #1 SMP Wed Apr 22 04:15:55 UTC 2020 (c11f000) x86_64 x86_64 x86_64 GNU/Linux
STORAGE: btrfs [/] @ 60 GB | btrfs [/.snapshots] @ 60 GB | btrfs [/tmp] @ 60 GB | btrfs [/srv] @ 60 GB | btrfs [/root] @ 60 GB | btrfs [/opt] @ 60 GB | btrfs [/usr/local] @ 60 GB | btrfs [/var] @ 60 GB | ext4 [/home] @ 321 GB
DATA: /home/d-air1/.filebot
Package: RPM
License: FileBot License PX11383619 (Valid-Until: 2070-01-25)
Done ヾ(@⌒ー⌒@)ノ
Re: FIlebot on Opensuse Tumbleweed
The output from my command shows the list of installed packages. My understanding is that OpenSuse uses YAST/Zypper, but these are tools that still work with the underlying RPM format. You'll still be able to use `rpm` to inspect local packages.I'm no expert on RPM, but perhaps there are some commands that can help you see which package installs which file paths. And then compare the OpenJDK and OpenJFX package to ensure that they align.
You can view the files using the following on any package listed from the list that my earlier command generates (`$ rpm -qa *jdk*`):
Code: Select all
$ rpm -ql <package_name>
Re: FIlebot on Opensuse Tumbleweed
Let's check file paths that each of these package installs, and compare, and maybe discover something.
What paths does your OpenJDK 8 package install?
What path does your OpenJFX 8 package install?


Re: FIlebot on Opensuse Tumbleweed
Output of rpm -ql for openjdk 8:
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libawt_xawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libicedtea-sound.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsoundalsa.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libsplashscreen.so
/usr/share/icons/hicolor
/usr/share/icons/hicolor/16x16/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-1.8.0-openjdk.png
Ouput of rpm -ql for openjfx8
usr/lib64/jvm/openjfx8
/usr/lib64/jvm/openjfx8/rt
/usr/lib64/jvm/openjfx8/rt/lib
/usr/lib64/jvm/openjfx8/rt/lib/amd64
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libdecora_sse.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglass.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglassgtk2.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglassgtk3.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font_freetype.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font_pango.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_iio.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_common.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_es2.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_sw.so
/usr/lib64/jvm/openjfx8/rt/lib/ext
/usr/lib64/jvm/openjfx8/rt/lib/ext/jfxrt.jar
/usr/lib64/jvm/openjfx8/rt/lib/javafx.properties
/usr/lib64/jvm/openjfx8/rt/lib/jfxswt.jar
/usr/share/doc/packages/openjfx8
/usr/share/doc/packages/openjfx8/README
/usr/share/doc/packages/openjfx8/README.install
/usr/share/licenses/openjfx8
/usr/share/licenses/openjfx8/LICENSE
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libawt_xawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libicedtea-sound.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjawt.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libjsoundalsa.so
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64/libsplashscreen.so
/usr/share/icons/hicolor
/usr/share/icons/hicolor/16x16/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/24x24/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/32x32/apps/java-1.8.0-openjdk.png
/usr/share/icons/hicolor/48x48/apps/java-1.8.0-openjdk.png
Ouput of rpm -ql for openjfx8
usr/lib64/jvm/openjfx8
/usr/lib64/jvm/openjfx8/rt
/usr/lib64/jvm/openjfx8/rt/lib
/usr/lib64/jvm/openjfx8/rt/lib/amd64
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libdecora_sse.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglass.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglassgtk2.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libglassgtk3.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font_freetype.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_font_pango.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libjavafx_iio.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_common.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_es2.so
/usr/lib64/jvm/openjfx8/rt/lib/amd64/libprism_sw.so
/usr/lib64/jvm/openjfx8/rt/lib/ext
/usr/lib64/jvm/openjfx8/rt/lib/ext/jfxrt.jar
/usr/lib64/jvm/openjfx8/rt/lib/javafx.properties
/usr/lib64/jvm/openjfx8/rt/lib/jfxswt.jar
/usr/share/doc/packages/openjfx8
/usr/share/doc/packages/openjfx8/README
/usr/share/doc/packages/openjfx8/README.install
/usr/share/licenses/openjfx8
/usr/share/licenses/openjfx8/LICENSE
Re: FIlebot on Opensuse Tumbleweed
Anyways what I meant by yast can provide that information was that it has gui frontend for working with rpm. It can show what an individual package provides, requires, what it obsoletes and more. Yast list all of those directories above, but also mentions that the package openfx8 obsoletes the package java-1_8_0-openjfx
Re: FIlebot on Opensuse Tumbleweed
Well, that can't work, since openjfx8 is separate from java-1.8.0-openjdk-1.8.0, the JRE won't be able to find any JavaFX libraries by default.
Try merging /usr/lib64/jvm/openjfx8/rt/lib into /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib.

Re: FIlebot on Opensuse Tumbleweed
Alright instead of merging the two directories I decided to uninstall openjfx8. Went back to the third party repo above that provided the version of openjfx that openjfx8 obsoletes on opensuse. Installed that and now Filebot works again. In case anyone else has these problems here is a short recap on how this problem was solved on openSuse Tumbleweed.
1.Fix the symlink in /usr/share/filebot/jar/jna.jar to point to /usr/lib64/java/jna.jar
2. edit /etc/host to include your hostname after locahost. See the example above for step by step.
3. Uninstall openjfx or openjfx8 and install java-1_8_0-openjfx from one of the third party repos here https://software.opensuse.org/package/j ... _0-openjfx
Thanks for your help. Is there anything that can be done for other users that may encounter this problem other than the steps I've listed out for them?
1.Fix the symlink in /usr/share/filebot/jar/jna.jar to point to /usr/lib64/java/jna.jar
2. edit /etc/host to include your hostname after locahost. See the example above for step by step.
3. Uninstall openjfx or openjfx8 and install java-1_8_0-openjfx from one of the third party repos here https://software.opensuse.org/package/j ... _0-openjfx
Thanks for your help. Is there anything that can be done for other users that may encounter this problem other than the steps I've listed out for them?
Re: FIlebot on Opensuse Tumbleweed
1. Would require a dedicated package for this particular flavor of Linux. I'd rather not support all the Linuxes personally, but perhaps a 3rd party would like to take on the job. In this case, one might consider embedding the latest Java and JavaFX and all the other dependencies to completely bypass the dependency hell of (3.) though at the cost of having to maintain dedicated packages for all CPU architectures (i.e. drop support for everything but amd64).Seriously wrote: ↑03 May 2020, 18:51 1.Fix the symlink in /usr/share/filebot/jar/jna.jar to point to /usr/lib64/java/jna.jar
2. edit /etc/host to include your hostname after locahost. See the example above for step by step.
3. Uninstall openjfx or openjfx8 and install java-1_8_0-openjfx from one of the third party repos here https://software.opensuse.org/package/j ... _0-openjfx
Thanks for your help. Is there anything that can be done for other users that may encounter this problem other than the steps I've listed out for them?
2. Nothing we can do about that. It's a system configuration problem that breaks ehcache which isn't my code.
3. You could try messaging the maintainers of the OpenJFX package(s) that don't work as expected (i.e. don't integrate with OpenJDK by default)
EDIT:

https://snapcraft.io/filebot
Re: FIlebot on Opensuse Tumbleweed
I'll look to see if I can get a hold of the package maintainers. I personally prefer appimage and flatpaks myself. Although snaps will certainly help others. Anyways thanks again.