GTK File Dialog shows files in grey and doesn't allow selection

All your suggestions, requests and ideas for future development
Post Reply
MasterCATZ
Posts: 38
Joined: 28 May 2012, 23:01

GTK File Dialog shows files in grey and doesn't allow selection

Post by MasterCATZ »

Ubuntu and 4.8.2 something is just wrong and greyed out files, it worked for the first week I installed it

I'm over a month behind on my media renames now so went back to old faithful 4.7.9 and all working good again

re-pasted details posted somewhere else on the forum below





Filebot just randomly started to decide to not work, keeps crashing or if it does stay open will not open any files all greyed out

Code: Select all

aio@aio:~$ filebot
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
aio@aio:~$ filebot
Aug. 25, 2018 7:30:55 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/aio/.java/.userPrefs/prefs.xml
aio@aio:~$ sudo filebot
[sudo] password for aio: 
Aug. 25, 2018 7:31:38 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /root/.java/.userPrefs/prefs.xml
aio@aio:~$ filebot
Aug. 25, 2018 7:32:08 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/aio/.java/.userPrefs/prefs.xml
Exception in thread "JavaFX Application Thread" java.lang.IncompatibleClassChangeError
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
	at javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
aio@aio:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode
aio@aio:~$ filebot
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
aio@aio:~$ filebot
Aug. 25, 2018 7:34:04 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/aio/.java/.userPrefs/prefs.xml
aio@aio:~$ sudo filebot
Aug. 25, 2018 7:35:53 PM java.util.prefs.FileSystemPreferences$6 run

Code: Select all

aio@aio:~/Downloads$ filebot -script fn:sysinfo 
FileBot 4.8.2 (r5789)
JNA Native: 5.2.2
MediaInfo: 18.05
7-Zip-JBinding: 9.20
Chromaprint: 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2018-08-14 (r534)
Groovy: 2.5.1
JRE: Java(TM) SE Runtime Environment 10.0.2
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 7 GB Max Memory / 47 MB Used Memory
OS: Linux (amd64)
HW: Linux aio 4.17.0-041700-generic #201806041953 SMP Mon Jun 4 19:55:25 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/aio/.filebot
Package: DEB
License: FileBot License xxxxxxxx (Valid-Until: 2068-08-10)
Done ヾ(@⌒ー⌒@)ノ
aio@aio:~/Downloads$ 

Code: Select all

aio@aio:~$ filebot -clear-cache
Clear cache
* Delete /home/aio/.filebot/cache/2
* Delete /home/aio/.filebot/cache/5
* Delete /home/aio/.filebot/cache/1
* Delete /home/aio/.filebot/cache/4
* Delete /home/aio/.filebot/cache/3
* Delete /home/aio/.filebot/cache/6
Error during startup
java.nio.file.AccessDeniedException: /home/aio/.filebot/cache/6/web-datasource-lv2.index
	at net.filebot.util.FileUtilities$2.visitFile(FileUtilities.java:168)
	at net.filebot.util.FileUtilities$2.visitFile(FileUtilities.java:164)
	at net.filebot.util.FileUtilities.delete(FileUtilities.java:164)
	at net.filebot.Main.main(Main.java:94)

aio@aio:~$ sudo filebot -clear-cache
[sudo] password for aio: 
Clear cache
* Delete /home/aio/.filebot/cache/6
* Delete /home/aio/.filebot/cache/0
aio@aio:~$ filebot
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
aio@aio:~$ 
as far as I know, I never have used the snap package ( or any snap packages )
I'll try a purge as soon as I find where to backup my renaming options

preferences.backup.xml is all i could find unsure why its last modified date was when filebot was last run I have not changed any settings for years

wow 386 meg to run this :P

Code: Select all

sudo apt remove --purge filebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libc++1 libc++abi1 libgsoap-2.8.60 libvncserver1
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  filebot*
0 to upgrade, 0 to newly install, 1 to remove and 17 not to upgrade.
After this operation, 386 MB disk space will be freed.
Do you want to continue? [Y/n] 
Debian package: FileBot_4.8.2_amd64.deb

Code: Select all

sudo dpkg -i FileBot_4.8.2_amd64.deb
Selecting previously unselected package filebot.
(Reading database ... 760434 files and directories currently installed.)
Preparing to unpack FileBot_4.8.2_amd64.deb ...
Unpacking filebot (4.8.2) ...
Setting up filebot (4.8.2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Still greyed out as reading files what command can I run to work out the issue ?

Code: Select all

filebot
Fetch failed: https://app.filebot.net/update.xml
java.net.UnknownHostException: app.filebot.net
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at net.filebot.web.WebRequest.fetch(WebRequest.java:142)
	at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
	at net.filebot.CachedResource.lambda$get$0(CachedResource.java:87)
	at net.filebot.CachedResource.retry(CachedResource.java:121)
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:82)
	at net.filebot.Main.checkUpdate(Main.java:276)
	at net.filebot.Main.onStart(Main.java:208)
	at net.filebot.Main.lambda$main$1(Main.java:161)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:435)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:425)
