Bug 697835
Summary: | LANG=cs_CZ.UTF-8 rhnreg_ks --help causes traceback | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Marian Ganisin <mganisin> |
Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Martin Minar <mminar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | cperry, mkoci, mminar, msuchy, syeghiay |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rhn-client-tools-1.0.0-61.el6 yum-rhn-plugin-0.9.1-26.el6 | Doc Type: | Bug Fix |
Doc Text: |
rhnreg_ks failed due translated "--help" strings. This was fixed by retrieving translated strings in Unicode.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:06:35 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: | |||
Bug Depends On: | 683546 | ||
Bug Blocks: | 670159 |
Description
Marian Ganisin
2011-04-19 11:57:47 UTC
I forget package version: rhn-setup-1.0.0-60.el6.noarch I assume you have LC_ALL set to cs_CZ. Right? Aha, I see it already in subject of this bug. (In reply to comment #4) > Aha, I see it already in subject of this bug. Sorry. :) Next time I will put all necessary information in one place. Cherry picked as ef0a64cec0cdcf553e2020d7941ab5c7429dafd8 Just for information also execution of rhn_register (without any option) results in same (or similar) error (again with LANG=cs_CZ.UTF-8): [Wed Apr 20 03:04:20 2011] rhn_register Traceback (most recent call last): File "/usr/sbin/rhn_register", line 75, in <module> app.run() File "/usr/share/rhn/up2date_client/rhncli.py", line 74, in run sys.exit(self.main() or 0) File "/usr/sbin/rhn_register", line 57, in main ui.main() File "/usr/share/rhn/up2date_client/tui.py", line 1271, in main tui = Tui(screen, test) File "/usr/share/rhn/up2date_client/tui.py", line 1127, in __init__ self.drawFrame() File "/usr/share/rhn/up2date_client/tui.py", line 1172, in drawFrame self.screen.pushHelpLine(_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen").encode('utf-8')) <type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xc5 in position 27: ordinal not in range(128) I suppose it is just a duplicate of issue reported here, hopefully it is already fixed as well. Yes, I'm aware of that. It should even affect: spacewalk-channel rhn-profile-sync yum-rhn-plugin Verified in rhn-client-tools-1.0.0-61.el6 yum-rhn-plugin-0.9.1-26.el6 Reproducer: ]# LANG=cs_CZ.UTF8 rhnreg-ks --help Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: rhnreg_ks failed due translated "--help" strings. This was fixed by retrieving translated strings in Unicode. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0565.html |