Hello, alacarte and menulibre are not running under Gnome 3.32. When launched from a terminal, the same traceback as in bug 12153 is displayed (even gnome-menus package is installed). usertest@mageia7-test ~]$ alacarte /usr/lib/python2.7/site-packages/Alacarte/MainWindow.py:22: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GdkPixbuf, Gdk, GMenu (alacarte:5732): Gtk-CRITICAL **: 22:01:48.647: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed (alacarte:5732): Gtk-CRITICAL **: 22:01:48.648: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed Traceback (most recent call last): File "/usr/bin/alacarte", line 24, in <module> main() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 463, in main app.setMenuBasename(basename) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 61, in setMenuBasename self.editor = MenuEditor(menu_basename) File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__ self.load() File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 49, in load if not self.tree.load_sync(): gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "gnome-applications.menu" (0) [usertest@mageia7-test ~]$ menulibre (menulibre:5736): Gtk-WARNING **: 22:01:59.838: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton (menulibre:5736): Gtk-WARNING **: 22:01:59.937: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate self.win = MenulibreWindow(self, headerbar) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 250, in __init__ self.configure_application_treeview(builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py", line 589, in configure_application_treeview self.treeview = MenulibreTreeview.Treeview(self, builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 48, in __init__ self._configure_treeview(builder) File "/usr/lib/python3.7/site-packages/menulibre/MenulibreTreeview.py", line 59, in _configure_treeview treestore = MenuEditor.get_treestore() File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 122, in get_treestore menu = get_menus()[0] File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 191, in get_menus menu = MenuEditor() File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 246, in __init__ self.load() File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 264, in load if not self.tree.load_sync(): gi.repository.GLib.Error: g-io-error-quark: Failed to look up menu_file for "gnome-applications.menu" As suggested in the above mentionned bug, creating a symbolic link allow both software to be launched.
https://bugs.mageia.org/show_bug.cgi?id=12153#c3 "symlinking /etc/xdg/gnome/menus/gnome-applications.menu to /etc/xdg/menus/" > creating a symbolic link allow both software to be launched. With 'gnome-menus-3.32.0-1.mga7' installed, I reproduced this bug exactly on both counts. The 'alarcarte' part of this bug is a duplicate of bug 25361. However, I am leaving this open for 'menulibre', which does not crash but does not go anywhere. Assigning to its active maintainer wally.
Assignee: bugsquad => jani.valimaaSource RPM: alacarte-3.11.91-10.mga7 => menulibre-2.2.1-1.mga7.src.rpmSummary: alacarte and menulibre are not launched under gnome 3.32 => menulibre is not launched under gnome 3.32
What does 'echo $XDG_CONFIG_DIRS' and 'echo $XDG_MENU_PREFIX' output in GNOME?
Hello, Here is what i get from the terminal ( selected choice gnome): [usertest@mageia7-test ~]$ echo $XDG_CONFIG_DIRS [usertest@mageia7-test ~]$ echo $XDG_MENU_PREFIX gnome- [usertest@mageia7-test ~]$
What if you do 'export XDG_CONFIG_DIRS=/etc/xdg/gnome:/etc/xdg' before launching? But make sure you don't have the symlink mentioned in bug 12153 comment 3.
Hello, When the XDG_CONFIG_DIRS is set, menulibre is launched.
Hello, The bug is still exist on Mageia 8 - Gnome 3.38
CC: (none) => kurjak.richard
Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021.
Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja
Status: NEW => RESOLVEDResolution: (none) => OLD
Blocks: (none) => 29746