You are not logged in.

#1 2020-06-21 00:41:05

ProtonX
Member
Registered: 2020-06-20
Posts: 9

[SOLVED] MenuLibre is not working

Hi Guys,
I have a problem with MenuLibre, when It open it, it don't work and I get this output in the console

(menulibre:148633): Gtk-WARNING **: 00:30:14.065: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton

(menulibre:148633): Gtk-WARNING **: 00:30:14.163: gtk_menu_attach_to_widget(): menu already attached to GtkMenuButton
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 2217, in do_activate
    self.win = MenulibreWindow(self, headerbar)
  File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 236, in __init__
    self.configure_application_actions(builder)
  File "/usr/lib/python3.8/site-packages/menulibre/MenulibreApplication.py", line 390, in configure_application_actions
    label=_('Add _Launcher'),
UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 13: decoding error

(Sorry for bad english)

Last edited by ProtonX (2020-06-21 09:39:36)

Offline

#2 2020-06-21 01:42:49

loqs
Member
Registered: 2014-03-06
Posts: 19,060

Re: [SOLVED] MenuLibre is not working

What is the output of the following

locale
locale -a
python
>>> import locale
>>> locale.getlocale()
>>> locale.gettext('Add _Launcher')

See Code_of_conduct#Pasting_pictures_and_code to post outputs in English.

Offline

#3 2020-06-21 01:55:53

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

[proton@archlinux ~]$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
[proton@archlinux ~]$ locale -a
C
POSIX
en_US.utf8
[proton@archlinux ~]$ python
Python 3.8.3 (default, May 17 2020, 18:15:42)
[GCC 10.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getlocale()
(None, None)
>>> locale.gettext('Add _Launcher')
'Add _Launcher'
>>>

Offline

#4 2020-06-21 02:07:26

loqs
Member
Registered: 2014-03-06
Posts: 19,060

Re: [SOLVED] MenuLibre is not working

What is the output of

cat /etc/locale.conf

Offline

#5 2020-06-21 02:22:26

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

[proton@archlinux ~]$ cat /etc/locale.conf
cat: /etc/locale.conf: No such file or directory

Offline

#6 2020-06-21 02:23:00

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

[proton@archlinux ~]$ cat /etc/locale.conf
cat: /etc/locale.conf: No such file or directory

Offline

#7 2020-06-21 02:23:49

loqs
Member
Registered: 2014-03-06
Posts: 19,060

Re: [SOLVED] MenuLibre is not working

You missed a step from Installation_guide#Localization.

Offline

#8 2020-06-21 02:29:26

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

It didn't work

Offline

#9 2020-06-21 02:31:44

loqs
Member
Registered: 2014-03-06
Posts: 19,060

Re: [SOLVED] MenuLibre is not working

What is the output now of

cat /etc/locale.conf
locale

Offline

#10 2020-06-21 02:33:15

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

[proton@archlinux ~]$ cat /etc/locale.conf
LANG=en_US.UTF-8
[proton@archlinux ~]$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

Offline

#11 2020-06-21 04:53:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,776

Re: [SOLVED] MenuLibre is not working

Please use code tags, not quote tags show file contents and shell I/O
Did it work after a reboot?

Offline

#12 2020-06-21 09:39:17

ProtonX
Member
Registered: 2020-06-20
Posts: 9

Re: [SOLVED] MenuLibre is not working

Well, I did a reboot and now it works, Thanks Bro

Offline

Board footer

Powered by FluxBB