You are not logged in.

#1 2006-05-05 02:09:07

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

[solved] error when starting gtkpacman

Hello!

I install gtkpacman from community and I get this error when i try to start it:

Archroot:# gtkpacman

(gtkpacman:13505): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/bin/gtkpacman", line 28, in ?
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
Archroot:#       

I use this in /etc/locale.gen:

fr_CA   ISO-8859-1

Someone has an idea? smile
If you need more info, tell me.

Thank you for your help.

@+

Offline

#2 2006-05-05 06:36:16

ingvildr
Member
From: Brighton, England
Registered: 2005-04-19
Posts: 203

Re: [solved] error when starting gtkpacman

have you actually run locale-gen as root?

Offline

#3 2006-05-05 10:00:37

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [solved] error when starting gtkpacman

Uncomment the en_US lines in /etc/locale.gen and re-run locale-gen.


1000

Offline

#4 2006-05-07 03:26:16

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: [solved] error when starting gtkpacman

Hello!

Sorry I am late... smile

I try to add en_US with my current setting and I run locale-gen again:

Archroot:# cd /etc                                           /home/shaika-dzari
Archroot:# vi locale.gen                                                   /etc
Archroot:# locale-gen                                                      /etc
Generating locales...
  en_US.ISO-8859-1... done
  fr_CA.ISO-8859-1... done
Generation complete.
Archroot:# gtkpacman                                                       /etc

(gtkpacman:1110): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.
Traceback (most recent call last):
  File "/usr/bin/gtkpacman", line 28, in ?
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
Archroot:#  

Thank you for your help  wink

Offline

#5 2006-05-07 11:05:13

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: [solved] error when starting gtkpacman

run 'locale -a' as root and make sure your entry in rc.conf matches the output.

here's mine :

root@julius ~]# locale -a
C
POSIX
en_US
en_US.iso88591
en_US.utf8
[root@julius ~]#

in rc.conf :

LOCALE="en_US.utf8"

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2006-05-07 17:15:37

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: [solved] error when starting gtkpacman

I switch to utf8 and rerun locale-gen and it solve the problem.
Now everything is alright.

Thank you for your help  wink

Offline

Board footer

Powered by FluxBB