Date: Wed, 03 Jun 2026 17:04:16 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 295821] x11/mate-menus: Edit Menus not working Message-ID: <bug-295821-6497@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295821 Bug ID: 295821 Summary: x11/mate-menus: Edit Menus not working Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: discipline@tiscali.it Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Created attachment 271450 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271450&action=edit patch from https://gitlab.gnome.org/GNOME/gnome-menus/-/commit/fe1eca74e1b6d75941d56088ea2aeca97b639926 Trying to edit the Mate menu, I got the following error: ERROR:../pygobject/gi/pygi-cache.c:274:_arg_cache_new_for_interface: code should not be reached Bail out! ERROR:../pygobject/gi/pygi-cache.c:274:_arg_cache_new_for_interface: code should not be reached So I tried to rebuild the following ports: - devel/pygobject-common - devel/py-pygobject - x11/mate-menus but the error changed to the following: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/Mozo/MainWindow.py", line 401, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/local/lib/python3.11/site-packages/Mozo/MainWindow.py", line 257, in loadItems for item, show in self.editor.getItems(menu): File "/usr/local/lib/python3.11/site-packages/Mozo/MenuEditor.py", line 300, in getItems yield (item, self.__isVisible(item)) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/Mozo/MenuEditor.py", line 580, in __isVisible app_info = item.get_app_info() ^^^^^^^^^^^^^^^^^ AttributeError: 'TreeEntry' object has no attribute 'get_app_info' Doing some search about the error I've found the following: https://github.com/mate-desktop/mozo/issues/97 https://github.com/mate-desktop/mate-menus/pull/120 (and some other pages linked from the above) After rebuilding x11/mate-menus with the attached patch Edit Menus is working again. The patch is created from what has been done for gnome-menus (upstream) and then used for mate-menus in Fedora and Arch. Later I've found what looks like an upstream patch for mate-menus, but at the moment I have no time to test it: https://github.com/mate-desktop/mate-menus/pull/120/commits/9c503ce6263f2c0b0af8e23db8f95064f8ac393c -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295821-6497>
