Bug 180987

Summary: parse error reading file
Product: [Fedora] Fedora Reporter: Richard Hally <rhallyx>
Component: pykickstartAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-13 15:40:32 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:
Attachments:
Description Flags
kickstart file that produces parse error none

Description Richard Hally 2006-02-11 02:06:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060208 Fedora/1.5.0.1-2.1 Firefox/1.5.0.1

Description of problem:
When trying to read in a ks file the following error occurs:

[root@localhost ~]# system-config-kickstart
/usr/lib/python2.4/site-packages/pirut/GroupSelector.py:318: GtkWarning: gtk_tree_view_scroll_to_point: assertion `GTK_WIDGET_REALIZED (tree_view)' failed
  tree.scroll_to_point(0, 0)
Traceback (most recent call last):
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 268, in on_activate_open
    self.parser.readKickstart(file)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 970, in readKickstart
    self.handleCommand(lineno, args)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 848, in handleCommand
    self.handler.handlers[cmd](cmdArgs)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 525, in doNetwork
    (opts, extra) = op.parse_args(args=args)
  File "/usr/lib/python2.4/optparse.py", line 1275, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib/python2.4/optparse.py", line 1315, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib/python2.4/optparse.py", line 1374, in _process_long_opt
    self.error(_("%s option requires an argument") % opt)
  File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 78, in error
    raise KickstartParseError, formatErrorMsg(self.lineno, msg=msg)
pykickstart.parser.KickstartParseError: The following problem occurred on line 21 of the kickstart file:

--onboot option requires an argument

--------end of error message--------------------------------------------- 


Version-Release number of selected component (if applicable):
system-config-kickstart-2.6.6-1

How reproducible:
Sometimes

Steps to Reproduce:
1.create a ks file (one that produces the error is attached)
2.exit s-c-ks
3.start s-c-ks again
4. use the "open file" menu option to read the ks file that you created.
the error is produced.
  

Actual Results:  error produced in the terminal window and the "open file" window hangs.

Expected Results:  the file should be read in.

Additional info:

not all ks files generated will produce the error but several I produced using the current version (one attached) do produce the error.

Comment 1 Richard Hally 2006-02-11 02:11:01 UTC
Created attachment 124537 [details]
kickstart file that produces parse error