Errors JNA and MediaInfo on command "fn:sysinfo"

Support for Ubuntu and other Desktop Linux distributions
Post Reply
suryax
Posts: 2
Joined: 07 Mar 2017, 15:20

Errors JNA and MediaInfo on command "fn:sysinfo"

Post by suryax »

Hello,

I'm trying to run FileBot on my Raspberry pi 3 with OSMC.

Following this tutorial (https://discourse.osmc.tv/t/howto-insta ... info/22674),

When hitting

Code: Select all

sudo ./filebot.sh -script "fn:sysinfo"
I get this:

Code: Select all

FileBot 4.7.7 (r4678)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path ([file:/opt/share/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-02-20 (r481)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 177 MB Max Memory / 9 MB Used Memory
OS: Linux (arm)
Package: IPKG
Data: /opt/share/filebot/data/root
uname: Linux SuryaCinema 4.4.27-7-osmc #1 SMP PREEMPT Tue Jan 24 03:38:31 UTC 2017 armv7l GNU/Linux

------------------- UPDATE AVAILABLE: FileBot 4.7.8 (r4842) --------------------

Done ヾ(@⌒ー⌒@)ノ
How can I fix these errors ?

Code: Select all

JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path ([file:/opt/share/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
Thank you!
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Errors JNA and MediaInfo on command "fn:sysinfo"

Post by rednoah »

1.
FileBot wrote:

Code: Select all

------------------- UPDATE AVAILABLE: FileBot 4.7.8 (r4842) --------------------
I think it's trying to tell you something...

:idea: Have you tried the filebot_4.7.8_armhf.deb package?


2.
If you need help with a tutorial, and it's probably best if you ask the person that wrote the tutorial for help. The tutorial seems to be mostly about how to install the JNA and MediaInfo native libraries, which is what you're missing, according the the logs.
:idea: Please read the FAQ and How to Request Help.
suryax
Posts: 2
Joined: 07 Mar 2017, 15:20

Re: Errors JNA and MediaInfo on command "fn:sysinfo"

Post by suryax »

Thank you for the prompt reply!

Now that I've installed the new package as suggested. Seems like it's better now:

Code: Select all

FileBot 4.7.8 (r4846)
JNA Native: 5.1.0
MediaInfo: 0.7.73
7-Zip-JBinding: 9.20
mars 07, 2017 5:29:01 PM java.util.prefs.FileSystemPreferences$1 run
INFOS: Created user preferences directory.
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2017-02-20 (r481)
Groovy: 2.4.8
JRE: Java(TM) SE Runtime Environment 1.8.0_121
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 177 MB Max Memory / 16 MB Used Memory
OS: Linux (arm)
Package: DEB
Data: /root/.filebot
uname: Linux SuryaCinema 4.4.27-7-osmc #1 SMP PREEMPT Tue Jan 24 03:38:31 UTC 2017 armv7l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
It has been installed in "/usr/share/filebot" and not "/opt/share/filebot".

I'm wondering what's the difference and if it's ok like that?

Edit: Everything ok! Thank you!
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Errors JNA and MediaInfo on command "fn:sysinfo"

Post by rednoah »

It's a standard Debian package, so it'll install to /usr like any other Debian package.
:idea: Please read the FAQ and How to Request Help.
Post Reply