FileBot 4.7.5 (r4619) sysinfo errors

All your suggestions, requests and ideas for future development
Post Reply
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

Hi,

with the same actual lib files I receive before the update

Code: Select all


FileBot 4.7.5 (r4603)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 18 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot

and after the update

Code: Select all


FileBot 4.7.5 (r4619)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/Portable%20Applications/Platform/PortableApps/FileBot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 20 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot

What's wrong?

Kind regards,

Sheldon
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

1.
Why 32-bit? I recommend using 64-bit everything.

2.
You need to download all the native libraries. You only downloaded some of them. The old release just accidentally kinda worked.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

After I downloaded the 64-bit files

Code: Select all


7-Zip-JBinding.dll
fpcalc.exe
gcc_s_seh-1.dll
jnidispatch.dll
MediaInfo.dll

I receive

Code: Select all


FileBot 4.7.5 (r4619)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/Portable%20Applications/Platform/PortableApps/FileBot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: D:\Portable Applications\Platform\PortableApps\FileBot\Lib\7-Zip-JBinding.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
Chromaprint: java.io.IOException: Cannot run program "D:\Portable Applications\Platform\PortableApps\FileBot\Lib\fpcalc.exe": CreateProcess failed, error=216
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 9 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot

User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

You're still using 32-bit Java. Use 64-bit Java instead.
FAQ wrote:Q: Why is MediaInfo not working? Why is 7zip not working? Why is JNA not working?
If you are using 64-bit Java you must install 64-bit FileBot. If you are using 32-bit Java you must install 32-bit FileBot. If you have installed 64-bit Windows and 64-bit FileBot and 32-bit Java, the java process will be in 32-bit compatibility mode and the native libraries won't work. So uninstall 32-bit Java and then only install the latest 64-bit Java and latest 64-bit FileBot.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

Just for my understanding.

My OS (Vista) and Java are 32-bit.
I downloaded the 32-bit lib files and filebot-r4619.jar.xz - 2016-11-26 11:05:12.
Is the jar 64-bit or why do I need 64-bit Java? That was not the case so far.
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

If you have a 32-bit OS then you can't run any 64-bit native code and you won't be able to install or run 64-bit Java. Hence 32-bit OS + 32-bit Java + 32-bit native libraries is your only option. The jar is pure Java code which is platform-independent (i.e. not native code).
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

But that's the problem. The errors occur running 32-bit OS + 32-bit Java + 32-bit native libraries. Se my initial post.
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

The original post indicates that you didn't download jnidispatch.dll:
https://github.com/filebot/filebot/tree ... /win32-x86

Your next post then indicates that you've downloaded the 64-bit native libraries which naturally won't work on your 32-bit system.

32-bit OS -> OK
32-bit Java -> OK
32-bit native libraries -> You have downloaded the 64-bit native libraries so it doesn't work. Download the 32-bit native libraries instead.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

I just downloaded all files from

Code: Select all

https://github.com/filebot/filebot/tree/master/lib/native/win32-x86
and I receive

Code: Select all

FileBot 4.7.5 (r4619)
JNA Native: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/win32-x86/jnidispatch.dll) not found in resource path ([file:/D:/Portable%20Applications/Platform/PortableApps/FileBot/FileBot.jar])
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load x86 (32-bit) native library MediaInfo.dll: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 20 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot
compared to

Code: Select all

FileBot 4.7.5 (r4603)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 18 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

Please confirm that you actually have the right files in the right place. Screenshots and MD5 checksums the files in questions would help confirm if this is a FileBot issue or a user issue.

e.g.

Code: Select all

MD5 (7-Zip-JBinding.dll) = 38b721fdb1e18d45ea9c6c0138888116
MD5 (MediaInfo.dll) = 746d930b6e2a27297f2d98011ae70608
MD5 (fpcalc.exe) = 3c4d3348418c783ede10b71147965bf1
MD5 (jnidispatch.dll) = d2f0da769204b8c45c207d8f3d8fc37e
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

The versions r4603 and r4619 use the same native lib files in the same lib folder.

This are my checksum results:

Code: Select all

7-Zip-JBinding.dll: 38b721fdb1e18d45ea9c6c0138888116
fpcalc.exe: 3c4d3348418c783ede10b71147965bf1
jnidispatch.dll: d2f0da769204b8c45c207d8f3d8fc37e
MediaInfo.dll: 746d930b6e2a27297f2d98011ae70608
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by rednoah »

Turns out the portable startup config was completely broken all along, but it just kinda worked anyway. :lol:

Here are fixes for the *.cmd and *.l4j.ini files:
https://github.com/filebot/filebot/comm ... 098170bbc3
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

Sorry, but the problem remains!
It mast be related to the r4619 jar because that is all that was changed.
By the way! The versions r4612 and r4613 work fine. Maybe this helps.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: FileBot 4.7.5 (r4619) sysinfo errors

Post by Sheldon »

Now it works! Great! Thanks for your help!

Code: Select all

FileBot 4.7.5 (r4619)
JNA Native: 4.0.1
MediaInfo: 0.7.88
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-11-26 (r465)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 2 Core / 247 MB Max Memory / 8 MB Used Memory
OS: Windows Vista (x86)
Package: PORTABLE
Data: D:\Portable Applications\Platform\PortableApps\FileBot
Post Reply