#9 startup fails due to locale locale.setlocale(locale.LC_ALL,

open
nobody
None
5
2011-02-25
2011-02-25
cellstorm
No

Traceback (most recent call last):
File "/usr/bin/gtkrawgallery", line 11, in <module>
import gtkrawgallery
File "/usr/lib/python2.6/dist-packages/gtkrawgallery.py", line 125, in <module>
locale.setlocale(locale.LC_ALL, 'en_US') #since there is not other translation
File "/usr/lib/python2.6/locale.py", line 513, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

locale.setlocale(locale.LC_ALL, ' ') works

I am on ubuntu maverick.

Discussion

  • Daniele Isca

    Daniele Isca - 2011-02-25

    Hi,
    What is your locale language, please?

     
  • cellstorm

    cellstorm - 2011-02-27

    $: locale
    LANG=en_US.UTF-8
    LANGUAGE=en
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER=en_GB.UTF-8
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=

     
  • Daniele Isca

    Daniele Isca - 2011-02-28

    locale.setlocale(locale.LC_ALL, ' ') should be right, but unfortunately it causes a probable Imagemagick bug on Exposure and Saturation enhance tool. Make a try please!

    Regards!

     

Log in to post a comment.