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.<br>
<br>I fixed it by commenting out lines 64 and 65.  Please fix this.<br><br>-Thomas Hatch<br><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 2:46 PM, Thomas S Hatch <span dir="ltr"><<a href="mailto:thatch45@gmail.com">thatch45@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am having an issue with appliance-creator and fedora 12.  when I attempt to make any appliance it spits out a python error:<br>
<br># appliance-creator -n test --config /usr/share/spin-kickstarts/fedora-aos.ks -o /srv/test/<br>
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.<br>

Traceback (most recent call last):<br>  File "/usr/bin/appliance-creator", line 164, in <module><br>    sys.exit(main())<br>  File "/usr/bin/appliance-creator", line 148, in main<br>    creator.mount("NONE", options.cachedir)<br>

  File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 515, in mount<br>    self._mount_instroot(base_on)<br>  File "/usr/lib/python2.6/site-packages/appcreate/appliance.py", line 159, in _mount_instroot<br>

    self.__instloop.mount()<br>  File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line 221, in mount<br>    self.__format_disks()<br>  File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line 65, in __format_disks<br>

    raise MountError("Error writing partition table on %s" % d.device)<br>AttributeError: 'dict' object has no attribute 'device'<br><br><br>Any idea what is going on?  Is this a known bug?<br><br>

My version is:<br>appliance-tools-004.4-3.fc12.noarch<br>I am on f12 64 bit<br><font color="#888888"><br>-Thomas Hatch<br>
</font></blockquote></div><br>