David Bain wrote:
When I run my Plone buildout then try to run
bin/instance fg
I get the following elementtree related error:
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
"/home/plone/my.buildout/parts/instance1/etc/site.zcml", line 14.2-14.55
ZopeXMLConfigurationError: File
"/home/plone/my.buildout/parts/instance1/etc/package-includes/002-elementtree-configure.zcml",
line 1.0-1.55
IOError: [Errno 20] Not a directory:
'/usr/lib/python2.4/site-packages/elementtree-1.2.7_20070827_preview-py2.4.egg/elementtree/configure.zcml'
It seems that elementtree now ships as a zipped egg and this doesn't go
down well with my current setup.
This is because you've got 'elementtree' in a ZCML slug (probably via a
'zcml' option in the [instance] section of your buildout). This is
wrong. elementtree is not a Zope 3 package and does not need a
configure.zcml line. You'd get this even with 'unzip=true' in your
[buildout] section.
Martin
--
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers