JNA 5.2.0 error

Support for Ubuntu and other Desktop Linux distributions
Post Reply
Ruben
Posts: 2
Joined: 23 Jan 2018, 16:44

JNA 5.2.0 error

Post by Ruben »

Hello!

I am currently running this version of Filebot on Ubuntu:

Code: Select all

FileBot 4.7.14 (r5247) / Java(TM) SE Runtime Environment 1.8.0_161 / Linux 4.14.5-92 (arm)
Everything works smoothly (renaming, fetching artwork for series...)

But every time I try to fetch artwork from tmdb, I get the following error:

Code: Select all

There is an incompatible JNA native library installed on this system
Expected: 5.2.0
Found:    5.1.0
/root/Software/Filebot:/root/Software/Filebot/lib/armv7l:/usr/java/packages/lib/arm:/lib:/usr/lib.
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the 
   jnidispatch library included with the JNA jar file you are using

java.lang.Error: 

There is an incompatible JNA native library installed on this system
Expected: 5.2.0
Found:    5.1.0
/root/Software/Filebot:/root/Software/Filebot/lib/armv7l:/usr/java/packages/lib/arm:/lib:/usr/lib.
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the 
   jnidispatch library included with the JNA jar file you are using

	at com.sun.jna.Native.<clinit>(Native.java:199)
	at net.filebot.mediainfo.MediaInfoLibrary.<clinit>(MediaInfoLibrary.java:19)
	at net.filebot.mediainfo.MediaInfo.<init>(MediaInfo.java:29)
	at net.filebot.mediainfo.MediaInfo.snapshot(MediaInfo.java:269)
	at net.filebot.mediainfo.MediaInfo$snapshot.call(Unknown Source)
	at Script2$_fetchMovieNfo_closure10.doCall(Script2.groovy:251)
	at Script2$_fetchMovieNfo_closure10.doCall(Script2.groovy)
	at net.filebot.cli.ScriptShellBaseClass.tryLogCatch(ScriptShellBaseClass.java:141)
	at Script2.fetchMovieNfo(Script2.groovy:251)
	at Script2$_fetchMovieArtworkAndNfo_closure12.doCall(Script2.groovy:330)
	at Script2$_fetchMovieArtworkAndNfo_closure12.doCall(Script2.groovy)
	at net.filebot.cli.ScriptShellBaseClass.tryLogCatch(ScriptShellBaseClass.java:141)
	at Script2.fetchMovieArtworkAndNfo(Script2.groovy:326)
	at Script1$_run_closure3$_closure11.doCall(Script1.groovy:49)
	at Script1$_run_closure3$_closure11.doCall(Script1.groovy)
	at net.filebot.cli.ScriptShellBaseClass.tryLogCatch(ScriptShellBaseClass.java:141)
	at Script1$_run_closure3.doCall(Script1.groovy:48)
	at net.filebot.cli.ScriptShellMethods.eachMediaFolder(ScriptShellMethods.java:218)
	at Script1.run(Script1.groovy:10)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
	at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:127)
	at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:29)
	at net.filebot.Main.main(Main.java:111)


Could anybody please help me? Maybe explain how I could replace the JNA 5.1.0 with JNA 5.2.0 or something?

Kind regards
Ruben
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JNA 5.2.0 error

Post by rednoah »

You'll have to manually replace the jnidispatch.so native library with the latest version. You can find the latest library in the JNA repository. You may have to extract the one for your platform from the release jar.
:idea: Please read the FAQ and How to Request Help.
Ruben
Posts: 2
Joined: 23 Jan 2018, 16:44

Re: JNA 5.2.0 error

Post by Ruben »

And where could I find this package? I have been looking for it for the better part of an hour and can't seem to find version 5.2.0 :(
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JNA 5.2.0 error

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply