[Grok-dev] Grok 0.12 release planned for tomorrow (tuesday april 22)

Ethan Jucovy ejucovy at openplans.org
Tue Apr 22 16:02:05 EDT 2008


Peter,

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
http://mail.zope.org/pipermail/grok-dev/2008-April/004561.html -- I'm on it
and will hopefully have it fixed shortly.

Alternatively, pegging grok//grokproject's z3c.autoinclude dependency to
version 0.2 would fix this issue.

Apologies for messing up the 0.12 release....

Ethan Jucovy

On Tue, Apr 22, 2008 at 3:48 PM, Peter Bengtsson <peter at fry-it.com> wrote:

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


More information about the Grok-dev mailing list