Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 133419

Summary: 'Additional Language Support' GUI event handling error
Product: [Fedora] Fedora Reporter: Terry Froy <tez>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: high Docs Contact:
Priority: medium    
Version: 3CC: nobody+pnasrat
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:05:50 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 Terry Froy 2004-09-23 20:59:35 UTC
Description of problem:

The 'Additional Language Support' portion of Anaconda will crash if no
languages are ticked at any point.

The behaviour of Anaconda prior to the Fedora Core 3 test releases was
that at least one language must be ticked at any one time, if only one
language was ticked (i.e. English USA), the user must tick another
language (i.e. English UK) and then untick the default language (i.e.
English USA).

If only one language was ticked, Anaconda would *not* let you untick it.

This release of Anaconda (I have not verified if problem exists in
earlier Fedora Core 3 test releases) generates an immediate Python
traceback if the default language, English USA, is unticked *prior* to
selecting a second language.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Boot Fedora Core 3 Test 3 CD #1.
2. Proceed with installation as normal until you get to the
'Additional Language Support' portion of Anaconda.
3. Untick the 'English (USA)' language.
  
Actual results:

The traceback generated by Anaconda is below:

Traceback (most recent call last):
 File
"/usr/src/build/451389-i386/install//usr/lib/anaconda/iw/language_support_gui.py",
 line 66, in toggled_language
 self.rebuild_combo();
 File
"/usr/src/build/451389-i386/install//usr/lib/anaconda/iw/language_support_gui.py",
 line 84, in rebuild_combo
 self.defaultLang = self.deflang_values[curidx]
IndexError: list index out of range

Expected results:

Anaconda should either not allow the initial default language to be
unticked until at least one other language is ticked.

In simple terms, it should behave more like earlier versions of
Anaconda (see any version of Anaconda which ships with Red Hat Linux
8.0 or later).

Additional info:

I have temporarily worked around the problem by ticking the preferred
language before unticking English (USA), like so:

1:) English USA [X]
    English UK [X]     <--- Tick English UK first.

3:) English USA [ ]    <--- ... then untick English USA.
    English UK [X]

Comment 1 Terry Froy 2004-09-23 21:13:16 UTC
It looks like this may be related to Bug 133164.

Comment 2 Jeremy Katz 2004-09-24 16:07:16 UTC

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

Comment 3 Red Hat Bugzilla 2006-02-21 19:05:50 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.