Bug 180987 - parse error reading file
parse error reading file
Product: Fedora
Classification: Fedora
Component: pykickstart (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
Depends On:
  Show dependency treegraph
Reported: 2006-02-10 21:06 EST by Richard Hally
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: 2006-02-13 10:40:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
kickstart file that produces parse error (1.47 KB, text/plain)
2006-02-10 21:11 EST, Richard Hally
no flags Details

  None (edit)
Description Richard Hally 2006-02-10 21:06:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20060208 Fedora/ Firefox/

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
  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
  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):

How reproducible:

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-10 21:11:01 EST
Created attachment 124537 [details]
kickstart file that produces parse error

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