Bug 1141948

Summary: [abrt] livecd-tools: kickstart.py:64:read_kickstart:KickstartError: Failed to parse kickstart file 'xfce-jam.ks' : The following problem occurred on line 758 of the kickstart file:
Product: [Fedora] Fedora Reporter: Peter H. Jones <jones.peter.busi>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2095b8e5a6f45b26a15cdee7b37f80a2445c7efe
Whiteboard: abrt_hash:ba6095ecf22aa41c448abe490a8fb2d9eb567574
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-15 20:57:29 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
File: backtrace
none
File: environ none

Description Peter H. Jones 2014-09-15 20:34:10 UTC
Description of problem:
incorrect code in kickstart file. I had:

%post
....
%post
.....
%end
....
%end

A coding error like this should not cause a backtrace, just a diagnostic.

Version-Release number of selected component:
livecd-tools-21.2-4.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -tt /usr/bin/livecd-creator -v -l -t temp-xfce-jam -dvc xfce-jam.ks
dso_list:       python-imgcreate-21.2-4.fc21.x86_64
executable:     /usr/bin/livecd-creator
kernel:         3.16.2-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
kickstart.py:64:read_kickstart:KickstartError: Failed to parse kickstart file 'xfce-jam.ks' : The following problem occurred on line 758 of the kickstart file:

Section %post does not end with %end.


Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 235, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 176, in main
    ks = imgcreate.read_kickstart(options.kscfg)
  File "/usr/lib/python2.7/site-packages/imgcreate/kickstart.py", line 64, in read_kickstart
    "'%s' : %s" % (path, e))
KickstartError: Failed to parse kickstart file 'xfce-jam.ks' : The following problem occurred on line 758 of the kickstart file:

Section %post does not end with %end.


Local variables in innermost frame:
ks: <pykickstart.parser.KickstartParser instance at 0x1417fc8>
path: 'xfce-jam.ks'
version: <f21.F21Handler object at 0x1401f10>
e: KickstartParseError()
ksfile: '/run/media/jones/2tp001data/createlive/xfce-jam.ks'

Comment 1 Peter H. Jones 2014-09-15 20:34:12 UTC
Created attachment 937716 [details]
File: backtrace

Comment 2 Peter H. Jones 2014-09-15 20:34:13 UTC
Created attachment 937717 [details]
File: environ