Bug 1083913 - [abrt] pykickstart: optparse.py:1669:print_help:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 142: ordinal not in range(128)
Summary: [abrt] pykickstart: optparse.py:1669:print_help:UnicodeDecodeError: 'ascii' c...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:0e0efdd0a6c1d988c5bbc77809e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-03 08:52 UTC by Michal Kovarik
Modified: 2014-06-09 16:04 UTC (History)
2 users (show)

Fixed In Version: pykickstart-1.99.54-1
Clone Of:
Environment:
Last Closed: 2014-06-09 16:04:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.19 KB, text/plain)
2014-04-03 08:52 UTC, Michal Kovarik
no flags Details
File: environ (2.84 KB, text/plain)
2014-04-03 08:52 UTC, Michal Kovarik
no flags Details

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


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