Peter,<br><br>This is a bug in a bugfix release of z3c.autoinclude that I stupidly released on the same day as the new grok release. See <a href="http://mail.zope.org/pipermail/grok-dev/2008-April/004561.html">http://mail.zope.org/pipermail/grok-dev/2008-April/004561.html</a> -- I'm on it and will hopefully have it fixed shortly. <br>
<br>Alternatively, pegging grok//grokproject's z3c.autoinclude dependency to version 0.2 would fix this issue.<br><br>Apologies for messing up the 0.12 release....<br><br>Ethan Jucovy<br><br><div class="gmail_quote">On Tue, Apr 22, 2008 at 3:48 PM, Peter Bengtsson <<a href="mailto:peter@fry-it.com">peter@fry-it.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Urgent (consider recent launch) bug report.<br>
Shall I put this into launchpad?<br>
<br>
I just tried...<br>
$ sudo easy_install-2.4 -U grokproject<br>
$ cd /tmp/<br>
$ grokproject -v Sample<br>
Selected and implied templates:<br>
grokproject#grokproject A grok project<br>
<br>
Variables:<br>
egg: Sample<br>
extends: <a href="http://grok.zope.org/releaseinfo/grok-0.12.cfg" target="_blank">http://grok.zope.org/releaseinfo/grok-0.12.cfg</a><br>
newest: false<br>
package: sample<br>
project: Sample<br>
Enter user (Name of an initial administrator user): admin<br>
Enter passwd (Password for the initial administrator user): admin<br>
Enter eggs_dir (Location where zc.buildout will look for and place<br>
packages) ['/home/peterbe/buildout-eggs']:<br>
Creating template grokproject<br>
Creating directory ./Sample<br>
Copying buildout.cfg_tmpl to ./Sample/buildout.cfg<br>
Copying setup.py_tmpl to ./Sample/setup.py<br>
Recursing into src<br>
Creating ./Sample/src/<br>
Recursing into +package+<br>
Creating ./Sample/src/sample/<br>
Copying __init__.py to ./Sample/src/sample/__init__.py<br>
Copying app.py_tmpl to ./Sample/src/sample/app.py<br>
Recursing into app_templates<br>
Creating ./Sample/src/sample/app_templates/<br>
Copying index.pt_tmpl to ./Sample/src/sample/app_templates/<a href="http://index.pt" target="_blank">index.pt</a><br>
Copying configure.zcml to ./Sample/src/sample/configure.zcml<br>
Copying ftesting.zcml_tmpl to ./Sample/src/sample/ftesting.zcml<br>
Copying testing.py_tmpl to ./Sample/src/sample/testing.py<br>
Running /usr/bin/python2.4 setup.py egg_info<br>
Downloading zc.buildout...<br>
Searching for zc.buildout<br>
Reading <a href="http://pypi.python.org/simple/zc.buildout/" target="_blank">http://pypi.python.org/simple/zc.buildout/</a><br>
Best match: zc.buildout 1.0.1<br>
Downloading <a href="http://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-1.0.1.tar.gz#md5=438748533cdf043791c98799ed4b8cd3" target="_blank">http://pypi.python.org/packages/source/z/zc.buildout/zc.buildout-1.0.1.tar.gz#md5=438748533cdf043791c98799ed4b8cd3</a><br>
Processing zc.buildout-1.0.1.tar.gz<br>
Running zc.buildout-1.0.1/setup.py -q bdist_egg --dist-dir<br>
/tmp/easy_install-4xis8N/zc.buildout-1.0.1/egg-dist-tmp-1S-wyX<br>
<br>
Installed /tmp/tmpaY-TeI/zc.buildout-1.0.1-py2.4.egg<br>
<br>
Because this distribution was installed --multi-version, before you can<br>
import modules from this package in an application, you will need to<br>
'import pkg_resources' and then use a 'require()' call similar to one of<br>
these examples, in order to select the desired version:<br>
<br>
pkg_resources.require("zc.buildout") # latest installed version<br>
pkg_resources.require("zc.buildout==1.0.1") # this exact version<br>
pkg_resources.require("zc.buildout>=1.0.1") # this version or higher<br>
<br>
Creating directory '/tmp/Sample/bin'.<br>
Creating directory '/tmp/Sample/parts'.<br>
Creating directory '/tmp/Sample/develop-eggs'.<br>
Generated script '/tmp/Sample/bin/buildout'.<br>
Invoking zc.buildout...<br>
<br>
<br>
$ ./bin/zopectl fg<br>
/tmp/Sample/parts/app/runzope -C /tmp/Sample/parts/zopectl/zope.conf<br>
Traceback (most recent call last):<br>
File "/tmp/Sample/parts/app/runzope", line 113, in ?<br>
zope.app.twisted.main.main()<br>
File "/home/peterbe/buildout-eggs/tmplwHlwB/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py",<br>
line 74, in main<br>
File "/home/peterbe/buildout-eggs/tmplwHlwB/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py",<br>
line 145, in setup<br>
File "/home/peterbe/buildout-eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/appsetup.py",<br>
line 111, in config<br>
context = xmlconfig.file(file, context=context, execute=execute)<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 610, in file<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 546, in include<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 378, in processxmlfile<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 109, in parse<br>
xmlreader.IncrementalParser.parse(self, source)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py",<br>
line 123, in parse<br>
self.feed(buffer)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 216, in feed<br>
self._parser.Parse(data, isFinal)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 364, in end_element_ns<br>
self._cont_handler.endElementNS(pair, None)<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 357, in endElementNS<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py",<br>
line 542, in end<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py",<br>
line 690, in finish<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 546, in include<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 378, in processxmlfile<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 109, in parse<br>
xmlreader.IncrementalParser.parse(self, source)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py",<br>
line 123, in parse<br>
self.feed(buffer)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 216, in feed<br>
self._parser.Parse(data, isFinal)<br>
File "/usr/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py",<br>
line 364, in end_element_ns<br>
self._cont_handler.endElementNS(pair, None)<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/xmlconfig.py",<br>
line 357, in endElementNS<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py",<br>
line 542, in end<br>
File "/home/peterbe/buildout-eggs/tmpU_pQr6/zope.configuration-3.4.0-py2.4.egg/zope/configuration/config.py",<br>
line 690, in finish<br>
File "/home/peterbe/buildout-eggs/tmpJb7t7B/z3c.autoinclude-0.2.1-py2.4.egg/z3c/autoinclude/zcml.py",<br>
line 38, in autoIncludeDirective<br>
File "/home/peterbe/buildout-eggs/tmpJb7t7B/z3c.autoinclude-0.2.1-py2.4.egg/z3c/autoinclude/utils.py",<br>
line 65, in distributionForPackage<br>
File "/home/peterbe/buildout-eggs/tmpJb7t7B/z3c.autoinclude-0.2.1-py2.4.egg/z3c/autoinclude/utils.py",<br>
line 75, in distributionForDottedName<br>
File "/home/peterbe/buildout-eggs/tmpJb7t7B/z3c.autoinclude-0.2.1-py2.4.egg/z3c/autoinclude/utils.py",<br>
line 90, in namespaceDottedNames<br>
File "/home/peterbe/buildout-eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",<br>
line 1460, in get_metadata_lines<br>
return yield_lines(self.get_metadata(name))<br>
File "/home/peterbe/buildout-eggs/setuptools-0.6c8-py2.4.egg/pkg_resources.py",<br>
line 1457, in get_metadata<br>
raise KeyError("No metadata except PKG-INFO is available")<br>
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File<br>
"/tmp/Sample/parts/app/site.zcml", line 4.0-4.28<br>
ZopeXMLConfigurationError: File<br>
"/tmp/Sample/src/sample/configure.zcml", line 4.2-4.37<br>
KeyError: 'No metadata except PKG-INFO is available'<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On 21/04/2008, Martijn Faassen <<a href="mailto:faassen@startifact.com">faassen@startifact.com</a>> wrote:<br>
> Hi there,<br>
><br>
> Just so everybody knows: JW and I are planning to release the trunk as Grok<br>
> 0.12 tomorrow. More about what's in it tomorrow.<br>
><br>
> This will clear the way for Philipp's merging of the grokcore.component<br>
> work into the trunk, which in turn prepares us for Grokkerdam. I think we<br>
> can also do a first release of grokcore.component after Philipp completes<br>
> the merge.<br>
><br>
> Regards,<br>
><br>
> Martijn<br>
><br>
> _______________________________________________<br>
> Grok-dev mailing list<br>
> <a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br>
> <a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Peter Bengtsson,<br>
work <a href="http://www.fry-it.com" target="_blank">www.fry-it.com</a><br>
home <a href="http://www.peterbe.com" target="_blank">www.peterbe.com</a><br>
hobby <a href="http://www.issuetrackerproduct.com" target="_blank">www.issuetrackerproduct.com</a><br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Grok-dev mailing list<br>
<a href="mailto:Grok-dev@zope.org">Grok-dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/grok-dev" target="_blank">http://mail.zope.org/mailman/listinfo/grok-dev</a><br>
</div></div></blockquote></div><br>