Page 1 of 1

4.7.8 fails at JavaFX and accessing files as smb://

Posted: 01 Apr 2017, 19:53
by Andre-K

Code: Select all

:~$ filebot 
Failed to initialize JavaFX. Please install JavaFX.
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
	at net.filebot.util.ui.SwingUI.initJavaFX(SwingUI.java:510)
	at net.filebot.Main.onStart(Main.java:151)
	at net.filebot.Main.lambda$null$0(Main.java:129)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:426)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:416)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
	... 5 more

java.io.FileNotFoundException: smb://192.168.1.x/share/folder/file.mp4
installed openjfx (if you really need it, it should be a dependency) that remove the first error, but not the smb related issue

Re: 4.7.8 fails at JavaFX and accessing files as smb://

Posted: 01 Apr 2017, 20:12
by rednoah
1.
It is an optional dependency. Required for the GUI. Not required for the CLI.

From the deb control file:

Code: Select all

Suggests: openjdk-8-jre, openjfx, mediainfo, libchromaprint-tools
Enhances: nautilus-actions

2.
That error message doesn't tell me anything. Is there more than 1 line that might be relevant? What does filebot -script fn:sysinfo say? Have you tried the beta release?

Re: 4.7.8 fails at JavaFX and accessing files as smb://

Posted: 01 Apr 2017, 20:19
by Andre-K
attaching sysinfo from 4.7.8 that worked fine

it's Linux, so I doubt you want to acess smb:// like nautilus report, but rather /run/user/$UID/gvfs/smb-share\:server\=192.168...... so it's not strange that the file is not found..

Re: 4.7.8 fails at JavaFX and accessing files as smb://

Posted: 01 Apr 2017, 20:32
by rednoah
FileBot is fully aware of GVFS and Gnome text/uri-list drag-and-drop transfer data and will convert GVFS URIs to their FUSE filesystem paths when loading files.

Have you tried the latest beta?
https://sourceforge.net/projects/filebo ... _4.7.9_B2/

Please show me a sysinfo report that shows you're using the latest beta.

What is the full file path for that smb url?

Re: 4.7.8 fails at JavaFX and accessing files as smb://

Posted: 02 Apr 2017, 08:29
by Andre-K
4.7.9 B2 works just fine, here's it's output :

Code: Select all

FileBot 4.7.9 (r4961)
JNA Native: 5.1.0
MediaInfo: 0.7.93
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2017-03-24 (r490)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 24 MB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /home/andre/.filebot
uname: Linux latitude-e5520 4.8.0-45-generic #48-Ubuntu SMP Fri Mar 24 11:46:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
thanks

Re: 4.7.8 fails at JavaFX and accessing files as smb://

Posted: 02 Apr 2017, 08:31
by rednoah
Thanks for checking. Looks like the problem has already been fixed in one of the more recent revisions. Please give B2 some good testing. It's scheduled for release tomorrow unless some bugs come up.