[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Fedora-livecd-list] livecd-creator on RHEL5/FC6



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]