You are not logged in.

#1 2008-03-13 13:55:04

paulfxh
Member
Registered: 2008-03-11
Posts: 33

[Solved] Compiz-Fusion: ccsm won't open

I'm very new to ArchLinux and I've just managed to get Compiz-Fusion running.
I installed it from here http://wiki.archlinux.org/index.php/Compiz_Fusion_Git (I'm using kde).
After typing "fusion-icon" CF started and I could rotate the cube and all the usual stuff. However, I cannot open the CompizConfig Settings Manager either from the fusion-icon cube or from the Kmenu.
When I try to open it from a terminal I get these messages:

[paul@arch ~]$ ccsm

(ccsm:10326): 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 83, 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

I see from a Google search that this "unsupported locale setting" error is not uncommon and is reported as a bug by some.
I also found this "fix" http://fatvegan.com/2007/03/14/localeer … e-setting/ which I'm tempted to try.
However, I've received so much help from this forum in the short time I've been using it that I'd prefer to hear from more experienced Arch users what they think first rather than plunging in head first.
Thanks
Paul

Last edited by paulfxh (2008-03-13 18:12:39)

Offline

#2 2008-03-13 14:31:06

nitio
Member
Registered: 2007-08-14
Posts: 9

Re: [Solved] Compiz-Fusion: ccsm won't open

Try re-genrating your locale settings. edit /etc/locale.gen and after you save it just run locale-gen as root - more details here

See if that helps you with the locale problems at least.

Offline

#3 2008-03-13 16:07:53

paulfxh
Member
Registered: 2008-03-11
Posts: 33

Re: [Solved] Compiz-Fusion: ccsm won't open

Yes, that did the trick.
Seems my locale settings got messed up.
Everything ship-shape now.:D
Thanks for your help.

Offline

#4 2008-03-14 19:43:59

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: [Solved] Compiz-Fusion: ccsm won't open

im havin the same problem!!!!!!

[danny@archlinux ~]$ ccsm

(ccsm:13247): 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 29, in <module>
    locale.setlocale(locale.LC_ALL, "")
  File "/usr/lib/python2.5/locale.py", line 476, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
[danny@archlinux ~]$

i edited /etc/locale.gen to include just 1 locale. i then ran locale-gen as root;

[root@archlinux danny]# locale-gen
Generating locales...
  en_GB.ISO-8859-1... done
Generation complete.
[root@archlinux danny]# 

but got exactly the same error!!! wot am i doing wrong?


2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#5 2008-04-24 02:43:21

manutd8611
Member
From: Oklahoma
Registered: 2007-08-22
Posts: 7

Re: [Solved] Compiz-Fusion: ccsm won't open

If your still having trouble, try enabling the "en_US.UTF-8 UTF-8" locale and re-running locale-gen.  I was having trouble with this too until I enabled that specifically.

Offline

#6 2008-06-17 04:12:18

ethan961
Member
Registered: 2008-03-26
Posts: 6

Re: [Solved] Compiz-Fusion: ccsm won't open

In order for ccsm to work for me, I had to uncomment the "en_US ISO-8859-1" locale as well as the "en_US.UTF-8 UTF-8" locale. Uncommenting  only the "en_US.UTF-8 UTF-8" didn't work for me.

Offline

#7 2008-07-12 16:03:56

xkero
Member
Registered: 2008-04-20
Posts: 7

Re: [Solved] Compiz-Fusion: ccsm won't open

Its my opinion something drastically bad has happened to my system sad
Heres some trouble shooting I tried:

# grep -v '^#' /etc/locale.gen
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.ISO-8859-15 ISO-8859-15
en_US.UTF-8 UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15

# locale-gen
Generating locales...
  en_GB.UTF-8... done
  en_GB.ISO-8859-1... done
  en_GB.ISO-8859-15... done
  en_US.UTF-8... done
  en_US.ISO-8859-1... done
  en_US.ISO-8859-15... done
Generation complete.

$ ccsm

(ccsm:16244): 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 27, in <module>
    from ccm.Constants import *
  File "/usr/lib/python2.5/site-packages/ccm/Constants.py", line 92, 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

$ python
Python 2.5.2 (r252:60911, Feb 23 2008, 21:07:14)
[GCC 4.2.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk

(.:16339): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

$ locale


$ ls -lah $(which locale)
-rwxr-xr-x 1 root root 0 Jun 11 14:00 /usr/bin/locale

$ file $(which locale)
/usr/bin/locale: empty

$ pacman -Qo $(which locale)
error: No package owns /usr/bin/locale

Last edited by xkero (2008-07-12 16:37:01)

Offline

Board footer

Powered by FluxBB