Package Details: menulibre 2.2.1-1

Git Clone URL: https://aur.archlinux.org/menulibre.git (read-only)
Package Base: menulibre
Description: An advanced menu editor that provides modern features in a clean, easy-to-use interface
Upstream URL: https://launchpad.net/menulibre
Keywords: editor gnome menu
Licenses: GPL3
Submitter: Ner0
Maintainer: jonian
Last Packager: jonian
Votes: 168
Popularity: 1.127446
First Submitted: 2012-07-10 05:32
Last Updated: 2019-06-09 13:50

Pinned Comments

evana commented on 2017-05-14 22:11

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

1 2 3 4 5 6 ... Next › Last »

Pant commented on 2019-08-12 00:09

In PKGBUILD file it needs to be changed "python setup.py install --root="$pkgdir/" --optimize=1" to "python3 setup.py install --root="$pkgdir/" --optimize=1"

serdarsaglam commented on 2019-06-09 09:41

Hi, Latest version is 2.2.1

The current version has python errors, application does not open

Zeioth commented on 2019-05-21 22:11

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

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

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

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

henriquemaia commented on 2019-03-24 22:44

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

Same problem for me, can't launch menulibre

j1simon commented on 2019-03-21 16:09

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

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