[Product-Developers] Dexterity: ERROR Application Couldn't install Five

David Glick davidglick at groundwire.org
Mon Apr 18 15:31:41 UTC 2011


Try in a clean virtualenv; the traceback involves some speech package from your global Python environment.

David Glick
Sent from my mobile
   In a time of inner rest
      Please forgive brevity

On Apr 17, 2011, at 11:50 PM, "Héctor Velarde" <hector.velarde at gmail.com> wrote:

> Ubuntu 10.10 and Plone 4.0.5; I'm trying to develop a Dexterity-based
> content type using:
>
> extends =
>     http://dist.plone.org/release/4.0.5/versions.cfg
>     http://good-py.appspot.com/release/dexterity/1.0b7?plone=4.0.5
>
> I get this error:
>
> 2011-04-18T01:28:20 ERROR Application Couldn't install Five
> Traceback (most recent call last):
>   File
> "/usr/local/Plone/portalsg/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/OFS/Application.py",
> line 671, in install_product
>     initmethod(context)
>   File
> "/usr/local/Plone/portalsg/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/__init__.py",
> line 31, in initialize
>     zcml.load_site()
>   File
> "/usr/local/Plone/portalsg/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/zcml.py",
> line 51, in load_site
>     _context = xmlconfig.file(file)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 647, in file
>     include(context, name, package)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 546, in include
>     processxmlfile(f, context)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 378, in processxmlfile
>     parser.parse(src)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 349, in
> end_element_ns
>     self._cont_handler.endElementNS(pair, None)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 357, in endElementNS
>     self.context.end()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 537, in end
>     self.stack.pop().finish()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 685, in finish
>     actions = self.handler(context, **args)
>   File
> "/usr/local/Plone/portalsg/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/fiveconfigure.py",
> line 74, in loadProducts
>     handleBrokenProduct(product)
>   File
> "/usr/local/Plone/portalsg/eggs/Zope2-2.12.17-py2.6-linux-x86_64.egg/Products/Five/fiveconfigure.py",
> line 72, in loadProducts
>     xmlconfig.include(_context, zcml, package=product)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 546, in include
>     processxmlfile(f, context)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 378, in processxmlfile
>     parser.parse(src)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 349, in
> end_element_ns
>     self._cont_handler.endElementNS(pair, None)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 357, in endElementNS
>     self.context.end()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 537, in end
>     self.stack.pop().finish()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 685, in finish
>     actions = self.handler(context, **args)
>   File
> "/usr/local/Plone/portalsg/eggs/z3c.autoinclude-0.3.4-py2.6.egg/z3c/autoinclude/zcml.py",
> line 104, in includePluginsDirective
>     includeZCMLGroup(_context, info, filename)
>   File
> "/usr/local/Plone/portalsg/eggs/z3c.autoinclude-0.3.4-py2.6.egg/z3c/autoinclude/zcml.py",
> line 30, in includeZCMLGroup
>     include(_context, filename, includable_package)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 546, in include
>     processxmlfile(f, context)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 378, in processxmlfile
>     parser.parse(src)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib/python2.6/xml/sax/expatreader.py", line 349, in
> end_element_ns
>     self._cont_handler.endElementNS(pair, None)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/xmlconfig.py",
> line 357, in endElementNS
>     self.context.end()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 537, in end
>     self.stack.pop().finish()
>   File
> "/usr/local/Plone/portalsg/eggs/zope.configuration-3.6.0-py2.6.egg/zope/configuration/config.py",
> line 685, in finish
>     actions = self.handler(context, **args)
>   File
> "/usr/local/Plone/portalsg/eggs/z3c.autoinclude-0.3.4-py2.6.egg/z3c/autoinclude/zcml.py",
> line 51, in includeDependenciesDirective
>     info = DependencyFinder(dist).includableInfo(['configure.zcml',
> 'meta.zcml'])
>   File
> "/usr/local/Plone/portalsg/eggs/z3c.autoinclude-0.3.4-py2.6.egg/z3c/autoinclude/dependency.py",
> line 24, in includableInfo
>     module = resolve(dotted_name)
>   File
> "/usr/local/Plone/portalsg/eggs/zope.dottedname-3.4.6-py2.6.egg/zope/dottedname/resolve.py",
> line 32, in resolve
>     found = __import__(used)
>   File "/usr/lib/python2.6/dist-packages/speechd_config/__init__.py",
> line 17, in <module>
>     from config import *
>   File "/usr/lib/python2.6/dist-packages/speechd_config/config.py",
> line 873, in <module>
>     options = Options()
>   File "/usr/lib/python2.6/dist-packages/speechd_config/config.py",
> line 247, in __init__
>     (cmdline_options, args) = self.cmdline_parser.parse_args()
>   File "/usr/lib/python2.6/optparse.py", line 1396, in parse_args
>     self.error(str(err))
>   File "/usr/lib/python2.6/optparse.py", line 1578, in error
>     self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
>   File "/usr/lib/python2.6/optparse.py", line 1568, in exit
>     sys.exit(status)
> SystemExit: 2
>
> seems to be related with z3c.autoinclude; any fix/workaround?
> --
> Héctor Velarde
>
> <smime.p7s>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/product-developers


----------
David Glick
 Web Developer
 davidglick at groundwire.org
 206.286.1235x32

Groundwire: You Are Connected
 http://groundwire.org

Online tools and strategies for the environmental movement.  Sign up for Groundwire News!
 http://groundwire.org/email-capture




More information about the Product-Developers mailing list