Bug 63815

Summary: redhat-config-users doesn't work
Product: [Retired] Red Hat Linux Reporter: Akira TAGOH <tagoh>
Component: redhat-config-usersAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: eng-asia-list, nalin
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-19 04:04:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Akira TAGOH 2002-04-19 00:27:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408

Description of problem:
dump a backtrace:
Traceback (most recent call last):
  File "/usr/share/redhat-config-users/redhat-config-users.py", line 36, in ?
    mainWindow.mainWindow()
  File "/usr/share/redhat-config-users/mainWindow.py", line 143, in __init__
    self.ADMIN = libuser.admin(prompt=admin_prompt_callback,
prompt_data=(_('Logon Information Required'),))
  File "/usr/share/redhat-config-users/mainWindow.py", line 46, in _
    return gettext.dgettext(domain, string).decode(charset).encode("UTF-8")
LookupError: unknown encoding


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.runs redhat-config-users with LANG=ja_JP.eucJP
2.
3.
	

Additional info: it works with locale like LANG=C and LANG=en_US.

Comment 1 Akira TAGOH 2002-04-19 00:28:31 UTC
I tested this on Valhalla-re0417.1

Comment 2 Brent Fox 2002-04-19 03:42:38 UTC
Nalin, I think you made this change the other day to let non UTF-8 strings to be
treated as UTF8 by gtk2.  Any ideas here?  This seems pretty bad.

Comment 3 Brent Fox 2002-04-19 04:03:57 UTC
Nalin has a fix for this in CVS now.  The package is rebuilding at the moment.

Comment 4 Brent Fox 2002-04-19 13:11:15 UTC
Should be fixed in redhat-config-users-1.0.1-5.noarch.rpm.  Thanks for your report.