audacious-media-player / audacious

A lightweight and versatile audio player
https://audacious-media-player.org
Other
871 stars 116 forks source link

Failed to load module "atk-bridge": 'gtk_module_display_init': - undefined symbol: gtk_module_display_init; Unable to locate theme engine in module_path: "adwaita", #1511

Open slrslr opened 3 days ago

slrslr commented 3 days ago

Describe the bug $ audacious &

[1] 31632
$ eGtk-Message: 07:00:24.795: Failed to load module "atk-bridge": 'gtk_module_display_init': /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libgail.so: undefined symbol: gtk_module_display_init
x
(audacious:31632): Gtk-WARNING **: 07:00:24.996: Unable to locate theme engine in module_path: "adwaita",

$ apt search libgail

Sorting... Done
Full Text Search... Done
libgail-3-0/stable,now 3.24.38-2~deb12u3 amd64 [installed,automatic]
  GNOME Accessibility Implementation Library -- shared libraries

libgail-3-dev/stable 3.24.38-2~deb12u3 amd64
  GNOME Accessibility Implementation Library -- development files

libgail-3-doc/stable,stable 3.24.38-2~deb12u3 all
  documentation files of the Gail library

libgail-common/stable,now 2.24.33-2+deb12u1 amd64 [installed,automatic]
  GNOME Accessibility Implementation Library -- common modules

libgail-dev/stable 2.24.33-2+deb12u1 amd64
  GNOME Accessibility Implementation Library -- development files

libgail-doc/stable,stable 2.24.33-2+deb12u1 all
  documentation files of the Gail library

libgail18/stable,now 2.24.33-2+deb12u1 amd64 [installed,automatic]
  GNOME Accessibility Implementation Library -- shared libraries

Additional information

radioactiveman commented 2 days ago

This is not an Audacious issue. I assume other GTK 3 applications will behave the same, right? Have you tried (re)installing libatk-adaptor and gnome-themes-extra?

If it doesn't help, please ask in a Debian specific forum for further suggestions.

slrslr commented 2 days ago

Thanks, It WORKED.

A) To get rid of the atk-bridge failure: sudo apt reinstall libatk-adaptor Before it, it was like this: libatk-adaptor/stable 2.46.0-5 amd64 [residual-config] (Priority: optional)

gnome-themes-extra was NOT installed, and was "Priority: optional" with a description "Adwaita, the standard GNOME theme, for the GTK 2.x toolkit. The GTK 3.x version is already included in libgtk-3-0." And I had that libgtk 3 already installed.

After running "sudo apt install gnome-themes-extra" the adwaita warning/error also disappeared, I am unsure what was fixed by installing these packages.

While Audacious is installed from official repo.: audacious/stable,now 4.2-1 amd64 [installed] I should notify Debian maintainer so he includes these packages as a dependencies and when Audacious is updated, the dependencies will be automatically removed uninstalled (not in my case, it will forever use disk space since I have manually installed these)?

B) Other solution to get rid of the warnings/errors is to go to Audacious Settings, set interface Qt (not GTK). Quit Audacious. Run sudo apt remove gnome-themes-extra libatk-adaptor && sudo apt autoremove to reclaim ~8MB of a disk space and running Audacious no longer report any warnings/errors.