[Thincrust-devel] Re: Fedora 12 issues
Thomas S Hatch
thatch45 at gmail.com
Fri Dec 4 22:25:16 UTC 2009
I got it fixed, there is a bug in the code. On line 64 of
/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py a check begins
to ensure that the previous command executed. Line 65 has a syntax error
and the exception will (almost) always be raised because parted will have a
return code of 1, even when it works.
I fixed it by commenting out lines 64 and 65. Please fix this.
-Thomas Hatch
On Fri, Dec 4, 2009 at 2:46 PM, Thomas S Hatch <thatch45 at gmail.com> wrote:
> I am having an issue with appliance-creator and fedora 12. when I attempt
> to make any appliance it spits out a python error:
>
> # appliance-creator -n test --config
> /usr/share/spin-kickstarts/fedora-aos.ks -o /srv/test/
> Warning: The kernel was unable to re-read the partition table on /dev/loop1
> (Invalid argument). This means Linux won't know anything about the
> modifications you made until you reboot. You should reboot your computer
> before doing anything with /dev/loop1.
> Traceback (most recent call last):
> File "/usr/bin/appliance-creator", line 164, in <module>
> sys.exit(main())
> File "/usr/bin/appliance-creator", line 148, in main
> creator.mount("NONE", options.cachedir)
> File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 515,
> in mount
> self._mount_instroot(base_on)
> File "/usr/lib/python2.6/site-packages/appcreate/appliance.py", line 159,
> in _mount_instroot
> self.__instloop.mount()
> File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line
> 221, in mount
> self.__format_disks()
> File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line
> 65, in __format_disks
> raise MountError("Error writing partition table on %s" % d.device)
> AttributeError: 'dict' object has no attribute 'device'
>
>
> Any idea what is going on? Is this a known bug?
>
> My version is:
> appliance-tools-004.4-3.fc12.noarch
> I am on f12 64 bit
>
> -Thomas Hatch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/thincrust-devel/attachments/20091204/b457a286/attachment.htm>
More information about the Thincrust-devel
mailing list