Comment 2 for bug 331711

Revision history for this message
Markus Kolb (mkolb) wrote :

This has to do something with special locale settings.
Locales and gettext are not supported by upstream (see #601196).

makolb@horatio:~$ locale
LANG=de_AT.utf8
LC_CTYPE="de_AT.utf8"
LC_NUMERIC="de_AT.utf8"
LC_TIME="de_AT.utf8"
LC_COLLATE="de_AT.utf8"
LC_MONETARY="de_AT.utf8"
LC_MESSAGES="de_AT.utf8"
LC_PAPER="de_AT.utf8"
LC_NAME="de_AT.utf8"
LC_ADDRESS="de_AT.utf8"
LC_TELEPHONE="de_AT.utf8"
LC_MEASUREMENT="de_AT.utf8"
LC_IDENTIFICATION="de_AT.utf8"
LC_ALL=
makolb@horatio:~$ LANG=C gresistor
makolb@horatio:~$ LANG=de gresistor

(process:12116): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Warning gresistor unsupported locale setting
Traceback (most recent call last):
  File "/usr/bin/gresistor", line 26, in <module>
    bindtextdomain(app_name, locale_dir)
  File "/usr/lib/python2.6/dist-packages/SimpleGladeApp.py", line 56, in bindtextdomain
    __builtins__.__dict__["_"] = lambda x : x
AttributeError: 'dict' object has no attribute '__dict__'
makolb@horatio:~$ LANG=de_AT gresistor

(process:12117): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Warning gresistor unsupported locale setting
Traceback (most recent call last):
  File "/usr/bin/gresistor", line 26, in <module>
    bindtextdomain(app_name, locale_dir)
  File "/usr/lib/python2.6/dist-packages/SimpleGladeApp.py", line 56, in bindtextdomain
    __builtins__.__dict__["_"] = lambda x : x
AttributeError: 'dict' object has no attribute '__dict__'
makolb@horatio:~$ LANG=de_AT.utf-8 gresistor
makolb@horatio:~$ LC_ALL=de gresistor

(process:12119): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Warning gresistor unsupported locale setting
Traceback (most recent call last):
  File "/usr/bin/gresistor", line 26, in <module>
    bindtextdomain(app_name, locale_dir)
  File "/usr/lib/python2.6/dist-packages/SimpleGladeApp.py", line 56, in bindtextdomain
    __builtins__.__dict__["_"] = lambda x : x
AttributeError: 'dict' object has no attribute '__dict__'
makolb@horatio:~$ LC_ALL=C gresistor
makolb@horatio:~$