Mark McLoughlin wrote:
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))

Just hit another error trying to create a live cd from the kickstart file at
http://sundaram.fedorapeople.org/rhel-gnome.ks

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 133, in ?
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 117, in main
    creator.configure()
File "//usr/lib/python2.4/site-packages/imgcreate/creator.py", line 619, in configure
    kickstart.SelinuxConfig(self._instroot).apply(ksd.selinux)
File "//usr/lib/python2.4/site-packages/imgcreate/kickstart.py", line 395, in apply
    if ksselinux.selinux:
AttributeError: 'int' object has no attribute 'selinux'

Rahul

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to