Bug 1083913

Summary: [abrt] pykickstart: optparse.py:1669:print_help:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 142: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Michal Kovarik <mkovarik>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bcl, clumens
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/fe09473ce18504f9b6147e57e85aed234f45d738
Whiteboard: abrt_hash:0e0efdd0a6c1d988c5bbc77809eb3895988c3790
Fixed In Version: pykickstart-1.99.54-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 16:04:56 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Michal Kovarik 2014-04-03 08:52:24 UTC
Description of problem:
run 'ksshell --help' with  LANG=cs_CZ.utf8

Version-Release number of selected component:
pykickstart-1.99.48-1.fc20

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /usr/bin/ksshell --help
dso_list:       python-libs-2.7.5-11.fc20.x86_64
executable:     /usr/bin/ksshell
kernel:         3.13.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
optparse.py:1669:print_help:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 142: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/ksshell", line 153, in <module>
    (opts, extra) = op.parse_args(sys.argv[1:])
  File "/usr/lib64/python2.7/optparse.py", line 1399, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib64/python2.7/optparse.py", line 1439, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib64/python2.7/optparse.py", line 1514, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib64/python2.7/optparse.py", line 788, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib64/python2.7/optparse.py", line 810, in take_action
    parser.print_help()
  File "/usr/lib64/python2.7/optparse.py", line 1669, in print_help
    file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 142: ordinal not in range(128)

Local variables in innermost frame:
self: <optparse.OptionParser instance at 0x23ec368>
file: <open file '<stdout>', mode 'w' at 0x7f7bb6cb0150>
encoding: 'UTF-8'

Comment 1 Michal Kovarik 2014-04-03 08:52:30 UTC
Created attachment 882166 [details]
File: backtrace

Comment 2 Michal Kovarik 2014-04-03 08:52:32 UTC
Created attachment 882167 [details]
File: environ