Package Details: menulibre 1:2.4.0-1

Git Clone URL: https://aur.archlinux.org/menulibre.git (read-only, click to copy)
Package Base: menulibre
Description: An advanced menu editor that provides modern features in a clean, easy-to-use interface
Upstream URL: https://github.com/bluesabre/menulibre
Keywords: editor gnome menu
Licenses: GPL3
Submitter: Ner0
Maintainer: jonian
Last Packager: jonian
Votes: 213
Popularity: 0.166399
First Submitted: 2012-07-10 05:32 (UTC)
Last Updated: 2024-03-04 13:45 (UTC)

Pinned Comments

evana commented on 2017-05-14 22:11 (UTC)

Please do not flag out of date unless the package is behind the upstream version. If you're having trouble launching menulibre due the following error, reinstalling the package should fix it. Traceback (most recent call last): File "/usr/bin/menulibre", line 40, in <module> import menulibre ModuleNotFoundError: No module named 'menulibre'

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Zeioth commented on 2019-05-21 22:11 (UTC)

I got the error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 60: unexpected end of data

This patch is needed to make it work. https://launchpadlibrarian.net/413008793/cut.patch

sleeping commented on 2019-05-09 09:04 (UTC)

New error:

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 "kf5-applications.menu"

axalox commented on 2019-05-02 14:53 (UTC) (edited on 2019-05-02 14:53 (UTC) by axalox)

It doesn't seems to work

DEBUG:menulibre: set_up_logging() 'logging enabled'

(menulibre:14054): Gtk-WARNING **: 16:52:53.515: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:14054): Gtk-WARNING **: 16:52:53.576: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton DEBUG:menulibre: init() 'Using menu: /home/test/.config/menus/gnome-applications.menu' 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 123, in get_treestore return menu_to_treestore(treestore, None, menu) File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 111, in menu_to_treestore treestore = menu_to_treestore(treestore, treeiter, item[3]) File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 100, in menu_to_treestore tooltip = escapeText(item[2]['comment']) File "/usr/lib/python3.7/site-packages/menulibre/util.py", line 99, in escapeText return GLib.markup_escape_text(text, len(text)) File "/usr/lib/python3.7/site-packages/gi/overrides/GLib.py", line 415, in markup_escape_text return GLib.markup_escape_text(text, length) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 45: unexpected end of data

jose1711 commented on 2019-03-29 20:52 (UTC)

the following patch fixed it for me:

--- /usr/lib/python3.7/site-packages/menulibre/util.py.orig 2019-03-29 21:48:23.082059504 +0100
+++ /usr/lib/python3.7/site-packages/menulibre/util.py  2019-03-29 21:48:29.895392887 +0100
@@ -96,7 +96,7 @@
 def escapeText(text):
     if text is None:
         return ""
-    return GLib.markup_escape_text(text, len(text))
+    return GLib.markup_escape_text(text)


 def getProcessUsername(process):

credits: https://bugs.launchpad.net/menulibre/+bug/1817885

UdeRecife commented on 2019-03-24 22:44 (UTC)

Running menulibre on my end also returns the same error as j1simon (https://aur.archlinux.org/account/j1simon).

clodio commented on 2019-03-24 02:59 (UTC)

Same problem for me, can't launch menulibre

j1simon commented on 2019-03-21 16:09 (UTC) (edited on 2019-03-21 16:09 (UTC) by j1simon)

I can't execute it:

$ menulibre

(menulibre:5308): Gtk-WARNING **: 17:08:21.639: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:5308): Gtk-WARNING **: 17:08:21.671: 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 123, in get_treestore
    return menu_to_treestore(treestore, None, menu)
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 111, in menu_to_treestore
    treestore = menu_to_treestore(treestore, treeiter, item[3])
  File "/usr/lib/python3.7/site-packages/menulibre/MenuEditor.py", line 100, in menu_to_treestore
    tooltip = escapeText(item[2]['comment'])
  File "/usr/lib/python3.7/site-packages/menulibre/util.py", line 99, in escapeText
    return GLib.markup_escape_text(text, len(text))
  File "/usr/lib/python3.7/site-packages/gi/overrides/GLib.py", line 415, in markup_escape_text
    return GLib.markup_escape_text(text, length)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 48: unexpected end of data

I've reinstalled it but same problem.

jonian commented on 2019-03-20 18:19 (UTC)

@Turo hi, I can't reproduce the problem. It works without problems for me.

Turbo commented on 2019-03-17 15:11 (UTC)

hi, since this last few days i can't launch menulibre any more. I get this output error:

/usr/lib/python3.7/site-packages/menulibre/MenulibreApplication.py menulibre arch linux ...

I have re-build it but it is still not ok.

phil.dubois commented on 2018-08-08 00:01 (UTC)

@PhotonX and @spsf64: that did it, thank you.