Bug 153298 - language.py line 30 in expandLangs: iterable argument required
language.py line 30 in expandLangs: iterable argument required
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Chris Lumens
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-04-04 12:31 EDT by Ricky Ng-Adam
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-15 00:30:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ricky Ng-Adam 2005-04-04 12:31:56 EDT
Description of problem:

Again, Anaconda is broken in the same file (language.py) as bug 152533:

anaconda: 1117
kickstart.py: 1454
kickstart.py: 836
kickstart.py: 595
installclass.py line 360
language.py line 227 in setSupported
language.py: line 30, in expandLangs
  if '.' in astring:
TypeError: iterable argument required

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


How reproducible:


Steps to Reproduce:
1. pxe boot
2. kickstart install
Actual results:

installation eventually crash.

Expected results:

installation completes normally.

Additional info:

[rsync'ed from mirror.dulug.duke.edu 2005/04/04 12:30PM EST]

Should I expect both:

lang en_US.UTF-8
langsupport --default=en_CA.UTF-8 en_CA.UTF-8 fr_CA.UTF-8
keyboard us


lang fr_CA.UTF-8
langsupport --default=fr_CA.UTF-8 fr_CA.UTF-8 fr_CA.UTF-8
keyboard us

kickstart install to work when this is fixed? I'd like to test french install to
look at the strings.
Comment 1 Ricky Ng-Adam 2005-04-05 22:36:08 EDT
Different error now with en_US.UTF-8:

File "/usr/lib/anaconda/kickstart.py". line 220, in skipStep
  raise KeyError, ("unknown step %s" % stepToSkip)
KeyError: 'unknown step languagesupport'

...and fr_CA:

File "/usr/lib/anaconda/language.py", line 147, in getLangNameByNick
  return self.localeInfo[curNick][0]
Comment 2 Ricky Ng-Adam 2005-04-05 22:38:03 EDT
Comment #1 was with anaconda- BTW...
Comment 3 Chris Lumens 2005-04-06 10:30:06 EDT
The unknown step error was fixed in  The KeyError on fr_CA is
because I'm not finished rewriting language support yet.  For now if you want to
just examine the strings, you'll need to use something like fr_FR.

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