Bug 84745 - redhat-config-kickstart will not open a recently created kickstart file.
redhat-config-kickstart will not open a recently created kickstart file.
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-kickstart (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: Brent Fox
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2003-02-20 18:38 EST by Larry Troan
Modified: 2016-04-18 05:39 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-18 17:05:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to fix traceback (973 bytes, patch)
2003-02-23 18:05 EST, Jeremy Katz
no flags Details | Diff

  None (edit)
Description Larry Troan 2003-02-20 18:38:56 EST
redhat-config-kickstart will not open a recently created kickstart file
Server (and Generation): All

Steps to reproduce:

1) Install Red Hat 9.0 Beta 5 (grub/everything)
2) redhat-config-kickstart
3) Create a ks.cfg and save the file in /tmp
4) Click "File" and then "Open File"
5) Select the file you created and saved and click "OK"
6) Notice error messages
   [root@ml350r5 root]# redhat-config-kickstart
Traceback (most recent call last):
  File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 255, in
  File "/usr/share/redhat-config-kickstart/kickstartGui.py", line 286, in fillData
  File "/usr/share/redhat-config-kickstart/basic.py", line 303, in fillData
    while iter:
UnboundLocalError: local variable 'iter' referenced before assignment

uname -r output: n/a

Is the issue reproducible? yes.  

Workaround: no
Action by: Bryan.Leopard
Issue Registered

ISSUE TRACKER 16155 opened by HP as sev 2
Comment 1 Bill Nottingham 2003-02-20 19:49:30 EST
Can you attach the kickstart file?
Comment 2 Jeremy Katz 2003-02-23 18:04:44 EST
It will happen on any kickstart config that has a langsupport line like
langsupport --default=en_US

Attached patch fixes
Comment 3 Jeremy Katz 2003-02-23 18:05:24 EST
Created attachment 90301 [details]
patch to fix traceback
Comment 4 Brent Fox 2003-02-24 17:41:05 EST
Patch applied.  Should be fixed in redhat-config-kickstart-2.3.6-4.  Thanks katzj.
Comment 5 Larry Troan 2003-03-13 21:33:54 EST
Event posted 03-10-2003 12:29pm by Bryan.Leopard with duration of 0.00        
Not fixed in beta 5.  
Comment 6 Brent Fox 2003-03-14 11:35:33 EST
Beta 5 contained redhat-config-kickstart-2.3.6-2.  The latest tree contains
redhat-config-kickstart-2.3.6-4, which should fix the problem.
Comment 7 Larry Troan 2003-03-27 22:40:14 EST
Event posted 03-25-2003 03:50pm by Bryan.Leopard with duration of 0.00
Still a problem in the GM product.
Comment 8 bcling 2003-06-17 16:15:13 EDT

There are a bunch of inconsistencies in the GUI generated configuration file:

1. anaconda generated anaconda-ks.cfg includes "=" in --size=XXX
   GUI generated ks.cfg files do not have this
2. The GUI will REQUIRE "=" in --server and --dir settings
3. The GUI creates swap space with a --fstype entry but with no specified type.
   This prevents the kickstart file from being used during an install...

Failure to include the "=" in step 2 will prevent the GUI from opening the file.
Comment 9 Brent Fox 2003-07-09 23:34:01 EDT
bcl: please open a new bug with the problem you are seeing since it does not
appear to be related to the original bug reporter's issue.
Comment 10 Brent Fox 2003-07-09 23:56:03 EDT
I can not duplicate this problem with RHL 9.  If you are still seeing this
behavior, please reopen this bug and attach the kickstart file that
redhat-config-kickstart is crashing on.  Otherwise, I don't have a reproducible
test case.

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