Bug 747449
Summary: | Missing dependency on PackageKit-gtk3-module | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Robert Smol <smol.robert> |
Component: | gnome-packagekit | Assignee: | Richard Hughes <hughsient> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | anton, ballinger500, barthes.benoit, benny+bugzilla, davide.principi, dbraunwarth, dietervandenbroeck, extras-orphan, fcassia, flokip, hughsient, jfrieben, jks, jmagrini, jones.peter.busi, lane, lijli, loganjerry, mads, mal, massi.ergosum, mclasen, mike, mszpak, rhughes, samuel-rhbugs, sbaird, swt, vonbrand |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | PackageKit-0.7.5-1.fc17 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-07-07 19:33:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Robert Smol
2011-10-19 20:18:59 UTC
yum install PackageKit-gtk3-module helps The error message is annoying, but entirely harmless. This was fixed for the gtk2 plugin long ago[1], but now we have gtk3. It should be fixed for that, too. [1] Bug 476066 *** Bug 734665 has been marked as a duplicate of this bug. *** *** Bug 643129 has been marked as a duplicate of this bug. *** *** Bug 699279 has been marked as a duplicate of this bug. *** *** Bug 739180 has been marked as a duplicate of this bug. *** Current Rawhide, x86_64, PackageKit-gtk3-module is installed, and I see this: [root@jerry-rawhide64 ~]# abrt-gui Gtk-Message: Failed to load module "pk-gtk-module" Doing an strace shows that it looked in /usr/lib64/gtk-2.0/modules, but NOT in /usr/lib64/gtk-3.0/modules. Is this because abrt-gui is a GTK 2.0 app, and PackageKit-gtk-module no longer exists? fedora 17 starting google-chrome needs a few try's to work google-chrome Gtk-Message: Failed to load module "pk-gtk-module" Segmentation fault (core dumped) [phil@mobile ~]$ google-chrome Gtk-Message: Failed to load module "pk-gtk-module" PackageKit-gtk3-module-0.7.3-1.fc17.x86_64 is installed Fedora 17 Beta RC3 here 3.3.1-3.fc17.i686 #1 SMP Wed Apr 4 19:15:37 UTC 2012 i686 i686 i386 GNU/Linux Starting the SeaMonkey browser suite 1.8 (seamonkey-2.8-3.fc17.i686) I get: Gtk-Message: Failed to load module "pk-gtk-module" Package PackageKit-gtk3-module-0.7.3-1.fc17.i686 already installed and latest version To the previous 3 comments: You're missing PackageKit-gtk-module. You can follow bug 476066 instead of this one. It was broken by this commit: http://pkgs.fedoraproject.org/gitweb/?p=gnome-packagekit.git;a=commit;h=8d23f39012f144fec7de0b3ef9daf6da73312f3a same thing in F17 #emacs Gtk-Message: Failed to load module "pk-gtk-module" #gnuplot gnuplot> plot sin(x)/x Gtk-Message: Failed to load module "pk-gtk-module" Updated to F17 (from F16). Now getting this message when running gvim. Gvim does start up okay though. Getting similar results on new F17 install which prevents libreoffice apps from starting, so agreed this is not a harmless message as it is preventing apps from starting. # yum install libreoffice .. .. # libreoffice Gtk-Message: Failed to load module "pk-gtk-module" # locate pk-gtk-module /usr/lib64/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop /usr/lib64/gtk-3.0/modules/libpk-gtk-module.so # yum install PackageKit-gtk3-module Loaded plugins: langpacks, presto, refresh-packagekit Package PackageKit-gtk3-module-0.7.4-4.fc17.x86_64 already installed and latest version Workaround from 476066 did not work either # wget http://dl.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/os/Packages/PackageKit-gtk-module-0.6.19-3.fc16.x86_64.rpm # rpm2cpio PackageKit-gtk-module-0.6.19-3.fc16.x86_64.rpm |cpio -idmv ./usr/lib64/gtk-2.0/modules/libpk-gtk-module.so 30 blocks # mv usr/lib64/gtk-2.0/modules/libpk-gtk-module.so /usr/lib64/gtk-2.0/modules/ # libreoffice & [1] 7064 # ps 7064 PID TTY STAT TIME COMMAND [1]+ Exit 139 libreoffice # ps 7064 PID TTY STAT TIME COMMAND @Jon and anyone else thinking of commenting on this bug: The message you see is printed when GTK2 attempts to load all known modules. The PackageKit-gtk3-module package defines a .desktop file to load "pk-gtk-module". Unfortunately the GTK2 module has been removed from upstream so the module no longer exists in F17+. When GTK2 cannot find this module it prints the warning message you see. The message is printed and then normal GTK2 runtime continues. This does not cause programs to crash or not start. Whatever issue you have with libreoffice is not related to this bug. $ gtg ** (process:8591): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:8591): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:8591): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' /usr/lib/python2.7/site-packages/GTG/taskeditor/editor.py:71: Warning: cannot register existing type `GdkDisplayManager' self.builder.add_from_file(GnomeConfig.GLADE_FILE) /usr/lib/python2.7/site-packages/GTG/taskeditor/editor.py:71: Warning: g_once_init_leave: assertion `result != 0' failed self.builder.add_from_file(GnomeConfig.GLADE_FILE) /usr/lib/python2.7/site-packages/GTG/taskeditor/editor.py:71: Warning: g_type_register_static: assertion `parent_type > 0' failed self.builder.add_from_file(GnomeConfig.GLADE_FILE) /usr/lib/python2.7/site-packages/GTG/taskeditor/editor.py:71: Warning: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed self.builder.add_from_file(GnomeConfig.GLADE_FILE) Erreur de segmentation @Michael Cronenworth: Some kind of strange is that nearly every program which is unable to start shows this kind of error or warning or whatever in shell. Evolution, all kind of LibreOffice tools, vlc, gimp. Pick what ever you want. I got this problem on a fresh installation of F17 x86_64. (In reply to comment #15) > This does not cause programs to crash or > not start. Whatever issue you have with libreoffice is not related to this > bug. 100% agreed. (In reply to comment #16) > $ gtg > g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed > self.builder.add_from_file(GnomeConfig.GLADE_FILE) > Erreur de segmentation This is nothing to do with PackageKit either btw. I've added this upstream in PackageKit: commit 7e740e9c4c917ca717ce42295d071d57cbc97b30 Author: Richard Hughes <richard> Date: Tue Jun 12 10:27:26 2012 +0100 Add a dummy GTK+2 module to avoid a warning when starting GTK+2 applications :100644 100644 34557e3... b4bac56... M contrib/gtk-module/Makefile.am :000000 100644 0000000... 179d855... A contrib/gtk-module/gtk2/Makefile.am :000000 100644 0000000... b13b496... A contrib/gtk-module/gtk2/pk-gtk-module-gtk2.c If it works for the 0.8.1 release I'll backport it back into the 0.7.x series. Richard. (In reply to comment #18) > If it works for the 0.8.1 release I'll backport it back into the 0.7.x > series. I see the change here: http://gitorious.org/packagekit/packagekit/commit/7e740e9c4c917ca717ce42295d071d57cbc97b30 Could you stick this commit in as a patch for F17 and put it in updates-testing? I can put an email out to the test list to see that it gets QA love. Thanks, Richard. The F17 update works great. |