gresistor crashed with AttributeError in bindtextdomain()

Bug #331711 reported by Perfecto
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gResistor
New
Undecided
auto-marcos1eletronica
gresistor (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gresistor

It doesn't start

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gresistor
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: gresistor 0.0.1-0ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gresistor
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gresistor']
SourcePackage: gresistor
Title: gresistor crashed with AttributeError in bindtextdomain()
Uname: Linux 2.6.28-8-generic x86_64
UserGroups: adm admin audio cdrom clamav dialout dip fax floppy flumotion fuse gnokii lpadmin netdev plugdev pulse pulse-access pulse-rt sambashare saned scanner tape users vdr video

Revision history for this message
Perfecto (perfecto) wrote :
Perfecto (perfecto)
visibility: private → public
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:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

  • auto-marcos1eletronica Edit

Bug watches keep track of this bug in other bug trackers.