Libremenu refuses to launch.

Bug #1736567 reported by mikewhatever
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
menulibre (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When launched from a terminal window, the following appears:

~$ menulibre

** (menulibre:10314): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-TqDavb3kAP: Connection refused
/usr/lib/python3/dist-packages/menulibre/MenuEditor.py:28: PyGIWarning: GMenu was imported without specifying a version first. Use gi.require_version('GMenu', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import GdkPixbuf, Gio, GLib, GMenu, Gtk
Traceback (most recent call last):
  File "/usr/bin/menulibre", line 40, in <module>
    import menulibre
  File "/usr/lib/python3/dist-packages/menulibre/__init__.py", line 23, in <module>
    from menulibre import MenulibreApplication
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreApplication.py", line 26, in <module>
    from . import MenulibreTreeview, MenulibreHistory, Dialogs
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreTreeview.py", line 23, in <module>
    from . import MenuEditor, MenulibreXdg, XmlMenuElementTree, util
  File "/usr/lib/python3/dist-packages/menulibre/MenulibreXdg.py", line 31, in <module>
    default_locale = locale.getdefaultlocale()[0]
  File "/usr/lib/python3.6/locale.py", line 562, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python3.6/locale.py", line 490, in _parse_localename
    raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: en_IL

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: menulibre 2.1.3-0ubuntu1
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Dec 5 20:22:47 2017
InstallationDate: Installed on 2017-09-29 (66 days ago)
InstallationMedia: Ubuntu-MATE 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
PackageArchitecture: all
SourcePackage: menulibre
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
mikewhatever (mikewhatever) wrote :
Revision history for this message
mikewhatever (mikewhatever) wrote :

Apparently, it didn't like my locate parameters, which were auto-generated at the time of OS installation. It looked like this:

~$ locale
LANG=en_IL
LANGUAGE=en_IL:en
LC_CTYPE="en_IL"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_IL"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_IL"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

After some fighting, I've changed it to mostly en_US.UTF8 as follows:

LANG=en_US.UTF-8
LANGUAGE=en_IL:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

...and now the menu editor opens. This is similar to the problem with the previous menu editor in 17.04, mozo, which was never resolved.

Norbert (nrbrtx)
Changed in menulibre (Ubuntu):
status: New → Incomplete
tags: removed: artful
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for menulibre (Ubuntu) because there has been no activity for 60 days.]

Changed in menulibre (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.