Menulibre does not start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
menulibre (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
1) ~$ lsb_release -rd
Description: Ubuntu 19.04
Release: 19.04
2) ~$ apt-cache policy menulibre
menulibre:
Installato: 2.2.0-2
Candidato: 2.2.0-2
Tabella versione:
*** 2.2.0-2 500
500 http://
500 http://
100 /var/lib/
3) I expected the program to start.
4) The program does not start.
When I boot it from the terminal:
~$ menulibre
(menulibre:20957): Gtk-WARNING **: 13:45:54.319: gtk_menu_
(menulibre:20957): Gtk-WARNING **: 13:45:54.366: gtk_menu_
Traceback (most recent call last):
File "/usr/lib/
self.win = MenulibreWindow
File "/usr/lib/
self.
File "/usr/lib/
self.treeview = MenulibreTreevi
File "/usr/lib/
self.
File "/usr/lib/
treestore = MenuEditor.
File "/usr/lib/
return menu_to_
File "/usr/lib/
treestore = menu_to_
File "/usr/lib/
tooltip = escapeText(
File "/usr/lib/
return GLib.markup_
File "/usr/lib/
return GLib.markup_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 39: unexpected end of data
ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: menulibre 2.2.0-2
ProcVersionSign
Uname: Linux 5.0.0-13-generic x86_64
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 19 13:41:49 2019
InstallationDate: Installed on 2019-04-19 (0 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=it_IT.UTF-8
SHELL=/bin/bash
SourcePackage: menulibre
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Searching, I found the following solution:
Edit the file menulibre util.py:
sudo nano /usr/lib/ python3/ dist-packages/ menulibre/ util.py
Search for:
return GLib.markup_ escape_ text(text, len(text))
Replace with:
return GLib.markup_ escape_ text(text)
This has worked for me.