Error getting information from file

Support for Ubuntu and other Desktop Linux distributions
Post Reply
giacomo
Posts: 1
Joined: 24 May 2017, 14:20

Error getting information from file

Post by giacomo »

Hi guys! I just updated FileBot to the latest version available, exactly the 4.7.10 (r5066)
I'm using Ubuntu Server so I'm using the script via CLI.
The problem happens everytime I use
/opt/filebot/./filebot.sh -rename * --db TheMovieDB --format "/home/plex/ACD/tomove/film/{n} ({y}) - {vf}" -non-strict --lang it
that tries to determine which resolution has the file but it can't get it and I don't know exactly why!
Here's the report using filebot -script fn:sysinfo
FileBot 4.7.10 (r5066)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/opt/filebot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-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-05-15 (r500)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_131
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
uname: Linux ns3045535.ip-5-39-90.eu 3.14.32-xxxx-grs-ipv6-64 #9 SMP Thu Oct 20 14:53:52 CEST 2016 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Thanks for your help and for this awesome script/program!!
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error getting information from file

Post by rednoah »

How did you "install" FileBot? You're missing all the native dependencies.


libjnidispatch.so is not working:

Code: Select all

JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/opt/filebot/FileBot.jar])
libmediainfo.so (required for reading media info) is not working because libjnidispatch.so is not working:

Code: Select all

MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
fpcalc (from chromaprint-tools) is not in the $PATH:

Code: Select all

Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
:idea: Please read the FAQ and How to Request Help.
Post Reply