Caused by: java.net.UnknownHostException: app.filebot.net
	at net.filebot.web.WebRequest.fetch(WebRequest.java:139)
	... 11 more

Failed to check for updates
java.net.UnknownHostException: app.filebot.net
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at net.filebot.web.WebRequest.fetch(WebRequest.java:142)
	at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
	at net.filebot.CachedResource.lambda$get$0(CachedResource.java:87)
	at net.filebot.CachedResource.retry(CachedResource.java:121)
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:82)
	at net.filebot.Main.checkUpdate(Main.java:276)
	at net.filebot.Main.onStart(Main.java:208)
	at net.filebot.Main.lambda$main$1(Main.java:161)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:435)
	at net.filebot.util.ui.SwingUI$SwingRunnable.doInBackground(SwingUI.java:425)
Caused by: java.net.UnknownHostException: app.filebot.net
	at net.filebot.web.WebRequest.fetch(WebRequest.java:139)
	... 11 more

Aug. 26, 2018 9:31:29 AM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /home/aio/.java/.userPrefs/prefs.xml

Code: Select all

 export JAVA_OPTS="-Dnet.filebot.logging.debug=ALL -Dnet.filebot.web.WebRequest.log.response=true"
aio@aio:/SnapRaidRW/DATA/Android$ filebot
Using persistent disk cache /home/aio/.filebot/cache/0
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: back to 4.7.9

Post by rednoah »

1.

Code: Select all

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
This is a strange X Desktop / Java 10 / FileBot issue of some kind or of some kind of combination. I currently have no clue what's causing it or how to work around it. However, a reboot generally resolves the problem.


2.

Code: Select all

java.net.UnknownHostException: app.filebot.net
This one indicates a temporary network issue.


3.
What exactly do you mean by "grayed out". Which part is grayed out? Please provide screenshots:
https://snag.gy/
:idea: Please read the FAQ and How to Request Help.
MasterCATZ
Posts: 38
Joined: 28 May 2012, 23:01

Re: back to 4.7.9

Post by MasterCATZ »

Screenshot of working 4.7.9 using java 8

https://ibb.co/gfGAs9

Code: Select all

