[Fedora-livecd-list] livecd-creator on RHEL5/FC6
Mark McLoughlin
markmc at redhat.com
Tue Jan 8 10:08:02 UTC 2008
Hi Rahul,
On Tue, 2008-01-08 at 03:48 +0530, Rahul Sundaram wrote:
> I had to patch two files for the try finally construct. The patches are
>
> http://sundaram.fedorapeople.org/livecd-creator-try-finally.patch
> http://sundaram.fedorapeople.org/image-creator-try-finally.patch
>
> (These patches are pretty simple but I am very much a python newbie and
> might be incorrect but it gets the tools to run)
Thanks, I've folded them into the try-finally patch.
> File "//usr/lib/python2.4/site-packages/imgcreate/kickstart.py", line
> 51, in read_kickstart
> os.chdir(dirname)
> OSError: [Errno 2] No such file or directory: ''
>
> Any idea what's wrong?
As Tim (thanks Tim!) pointed out, it's just a bug, but I fixed it by
changing it to:
os.chdir(os.path.abspath(dirname))
Thanks,
Mark.
More information about the Fedora-livecd-list
mailing list