Bug 248786

Summary: UnicodeDecodeError in authconfig
Product: [Fedora] Fedora Reporter: Jochen Schmitt <jochen>
Component: pythonAssignee: James Antill <james.antill>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 7CC: katzj, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-20 00:37:52 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 Jochen Schmitt 2007-07-18 19:28:17 UTC
Description of problem:

when I try to call authconfig without any parameter, I will get the following
messages:

Traceback (most recent call last):
  File "/usr/share/authconfig/authconfig.py", line 780, in <module>
    module.run()
  File "/usr/share/authconfig/authconfig.py", line 358, in run
    self.parseOptions()
  File "/usr/share/authconfig/authconfig.py", line 237, in parseOptions
    parser.parse_args(["-h"])
  File "/usr/lib64/python2.5/optparse.py", line 1378, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib64/python2.5/optparse.py", line 1422, in _process_args
    self._process_short_opts(rargs, values)
  File "/usr/lib64/python2.5/optparse.py", line 1529, in _process_short_opts
    option.process(opt, value, values, self)
  File "/usr/lib64/python2.5/optparse.py", line 782, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib64/python2.5/optparse.py", line 804, in take_action
    parser.print_help()
  File "/usr/lib64/python2.5/optparse.py", line 1648, in print_help
    file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 208:
ordinal not in range(128)

Version-Release number of selected component (if applicable):
authconfig-5.3.13-4.fc7

How reproducible:
Call the application without any parameters from the command line

Steps to Reproduce:
1. # authconfig

  
Actual results:
See above.

Comment 1 Tomas Mraz 2007-07-18 20:03:50 UTC
What is your LANG environmental variable set to?

Could you also please try authconfig-5.3.15-1.fc7 as soon as it hits
updates-testing repository?


Comment 2 Jochen Schmitt 2007-07-19 18:09:40 UTC
LANG is set to 'de_DE.utf8
'

Sorry, but the most recent cvs release produced the same bug as reported.

Comment 3 Tomas Mraz 2007-07-19 21:52:49 UTC
It seems like a problem in recent python. The help should be decoded as UTF-8
and not ascii.


Comment 4 Jeremy Katz 2007-07-20 00:37:52 UTC

*** This bug has been marked as a duplicate of 237956 ***