Failed to load module "appmenu-gtk-module"

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
doubters
Posts: 168
Joined: Fri Mar 18, 2016 12:53 pm

Failed to load module "appmenu-gtk-module"

Post by doubters »

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 2753 times
new.png
new.png (250.88 KiB) Viewed 2753 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

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

Post by NormandC »

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
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

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

Post by triplus »

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

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

Post by doubters »

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?
Post Reply