sudo dpkg -i FileBot_4.8.2_amd64.deb 
[sudo] password for aio: 
(Reading database ... 760433 files and directories currently installed.)
Preparing to unpack FileBot_4.8.2_amd64.deb ...
Unpacking filebot (4.8.2) over (4.7.9) ...
Setting up filebot (4.8.2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
filebot 4.8.2 refusing to start after overwriting 4.7.9

Code: Select all

filebot
Using persistent disk cache /home/aio/.filebot/cache/0
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted
wiped all filebot config data

screenshot of 4.8 greyed out files using java 8 and 11 and as root to rule out permission issues
https://ibb.co/cXA3C9
https://ibb.co/eDcN5U

Code: Select all

sudo dpkg -i filebot_4.7.9_amd64.deb 
[sudo] password for aio: 
dpkg: warning: downgrading filebot from 4.8.2 to 4.7.9
(Reading database ... 761043 files and directories currently installed.)
Preparing to unpack filebot_4.7.9_amd64.deb ...
Unpacking filebot (4.7.9) over (4.8.2) ...
Setting up filebot (4.7.9) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
all working again

have you got 4.8.1.deb around somewhere I am sure that is what I had running until the live update happened
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: back to 4.7.9

Post by rednoah »

1.
I see. You're talking about the GTK File Dialog. No idea. Just use drag-n-drop instead.


2.
If you prefer the File Dialog, and if the GTK File Dialog has issues, then you can make it use the Java Swing File Dialog like so:

Code: Select all

export FILEBOT_OPTS="-Dnet.filebot.UserFiles.fileChooser=Swing"
:idea: Please read the FAQ and How to Request Help.
MasterCATZ
Posts: 38
Joined: 28 May 2012, 23:01

Re: GTK File Dialog shows files in grey and doesn't allow selection

Post by MasterCATZ »

Thanks

swing works


will try reinstalling GTK components and see if it clears up

Code: Select all

dpkg -l libgtk2.0-0 libgtk-3-0

||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  libgtk-3-0:amd 3.22.30-1ubu amd64        GTK+ graphical user interface lib
ii  libgtk-3-0:i38 3.22.30-1ubu i386         GTK+ graphical user interface lib
ii  libgtk2.0-0:am 2.24.32-1ubu amd64        GTK+ graphical user interface lib

aio@aio:/$ dpkg --get-selections | grep gtk
apport-gtk					install
autokey-gtk					install
deluge-gtk					install
gftp-gtk					install
gir1.2-gtk-2.0					install
gir1.2-gtk-3.0:amd64				install
gir1.2-gtkchamplain-0.12:amd64			install
gir1.2-gtkclutter-1.0:amd64			install
gir1.2-gtksource-3.0:amd64			install
gir1.2-javascriptcoregtk-4.0:amd64		install
gir1.2-nmgtk-1.0:amd64				install
gtk-doc-tools					install
gtk-update-icon-cache				install
gtk2-engines:amd64				install
gtk2-engines-murrine:amd64			install
gtk2-engines-pixbuf:amd64			install
gtk3-nocsd					install
ibus-gtk:amd64					install
ibus-gtk3:amd64					install
jstest-gtk					install
libavahi-ui-gtk3-0:amd64			install
libcanberra-gtk-module:amd64			install
libcanberra-gtk0:amd64				install
libcanberra-gtk3-0:amd64			install
libcanberra-gtk3-module:amd64			install
libchamplain-gtk-0.12-0:amd64			install
libcheese-gtk25:amd64				install
libclutter-gtk-1.0-0:amd64			install
libcolord-gtk1:amd64				install
libdbusmenu-gtk3-4:amd64			install
libdbusmenu-gtk3-4:i386				install
libdbusmenu-gtk4:amd64				install
libfm-gtk-data					install
libfm-gtk4:amd64				install
libgtk-3-0:amd64				install
libgtk-3-0:i386					install
libgtk-3-bin					install
libgtk-3-common					install
libgtk-3-dev:amd64				install
libgtk-4-0:amd64				deinstall
libgtk-4-common					deinstall
libgtk2-imageview-perl				install
libgtk2-perl					install
libgtk2-unique-perl				install
libgtk2.0-0:amd64				install
libgtk2.0-bin					install
libgtk2.0-common				install
libgtk2.0-dev					install
libgtk3-nocsd0:amd64				install
libgtk3-perl					install
libgtk3.0-cil					install
libgtk3.0-cil-dev				install
libgtkglext1:amd64				install
libgtkhotkey1:amd64				install
libgtkimageview0				install
libgtkmm-2.4-1v5:amd64				install
libgtkmm-3.0-1v5:amd64				install
libgtksourceview-3.0-1:amd64			install
libgtksourceview-3.0-common			install
libgtkspell0:amd64				install
libjavascriptcoregtk-1.0-0:amd64		install
libjavascriptcoregtk-4.0-18:amd64		install
liblibreofficekitgtk				install
libnm-gtk0:amd64				install
libreoffice-gtk3				install
libunity-gtk2-parser0:amd64			install
libunity-gtk3-parser0:amd64			install
libwebkit2gtk-4.0-37:amd64			install
libwebkit2gtk-4.0-37-gtk2:amd64			install
libwebkitgtk-1.0-0:amd64			install
libwmf0.2-7-gtk					install
libwxgtk3.0-0v5:amd64				install
libwxgtk3.0-gtk3-0v5:amd64			install
lxhotkey-gtk					install
overlay-scrollbar-gtk2:amd64			install
python-gtk2					install
python-wxgtk3.0					install
python3-aptdaemon.gtk3widgets			install
qt5-gtk-platformtheme:amd64			install
ruby-gtk2:amd64					install
software-properties-gtk				install
transmission-gtk				install
ubuntu-release-upgrader-gtk			install
unity-gtk-module-common				install
unity-gtk2-module:amd64				install
unity-gtk3-module:amd64				install
usb-creator-gtk					install
xdg-desktop-portal-gtk				install
xdg-user-dirs-gtk				install

MasterCATZ
Posts: 38
Joined: 28 May 2012, 23:01

Re: GTK File Dialog shows files in grey and doesn't allow selection

Post by MasterCATZ »

how can I perminatly set

Code: Select all

export FILEBOT_OPTS="-Dnet.filebot.UserFiles.fileChooser=Swing"
this so it stays after a reboot?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GTK File Dialog shows files in grey and doesn't allow selection

Post by rednoah »

Sounds like a generic Linux question.

:arrow: https://unix.stackexchange.com/a/117473/78608
:idea: Please read the FAQ and How to Request Help.
Post Reply