Bug 851644 - [ja_JP] Traceback when starting subscription-manager-gui
Summary: [ja_JP] Traceback when starting subscription-manager-gui
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-rhsm
Version: 5.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-08-24 15:03 UTC by John Sefler
Modified: 2013-01-08 07:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Logging messages in Japanese were being improperly decoded by python-rhsm. Consequence: python-rhsm threw tracebacks on the console. Fix: Configure python-rhsm to handle Japanese messages correctly. Result: No tracebacks on the console.
Clone Of:
Environment:
Last Closed: 2013-01-08 07:17:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0039 0 normal SHIPPED_LIVE python-rhsm bug fix update 2013-01-07 15:28:26 UTC

Description John Sefler 2012-08-24 15:03:18 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
[root@jsefler-rhel59 ~]# subscription-manager unregister
This system is currently not registered.
[root@jsefler-rhel59 ~]# LANG=ja_JP.UTF8 subscription-manager-gui
Traceback (most recent call last):
  File "/usr/lib64/python2.4/logging/handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "/usr/lib64/python2.4/logging/handlers.py", line 149, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
    return fmt.format(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 408, in format
    s = self._fmt % record.__dict__
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 67: unexpected end of data
Traceback (most recent call last):
  File "/usr/lib64/python2.4/logging/handlers.py", line 71, in emit
    if self.shouldRollover(record):
  File "/usr/lib64/python2.4/logging/handlers.py", line 149, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 617, in format
    return fmt.format(record)
  File "/usr/lib64/python2.4/logging/__init__.py", line 408, in format
    s = self._fmt % record.__dict__
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe3 in position 30: unexpected end of data

  
^^^  Although the gui opens and appears functional, this traceback is not pretty.


Additional info:

Comment 1 RHEL Program Management 2012-08-24 15:17:17 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 2 Bryan Kearney 2012-08-29 19:33:32 UTC
fixed in master at 9a8ed6591be906f9d3e3e5f81464c6c21859b89d.

Comment 4 RHEL Program Management 2012-08-29 19:47:17 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 6 John Sefler 2012-09-07 18:17:36 UTC
Verifying Version...
[root@rhsm-accept-rhel5 ~]# rpm -q subscription-manager-gui
subscription-manager-gui-1.0.17-1.el5


[root@rhsm-accept-rhel5 ~]# subscription-manager unregister
This system is currently not registered.
[root@rhsm-accept-rhel5 ~]# LANG=ja_JP.UTF8 subscription-manager-gui
[root@rhsm-accept-rhel5 ~]# 

^^^ VERIFIED: The subscription-manager-gui was rendered and displayed Japanese without throwing any tracebacks to the console.

Comment 8 errata-xmlrpc 2013-01-08 07:17:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0039.html


Note You need to log in before you can comment on or make changes to this bug.