Failed to load module "appmenu-gtk-module"

Having trouble installing or compiling FreeCAD? Get help here.
doubters
Posts: 81
Joined: Fri Mar 18, 2016 12:53 pm

Failed to load module "appmenu-gtk-module"

Postby doubters » Sun Apr 14, 2019 1:13 pm

FreeCAD from .appimage of new versions does not use the GTK-theme and at the start gives the following warning:
Gtk-Message: 15:14:33.586: Failed to load module "appmenu-gtk-module"
Gtk-Message: 15:14:33.586: Failed to load module "gail"
Gtk-Message: 15:14:33.586: Failed to load module "atk-bridge"

What could be the reason?

System:
Linux pc 4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
WM: Xfwm4
DE: XFCE

old.png - launch .appimage 0.18.16093 Git
new.png - launch .appimage 0.18 stable
Attachments
old.png
old.png (279.17 KiB) Viewed 1407 times
new.png
new.png (250.88 KiB) Viewed 1407 times
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Failed to load module "appmenu-gtk-module"

Postby NormandC » Sun Apr 14, 2019 2:53 pm

Confirmed on Ubuntu 18.04/GNOME.

Here's a more detailed output at launch. I also notice it takes a longer time to load the splash screen.

Code: Select all

$ ./FreeCAD_0.18_stable.AppImage /tmp/.mount_FreeCATTS59b
FreeCAD 0.18, Libs: 0.18R14555 (Git shallow)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

Sheet Metal workbench loaded
Gtk-Message: 10:44:23.579: Failed to load module "gail"
Gtk-Message: 10:44:23.579: Failed to load module "atk-bridge"
Gtk-Message: 10:44:23.590: Failed to load module "canberra-gtk-module"

(FreeCAD:4004): GdkPixbuf-WARNING **: 10:44:37.132: Cannot open pixbuf loader module file '/home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux_stable/AppDir/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No file or folder of this type

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /home/travis/build/FreeCAD/FreeCAD-AppImage/conda/linux_stable/AppDir/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Even though the message indicates "your installation is broken", a quick test shows it to be functioning normally.
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Failed to load module "appmenu-gtk-module"

Postby triplus » Sun Apr 14, 2019 3:46 pm

doubters
Posts: 81
Joined: Fri Mar 18, 2016 12:53 pm

Re: Failed to load module "appmenu-gtk-module"

Postby doubters » Sun Apr 14, 2019 8:18 pm

triplus wrote:
Sun Apr 14, 2019 3:46 pm
Best to provide feedback here:
https://forum.freecadweb.org/viewtopic.php?f=10&t=34981
Maybe move this topic there entirely?