Bug 248786
| Summary: | UnicodeDecodeError in authconfig | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> |
| Component: | python | Assignee: | James Antill <james.antill> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7 | CC: | 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: | |||
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? LANG is set to 'de_DE.utf8 ' Sorry, but the most recent cvs release produced the same bug as reported. It seems like a problem in recent python. The help should be decoded as UTF-8 and not ascii. |
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.