You are not logged in.

#1 2011-11-20 09:04:04

srivo
Member
From: Canada
Registered: 2009-10-17
Posts: 60

[SOLVED] Gparted glibmm-ERROR

Hi,

I have the following error trying to run gparted?

(process:1416): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
======================
libparted : 3.0
======================

glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: locale::facet::_S_create_c_locale name not valid

Last edited by srivo (2011-11-26 15:05:09)

Offline

#2 2011-11-20 10:04:39

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [SOLVED] Gparted glibmm-ERROR

There was an upgrade to glibmm a couple of days ago.  Is your system fully up-to-date?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2011-11-20 10:16:32

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Gparted glibmm-ERROR

pretty sure you don't have locale generated in the right way. see locale wiki


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-11-20 17:38:39

srivo
Member
From: Canada
Registered: 2009-10-17
Posts: 60

Re: [SOLVED] Gparted glibmm-ERROR

Here is the output when I type locale:

[srivo@hacker ~]$ locale               
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Offline

#5 2011-11-26 12:11:22

srivo
Member
From: Canada
Registered: 2009-10-17
Posts: 60

Re: [SOLVED] Gparted glibmm-ERROR

I check locale and locale.conf wiki and didn't find anything to help me!

Offline

#6 2011-11-26 14:20:38

srivo
Member
From: Canada
Registered: 2009-10-17
Posts: 60

Re: [SOLVED] Gparted glibmm-ERROR

Ok I got something, If I do

export LC_ALL=C

Gpadrted work but all my local are set to C after that!

Offline

#7 2011-11-26 15:07:48

srivo
Member
From: Canada
Registered: 2009-10-17
Posts: 60

Re: [SOLVED] Gparted glibmm-ERROR

I don't really understand what I did but the problem is solved. The best thing I can think of is I had a typo in rc.conf or locale.gen. Or maybe it as something to do with the localization daemon.

Last edited by srivo (2011-11-26 20:03:08)

Offline

#8 2012-10-18 18:31:47

Bluto92
Member
From: Rome, Italy
Registered: 2012-10-18
Posts: 1

Re: [SOLVED] Gparted glibmm-ERROR

i've done a "local-gen" and all goes right

Offline

Board footer

Powered by FluxBB