Support for Ubuntu and other Desktop Linux distributions
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 24 Feb 2019, 20:24
Hi,
I am trying to use Filebot on a Raspberry Pi 3B+ but am having trouble issues running a script. It looks like it's caused by an issue with JNA Native:
Code: Select all
FileBot 4.8.5 (r6034)
JNA Native: java.lang.UnsatisfiedLinkError: Could not find JNA native support
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
p7zip: Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE )
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-02-20 (r548)
Groovy: 2.5.5
JRE: OpenJDK Runtime Environment 1.8.0_181
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 4 Core / 224 MB Max Memory / 12 MB Used Memory
OS: Linux (arm)
HW: **** 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l G NU/Linux
DATA: /home/pi/.filebot
Package: DEB
License: FileBot License *****
Done ヾ(@⌒ー⌒@)ノ
I have tried sudo apt-get install libjna-java but I still get the same JNA Native error.
Is anyone able to point me in the right direction in resolving this?
Thanks
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 25 Feb 2019, 07:10
1.
Which package did you install? Make sure you're using the
*_universal-jdk8.deb if you're on an armv7l device.
2.
dpkg should install the necessary dependencies, but
apt-get install -f can also used to install missing dependencies after the fact.
Here's the full list of native dependencies:
Code: Select all
apt-get install openjdk-8-jre openjfx libjna-jni libmediainfo0v5 libchromaprint-tools p7zip-full p7zip-rar
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 25 Feb 2019, 19:25
Hi Rednoah thanks for the reply.
I've installed FileBot_4.8.5_universal-jdk8.deb
The only dependancy that fails to install is p7zip-rar
Code: Select all
libchromaprint-tools is already the newest version (1.4.2-1).
libchromaprint-tools set to manually installed.
libjna-jni is already the newest version (4.2.2-3).
libjna-jni set to manually installed.
libmediainfo0v5 is already the newest version (0.7.91-1).
libmediainfo0v5 set to manually installed.
openjdk-8-jre is already the newest version (8u181-b13-2~deb9u1).
openjdk-8-jre set to manually installed.
openjfx is already the newest version (8u111-b14-1).
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 28 Feb 2019, 21:11
You might need to enable non-free packages for that one. It should be in some repository, but that repository may not be enabled by default on vanilla Debian.
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 01 Mar 2019, 20:07
But JNA Native is installed yet it's giving me the error isn't it?
libjna-jni is already the newest version (4.2.2-3).
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 02 Mar 2019, 03:11
* Which package are you using?
* Where are the libjna-jni binaries installed on your machine?
universal-jdk8 expects
jnidispatch.system.so at
/usr/lib/$(uname -m)-linux-gnu/jni . This works on Ubuntu, but may not work on Debian out of the box.
What does find say?
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 03 Mar 2019, 19:47
find /usr -iname "jnidispatch*" doesn't find anything. So that means it's not installed then? I did search the entire file system too and couldn't find anything still
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 03 Mar 2019, 20:43
Try this for good measure:
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 05 Mar 2019, 10:55
Interesting. What does uname -a say?
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 06 Mar 2019, 04:46
Ok. I've uploaded new deb builds. Can you give it a try please and report back?
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 06 Mar 2019, 07:16
Thanks but unfortunately I'm still getting the same
Code: Select all
##########:~ $ filebot -script fn:sysinfo FileBot 4.8.5 (r6176)
JNA Native: java.lang.UnsatisfiedLinkError: Could not find JNA native support
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or directory
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-03-01 (r555)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_181
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 4 Core / 224 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
HW: ########### 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l GNU/Linux
DATA: /home/pi/.filebot
Package: DEB
License: FileBot License #############
Done ヾ(@⌒ー⌒@)ノ
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 06 Mar 2019, 07:23
Alright. Can I have the output for these 2 commands as well please?
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 06 Mar 2019, 07:34
sure
Code: Select all
filebot -script fn:sysenv
# Environment Variables #
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
SHELL: /bin/bash
SSH_TTY: /dev/pts/0
SSH_CLIENT: 192.168.0.16 54261 22
TERM: xterm
USER: pi
LANG: en_GB.UTF-8
XDG_SESSION_ID: c2
SSH_CONNECTION: 192.168.0.16 54261 192.168.0.201 22
MAIL: /var/mail/pi
TEXTDOMAIN: Linux-PAM
LOGNAME: pi
PWD: /home/pi
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_RUNTIME_DIR: /run/user/1000
HOME: /home/pi
SHLVL: 1
_: /usr/bin/filebot
# Java System Properties #
java.vendor: Oracle Corporation
sun.java.launcher: SUN_STANDARD
sun.management.compiler: HotSpot Client Compiler
os.name: Linux
sun.boot.class.path: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/classes
grape.root: /home/pi/.filebot/grape
java.vm.specification.vendor: Oracle Corporation
java.runtime.version: 1.8.0_181-8u181-b13-2~deb9u1-b13
useExtendedFileAttributes: true
user.name: pi
user.language: en
sun.boot.library.path: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm
jna.nosys: true
application.deployment: deb
net.filebot.gio.GVFS: /run/user/1000/gvfs
java.version: 1.8.0_181
user.timezone:
sun.arch.data.model: 32
java.endorsed.dirs: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/endorsed
sun.cpu.isalist:
sun.net.client.defaultConnectTimeout: 10000
sun.jnu.encoding: UTF-8
file.encoding.pkg: sun.io
unixfs: false
file.separator: /
java.specification.name: Java Platform API Specification
java.class.version: 52.0
user.country: GB
jna.boot.library.path: /usr/lib/*-linux-gnu*/jni
java.home: /usr/lib/jvm/java-8-openjdk-armhf/jre
useCreationDate: false
java.vm.info: mixed mode
os.version: 4.14.94-v7+
useGVFS: true
path.separator: :
java.vm.version: 25.181-b13
jna.boot.library.name: jnidispatch.system
java.awt.printerjob: sun.print.PSPrinterJob
sun.io.unicode.encoding: UnicodeLittle
awt.toolkit: sun.awt.X11.XToolkit
application.dir: /home/pi/.filebot
jna.library.path: /usr/lib/*-linux-gnu*/jni
http.agent: FileBot/4.8.5
user.home: /home/pi
java.specification.vendor: Oracle Corporation
java.library.path: /usr/lib/*-linux-gnu*/jni
java.vendor.url: http://java.oracle.com/
java.vm.vendor: Oracle Corporation
java.runtime.name: OpenJDK Runtime Environment
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
java.class.path: /usr/share/filebot/jar/filebot.jar
net.filebot.archive.extractor: ShellExecutables
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.version: 1.8
sun.cpu.endian: little
sun.os.patch.level: unknown
java.io.tmpdir: /home/pi/.filebot/tmp
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
net.filebot.UserFiles.fileChooser: JavaFX
os.arch: arm
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.ext.dirs: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/ext:/usr/java/packages/lib/ext
user.dir: /home/pi
line.separator:
java.vm.name: OpenJDK Client VM
java.net.useSystemProxies: true
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
file.encoding: UTF-8
sun.net.client.defaultReadTimeout: 60000
jna.nounpack: true
java.specification.version: 1.8
application.cache: /home/pi/.filebot/cache
# Arguments #
args[0] = -script
args[1] = fn:sysenv
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
ls -l /usr/lib/*-linux-gnu*/jni
total 152
lrwxrwxrwx 1 root root 23 Feb 26 2018 libatk-wrapper.so -> libatk-wrapper.so.6.0.0
lrwxrwxrwx 1 root root 23 Feb 26 2018 libatk-wrapper.so.6 -> libatk-wrapper.so.6.0.0
-rw-r--r-- 1 root root 79928 Feb 26 2018 libatk-wrapper.so.6.0.0
-rw-r--r-- 1 root root 71568 Apr 12 2017 libjnidispatch.system.so
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 06 Mar 2019, 07:45
Strange. Looks like there's more than one jni folder.
Please run this one as well to confirm:
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 06 Mar 2019, 13:38
ok now getting:
Code: Select all
###########:~ $ filebot -script fn:sysinfo FileBot 4.8.5 (r6180)
JNA Native: java.lang.Error:
There is an incompatible JNA native library installed on this system
Expected: 5.2.2
Found: 4.0.1
(at /usr/lib/arm-linux-gnueabihf/jni/libjnidispatch.system.so).
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
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load arm (32-bit) native library libmediainfo.so: Could not initialize class com.sun.jna.Native
p7zip: java.io.IOException: Cannot run program "7z": error=2, No such file or di rectory
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-03-01 (r555)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_181
JVM: 32-bit OpenJDK Client VM
CPU/MEM: 4 Core / 224 MB Max Memory / 14 MB Used Memory
OS: Linux (arm)
HW: 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l G NU/Linux
DATA: /home/pi/.filebot
Package: DEB
Done ヾ(@⌒ー⌒@)ノ
# Environment Variables #
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
SHELL: /bin/bash
SSH_TTY: /dev/pts/0
SSH_CLIENT: 192.168.0.16 64391 22
TERM: xterm
USER: pi
LANG: en_GB.UTF-8
XDG_SESSION_ID: c4
SSH_CONNECTION: 192.168.0.16 64391 192.168.0.201 22
MAIL: /var/mail/pi
TEXTDOMAIN: Linux-PAM
LOGNAME: pi
PWD: /home/pi
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
XDG_RUNTIME_DIR: /run/user/1000
HOME: /home/pi
SHLVL: 1
_: /usr/bin/filebot
# Java System Properties #
java.vendor: Oracle Corporation
sun.java.launcher: SUN_STANDARD
sun.management.compiler: HotSpot Client Compiler
os.name: Linux
sun.boot.class.path: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-armhf/jre/classes
grape.root: /home/pi/.filebot/grape
java.vm.specification.vendor: Oracle Corporation
java.runtime.version: 1.8.0_181-8u181-b13-2~deb9u1-b13
useExtendedFileAttributes: true
user.name: pi
user.language: en
sun.boot.library.path: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm
jna.nosys: true
application.deployment: deb
net.filebot.gio.GVFS: /run/user/1000/gvfs
java.version: 1.8.0_181
user.timezone:
sun.arch.data.model: 32
java.endorsed.dirs: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/endorsed
sun.cpu.isalist:
sun.net.client.defaultConnectTimeout: 10000
sun.jnu.encoding: UTF-8
file.encoding.pkg: sun.io
unixfs: false
file.separator: /
java.specification.name: Java Platform API Specification
java.class.version: 52.0
user.country: GB
jna.boot.library.path: /usr/lib/arm-linux-gnueabihf/jni
java.home: /usr/lib/jvm/java-8-openjdk-armhf/jre
useCreationDate: false
java.vm.info: mixed mode
os.version: 4.14.94-v7+
useGVFS: true
path.separator: :
java.vm.version: 25.181-b13
jna.boot.library.name: jnidispatch.system
java.awt.printerjob: sun.print.PSPrinterJob
sun.io.unicode.encoding: UnicodeLittle
awt.toolkit: sun.awt.X11.XToolkit
application.dir: /home/pi/.filebot
jna.library.path: /usr/lib/arm-linux-gnueabihf/jni
http.agent: FileBot/4.8.5
user.home: /home/pi
java.specification.vendor: Oracle Corporation
java.library.path: /usr/lib/arm-linux-gnueabihf/jni
java.vendor.url: http://java.oracle.com/
java.vm.vendor: Oracle Corporation
java.runtime.name: OpenJDK Runtime Environment
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
java.class.path: /usr/share/filebot/jar/filebot.jar
net.filebot.archive.extractor: ShellExecutables
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.version: 1.8
sun.cpu.endian: little
sun.os.patch.level: unknown
java.io.tmpdir: /home/pi/.filebot/tmp
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
swing.crossplatformlaf: javax.swing.plaf.nimbus.NimbusLookAndFeel
net.filebot.UserFiles.fileChooser: JavaFX
os.arch: arm
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.ext.dirs: /usr/lib/jvm/java-8-openjdk-armhf/jre/lib/ext:/usr/java/packages/lib/ext
user.dir: /home/pi
line.separator:
java.vm.name: OpenJDK Client VM
java.net.useSystemProxies: true
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
file.encoding: UTF-8
sun.net.client.defaultReadTimeout: 60000
jna.nounpack: true
java.specification.version: 1.8
application.cache: /home/pi/.filebot/cache
# Arguments #
args[0] = -script
args[1] = fn:sysenv
Done ヾ(@⌒ー⌒@)ノ
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 07 Mar 2019, 04:14
Well, I guess this is tricky. The libraries in the repository too outdated.
What version of Debian / Raspbian are you using? Is there a new version available?
You could try to replace the
jna.jar that ships with FileBot with the
jna.jar that comes bundled with the OS repository, and see if that works. Might work. Might not.
You can find those files with this:
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 08 Mar 2019, 07:19
Ok, I think we've got somewhere now.
I copied jna.jar from Filebot folder to Java folder, then copied
https://github.com/filebot/filebot/blob ... ispatch.so to /usr/lib/arm-linux-gnueabihf/jni. Then renamed the file libjnidispatch.system.so. It's no longer erroring so I assume it's fixed?
Code: Select all
filebot -script fn:sysinfo
FileBot 4.8.5 (r6180)
JNA Native: 5.2.2
Thanks for your help Rednoah
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 08 Mar 2019, 07:30
So now that's fixed I was wondering if you can help with an error when I'm trying to run a script (I assumed the error was because of the JNA issue
When running the script I get the following error
Code: Select all
Auto-detect movie from context: [/mnt/shared/Downloads/Temp/Complete/Deadpool.2.2018.Once.Upon.a.Deadpool.1080p.BluRay.H264.AAC-RARBG/Deadpool.2.2018.Once.Upon.a.Deadpool.1080p.BluRay.H264.AAC-RARBG.mp4]
InvocationTargetException
This is my script
Code: Select all
#!/bin/sh
DATE_STAMP=` date +%d-%m-%Y-%T`
echo ${DATE_STAMP}
FILEBOT="filebot"
SCRIPT="-script fn:amc"
LANG="--lang en"
DESTINATION="/mnt/shared/Downloads/Temp"
COMPLETED="/mnt/shared/Downloads/Temp/Complete"
ACTION="--action test"
CONFLICT="--conflict skip"
DEF="--def reportError=y music=y artwork=y clean=y"
#SUBTITLES="--def subtitles=en,ar"
#PUSHBULLET="--def pushbullet=XXXXXXXXXXXXXXXXX"
#KODI="--def kodi=10.10.10.4:8080"
#CLEAN="--def clean=y"
LOG=$DESTINATION"/amc.log"
"$FILEBOT" $SCRIPT $LANG $ACTION $CONFLICT -non-strict --output "$DESTINATION" ${DEF} $PUSHBULLET $SUBTITLES seriesFormat=""$DESTINATION"/{plex}" movieFormat="{vf == /2160p/ ? '/mnt/shared/Downloads/Temp/Movies/UHD' : : '/Downloads/Temp/Movies/HD'}" $COMPLETED $KODI --log ALL
DATE_STAMP=` date +%d-%m-%Y-%T`
echo ${DATE_STAMP}
Is it an issue with my script or my Filebot install?
rednoah
The Source
Posts: 23022 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 08 Mar 2019, 07:39
1.
Please enable full debug logging and then run it again so we can see the full stack trace for that exception:
Code: Select all
export FILEBOT_OPTS="-Dnet.filebot.logging.debug=ALL"
filebot ...
2.
This doesn't make sense, on both syntax and semantic levels:
Code: Select all
{vf == /2160p/ ? '/mnt/shared/Downloads/Temp/Movies/UHD' : : '/Downloads/Temp/Movies/HD'}
Presumably, you mean this:
smokeybear83
Posts: 16 Joined: 21 Jan 2019, 20:47
Post
by smokeybear83 » 08 Mar 2019, 18:35
Sorry no was some copy\paste fail, should be this:
Code: Select all
movieFormat="{vf == /2160p/ ? '/mnt/shared/Downloads/Temp/Movies/UHD' : '/mnt/shared/Downloads/Temp/Movies/HD'}"
Trying to seperate 4k movies in to a different folder
I don't seem to get any extra logging after running that.