maintainer-feedback requested: [Bug 295821] x11/mate-menus: Edit Menus not working
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 295821] x11/mate-menus: Edit Menus not working"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jun 2026 17:04:16 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 295821: x11/mate-menus: Edit Menus not working
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295821
--- Description ---
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/9c503ce6263f2c0b0af
8e23db8f95064f8ac393c