Bug 312291 - [PATCH] Authconfig crashes when started w/o opts in the CLI (non-English locale)
Summary: [PATCH] Authconfig crashes when started w/o opts in the CLI (non-English locale)
Keywords:
Status: CLOSED DUPLICATE of bug 237956
Alias: None
Product: Fedora
Classification: Fedora
Component: authconfig
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 314061
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-29 12:27 UTC by Andy Shevchenko
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-01 15:46:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Hack to avoid the crash. (763 bytes, patch)
2007-09-29 12:27 UTC, Andy Shevchenko
no flags Details | Diff

Description Andy Shevchenko 2007-09-29 12:27:54 UTC
Description of problem:
Starting authconfig from CLI (non-English locale) w/o opts should produce the 
help screen, but it just crashes.

Version-Release number of selected component (if applicable):
Last official authconfig for F7.

How reproducible:
Start following in the CLI:
LANG=ru_RU.UTF-8 LC_MESSAGES=ru_RU.UTF-8 authconfig

Additional info:
Please, review and include attached patch.
In depth problem still present for all python-based applications. The optparse 
module contains some broken logic (for non-ascii people). More prefered way is 
to fix python module instead of hack authconfig and possible others.

Comment 1 Andy Shevchenko 2007-09-29 12:27:55 UTC
Created attachment 211321 [details]
Hack to avoid the crash.

Comment 2 Andy Shevchenko 2007-10-01 15:46:18 UTC

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


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