Bug 1141948 - [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:
Summary: [abrt] livecd-tools: kickstart.py:64:read_kickstart:KickstartError: Failed to...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:ba6095ecf22aa41c448abe490a8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-15 20:34 UTC by Peter H. Jones
Modified: 2014-09-15 20:57 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-15 20:57:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (957 bytes, text/plain)
2014-09-15 20:34 UTC, Peter H. Jones
no flags Details
File: environ (1.48 KB, text/plain)
2014-09-15 20:34 UTC, Peter H. Jones
no flags Details

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


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