Latest version for OpenSuse Leap?

Any questions? Need some help?
Post Reply
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Latest version for OpenSuse Leap?

Post by sylvio2000 »

Hi.
I want to change my system from Ubuntu to OpenSuse and I want to see if I can find all the software I am using for this system. I could not find a repository nor a .rpm for Filebot.
Do I have to compile Filebot for myself (which I never did before) or is there another source I can use?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Latest version for OpenSuse Leap?

Post by rednoah »

Try using snapd:

Code: Select all

sudo snap install filebot
Alternatively, you can also just use the portable package.
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

Yes. The portable version works :D
I always thought that this portable version is for windows only. Maybe the words "for all platforms" should be a bit bigger ;)

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

Re: Latest version for OpenSuse Leap?

Post by rednoah »

Java == for all platforms ;)

Regardless of whether you install the MSI on Windows or download the portable tarball. The FileBot.jar will always be exactly the same.
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

I must correct myself. Its not working.

When I start Filebot it opens as usual. Then I got an error that JavaFX is missing. Opensuse does not ship with openjfx so I installed Oracle JRE. Now the error message is gone but I cant add video files to the interface of Filebot:
In the terminal i get following messages:

Code: Select all

./filebot.sh
java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/home/sylvio/FileBot/FileBot.jar])
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
Owner failed to convert data
java.io.IOException: Owner failed to convert data
        at net.filebot.ui.transfer.FileTransferable.getFilesFromTransferable(FileTransferable.java:96)
        at net.filebot.ui.transfer.FileTransferablePolicy.accept(FileTransferablePolicy.java:17)
        at net.filebot.ui.transfer.TransferablePolicy.canImport(TransferablePolicy.java:24)
        at net.filebot.ui.transfer.DefaultTransferHandler.canImport(DefaultTransferHandler.java:40)

java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
java.lang.NoClassDefFoundError: Could not initialize class net.filebot.gio.NativeGVFS
What can I do now?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Latest version for OpenSuse Leap?

Post by rednoah »

If you're using the portable package, then you need to provide all the native dependencies yourself.
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

OK. I copied all the files in my filebot directory but nothing changed.
Anything else I have to do?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Latest version for OpenSuse Leap?

Post by rednoah »

This line indicates that libjnidispatch.so is not in the library path:

Code: Select all

java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/home/sylvio/FileBot/FileBot.jar])
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

Now libjnidispatch.so is in the correct folder. But I always get this error:

java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/linux-x86-64/libjnidispatch.so) not found in resource path ([file:/home/sylvio/FileBot/FileBot.jar])
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Latest version for OpenSuse Leap?

Post by rednoah »

Please run filebot -script fn:sysinfo and post the output.

EDIT:

Presumably you're using the latest jar. You may need to grab the latest portable filebot.sh as well.
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

filebot -script fn:sysinfo does not work. I only get:

sylvio@sylvio-notebook:~/FileBot> filebot -script fn:sysinfo
If 'filebot' is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf filebot


If I use the latest version of filebot.sh I get the following error:

./filebot.sh: Zeile 5: Syntaxfehler beim unerwarteten Wort `newline'
./filebot.sh: Zeile 5: `<!DOCTYPE html>'
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Latest version for OpenSuse Leap?

Post by rednoah »

1.
"filebot" is a command. If you haven't linked filebot.sh into /usr/local/bin/filebot then you may need to call filebot.sh via ./filebot.sh or whatever the absolute path may be.


2.
You cannot execute HTML files as if they were bash script files. You can't just go "Save as..." on a GitHub HTML page and assume it magically works.

Here's the actual filebot.sh as plain/text file:
https://raw.githubusercontent.com/fileb ... filebot.sh



PS:

Please catch up on some Linux basics. I will happily help you with problems specific to FileBot, but if you need help with general Linux usage then I recommend asking people from the OpenSuse community.
:idea: Please read the FAQ and How to Request Help.
sylvio2000
Posts: 7
Joined: 18 Nov 2016, 07:52

Re: Latest version for OpenSuse Leap?

Post by sylvio2000 »

You are right. This was a bit dumb of me.

But now with the latest version it works. Although in terminal in get the following error:

Code: Select all

./filebot.sh -script fn:sysinfo
FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/home/sylvio/FileBot/FileBot.jar])
Apache Commons VFS: [zip, rar]
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Script Bundle: 2016-12-17 (r466)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_112
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 855 MB Max Memory / 16 MB Used Memory
OS: Linux (amd64)
Package: PORTABLE
Data: /home/sylvio/FileBot/data
uname: Linux sylvio-notebook.fritz.box 4.4.36-8-default #1 SMP Fri Dec 9 16:18:38 UTC 2016 (3ec5648) x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Post Reply