Page 1 sur 1

probleme compiz (resolu)

Publié : lun. 21 avr. 2008, 14:20
par anto12
bonjour, j'ai un souci avec compiz setting manager, quand je clique dessus il ne se lance pas et quand je le lance dans la console, voici ce que j'obtiens :

[anto@myhost ~]$ ccsm

(ccsm:6441): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
File "/usr/bin/ccsm", line 39, in <module>
import ccm
File "/usr/lib/python2.5/site-packages/ccm/__init__.py", line 1, in <module>
from ccm.Conflicts import *
File "/usr/lib/python2.5/site-packages/ccm/Conflicts.py", line 26, in <module>
from ccm.Constants import *
File "/usr/lib/python2.5/site-packages/ccm/Constants.py", line 89, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
[anto@myhost ~]$

Que puis-je faire?

Publié : mar. 22 avr. 2008, 16:30
par warnaud
Salut,
Tu pourrais modifier ton sujet comme expliqué ici: http://forums.archlinux.fr/topic68.html

Sinon pour ton pb, t'as bien les bonnes "locales"?
http://wiki.archlinux.fr/install:langue (/etc/profile et /etc/locale.gen puis locale-gen + http://wiki.archlinux.fr/install:base:rcconf )
La commande 'locale' te retourne :

Code : Tout sélectionner

LANG=fr_FR.UTF-8
LC_CTYPE="fr_Fr.UTF-8"
LC_NUMERIC="fr_Fr.UTF-8"
LC_TIME="fr_Fr.UTF-8"
LC_COLLATE="fr_Fr.UTF-8"
LC_MONETARY="fr_Fr.UTF-8"
LC_MESSAGES="fr_Fr.UTF-8"
LC_PAPER="fr_Fr.UTF-8"
LC_NAME="fr_Fr.UTF-8"
LC_ADDRESS="fr_Fr.UTF-8"
LC_TELEPHONE="fr_Fr.UTF-8"
LC_MEASUREMENT="fr_Fr.UTF-8"
LC_IDENTIFICATION="fr_Fr.UTF-8"
LC_ALL=fr_Fr.UTF-8 

Publié : mar. 22 avr. 2008, 19:12
par anto12
j'ai modifie ce que tu m'a dit et quand je tape locale dans la console ca me donne ca :
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=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8

Publié : mar. 22 avr. 2008, 21:48
par warnaud
T'as bien édité /etc/locale.gen PUIS fais un locale-gen ?
(ensuite je pense qu'il faut se déloguer reloguer)

Publié : mar. 22 avr. 2008, 21:52
par anto12
oui je l'ai fait et j'ai redémarré le pc après

Publié : mar. 22 avr. 2008, 23:29
par Skunnyk
Hello,

Peux tu copier le haut de ton fichier /etc/rc.conf (ou ça parle de locale) ? Ainsi que ton fichier /etc/profile ? Tu as du oublier un petit détail (les minuscules/majuscules sont importantes ! ):)

Publié : mer. 23 avr. 2008, 08:13
par anto12
Voilà le début du rc.conf :
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="fr_FR.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Paris"
KEYMAP="fr"
CONSOLEFONT="lat9w-16"
CONSOLEMAP="8859-15"
USECOLOR="yes"

Voici mon /etc/profile


# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin"

export MANPATH="/usr/man:/usr/X11R6/man"
export LESSCHARSET="utf-8"
export INPUTRC="/etc/inputrc"
export LESS="-R"
export G_FILENAME_ENCODING="@locale,UTF-8,ISO-8859-15"
export LC_ALL="fr_FR.UTF-8"

export LC_COLLATE="C"

export COLUMNS LINES

export PS1='[\u@\h \W]\$ '
export PS2='> '

umask 022

if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "rxvt" -o "$TERM" = "xterm-xfree86" ]; then
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
fi

# load profiles from /etc/profile.d
# (to disable a profile, just remove execute permission on it)
if [ `ls -A1 /etc/profile.d/ | wc -l` -gt 0 ]; then
for profile in /etc/profile.d/*.sh; do
if [ -x $profile ]; then
. $profile
fi
done
unset profile
fi
# End of file

Publié : mer. 23 avr. 2008, 12:18
par mélodie
Il y a le même sur le forum anglophone. Je n'ai pas regardé les solutions utilisées dans le détail, à toi de jouer.
[Solved] Compiz-Fusion: ccsm won't open

Publié : mer. 23 avr. 2008, 17:54
par anto12
Je pense avoir un probleme avec les locales car quand je tape locale-gen, voici ce que j'obiens : (mes locales sont bonnes pour les fr)
[anto@myhost ~]$ locale-gen
Generating locales...
*#.Configuration file for locale-gen...Try `localedef --help' or `localedef --usage' for more information.
[anto@myhost ~]$

Publié : mer. 23 avr. 2008, 18:33
par marc[i1]

Publié : mer. 23 avr. 2008, 19:07
par anto12
cette manip à déja été faite

Publié : mer. 23 avr. 2008, 20:02
par wain
ton fichier logale.gen n'est pas bon, et ceci va le prouver:

Code : Tout sélectionner

grep -v ^# /etc/locale.gen

Publié : mer. 23 avr. 2008, 20:18
par anto12
voici ce que ca me donne :

[anto@myhost ~]$ grep -v ^# /etc/locale.gen
*# Configuration file for locale-gen
fr_FR.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
[anto@myhost ~]$

Publié : mer. 23 avr. 2008, 21:22
par Skunnyk
Enleve l'etoile "*" sur la premiere ligne du fichier, et regenere avec locale-gen.
Tu as du la rajouter sans faire attention

Publié : mer. 23 avr. 2008, 21:31
par anto12
MERCI !!!! ca fonctionne !!!!