Description of problem: >>> import gmenu >>> gmenu.lookup_tree('applications.menu').root (process:2808): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function (process:2808): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed (process:2808): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function (process:2808): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (process:2808): GLib-GObject-CRITICAL **: gtype.c:2248: initialization assertion failed, use IA__g_type_init() prior to this function (process:2808): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed <statement runs forever using 100% CPU> $ ldd -u /usr/lib/python2.5/site-packages/gmenu.so 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: _Py_ZeroStruct (continued) undefined symbol: _Py_ZeroStruct (/usr/lib/python2.5/site-packages/gmenu.so) 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: PyExc_TypeError (continued) undefined symbol: PyExc_TypeError (/usr/lib/python2.5/site-packages/gmenu.so) 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: _Py_TrueStruct (continued) undefined symbol: _Py_TrueStruct (/usr/lib/python2.5/site-packages/gmenu.so) 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: PyType_Type (continued) undefined symbol: PyType_Type (/usr/lib/python2.5/site-packages/gmenu.so) 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: _Py_NoneStruct (continued) undefined symbol: _Py_NoneStruct (/usr/lib/python2.5/site-packages/gmenu.so) 2786: /usr/lib/python2.5/site-packages/gmenu.so: error: symbol lookup error: undefined symbol: PyString_Type (continued) undefined symbol: PyString_Type (/usr/lib/python2.5/site-packages/gmenu.so) Unused direct dependencies: /lib/libgio-2.0.so.0 /lib/libgobject-2.0.so.0 /lib/libgmodule-2.0.so.0 /lib/libdl.so.2 /lib/libglib-2.0.so.0 /usr/lib/libgnome-menu.so.2 Version-Release number of selected component (if applicable): gnome-menus-2.22.2-1.fc9.i386
prolly a binding bug, but an easy workaround is to 'import gobject' before importing gmenu. Can you file this upstream?
(In reply to comment #1) > prolly a binding bug, but an easy workaround is to 'import gobject' before > importing gmenu. Can you file this upstream? Thanks Jonathan, that workaround worked. Bug filed upstream: http://bugzilla.gnome.org/show_bug.cgi?id=528769
gnome-menus-2.22.2-1.fc9 is not in rawhide, neither can't I find it in koji, typo?
Hmm, not a typo. 2.22.2 is in CVS, but doesn't seem to be listed in koji. I spun a rawhide livecd a day or two ago, and pulled it in.