Bug 1052872 - [abrt] lorax: parser.py:715:readKickstart:KickstartError: The following problem occurred on line 0 of the kickstart file:
Summary: [abrt] lorax: parser.py:715:readKickstart:KickstartError: The following probl...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
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:f44a6ec91091f0231c5feaa497e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-14 09:25 UTC by David Juran
Modified: 2015-01-28 01:08 UTC (History)
2 users (show)

Fixed In Version: lorax-21.9-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-28 01:08:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.03 KB, text/plain)
2014-01-14 09:25 UTC, David Juran
no flags Details
File: environ (2.30 KB, text/plain)
2014-01-14 09:25 UTC, David Juran
no flags Details

Description David Juran 2014-01-14 09:25:34 UTC
Description of problem:
I ran livemedia-creator but by mistake I specified a kickstart file that does't exist. I don't expect livemedia-cretor to work without a kickstart but catching the exception would be nice

Version-Release number of selected component:
lorax-20.4-2.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /sbin/livemedia-creator --make-iso --iso /mnt/NotBackedUp/iso/Fedora-20-x86_64-DVD.iso --ks //usr/share/spin-kickstarts/fedora-livecd-desktop.ks --logfile /var/tmp/livemedia.log
dso_list:       pykickstart-1.99.48-1.fc20.noarch
executable:     /sbin/livemedia-creator
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
parser.py:715:readKickstart:KickstartError: The following problem occurred on line 0 of the kickstart file:

Unable to open input kickstart file: curl#37 - "Couldn't open file /share/spin-kickstarts/fedora-livecd-desktop.ks"


Traceback (most recent call last):
  File "/sbin/livemedia-creator", line 907, in <module>
    ks.readKickstart( opts.ks[0] )
  File "/usr/lib/python2.7/site-packages/pykickstart/parser.py", line 715, in readKickstart
    raise KickstartError(formatErrorMsg(0, msg=_("Unable to open input kickstart file: %s") % e.strerror))
KickstartError: The following problem occurred on line 0 of the kickstart file:

Unable to open input kickstart file: curl#37 - "Couldn't open file /share/spin-kickstarts/fedora-livecd-desktop.ks"


Local variables in innermost frame:
reset: True
self: <pykickstart.parser.KickstartParser instance at 0x2ba5ef0>
f: '//usr/share/spin-kickstarts/fedora-livecd-desktop.ks'
e: URLGrabError(14, 'curl#37 - "Couldn\'t open file /share/spin-kickstarts/fedora-livecd-desktop.ks"')
cd: '//usr/share/spin-kickstarts'

Comment 1 David Juran 2014-01-14 09:25:41 UTC
Created attachment 849823 [details]
File: backtrace

Comment 2 David Juran 2014-01-14 09:25:44 UTC
Created attachment 849824 [details]
File: environ


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