Mea culpa. The initialize() method within haufe/monitoring/__init__.py contained a syntax error...obviously there is some code swallowing this exception :->
Andreas On 06.09.09 16:03, Andreas Jung wrote: > Zope 2.11, my buildout configuration contains: > > eggs = haufe.monitoring > develop = src/haufe.monitoring > .. > zcml = haufe.monitoring > > The generated ZCML slug looks like this: > > <include package="haufe.monitoring" file="configure.zcml" /> > > Starting my sandbox fails badly: > > File > "/HRS2/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", > line 216, in feed > self._parser.Parse(data, isFinal) > File > "/HRS2/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", > line 364, in end_element_ns > self._cont_handler.endElementNS(pair, None) > File > "/local/HRS2/Devel/junga/z211/parts/zope2/lib/python/zope/configuration/xmlconfig.py", > line 357, in endElementNS > self.context.end() > File > "/local/HRS2/Devel/junga/z211/parts/zope2/lib/python/zope/configuration/config.py", > line 542, in end > self.stack.pop().finish() > File > "/local/HRS2/Devel/junga/z211/parts/zope2/lib/python/zope/configuration/config.py", > line 690, in finish > actions = self.handler(context, **args) > File > "/local/HRS2/Devel/junga/z211/parts/zope2/lib/python/zope/configuration/xmlconfig.py", > line 539, in include > f = openInOrPlain(path) > File > "/local/HRS2/Devel/junga/z211/parts/zope2/lib/python/zope/configuration/xmlconfig.py", > line 427, in openInOrPlain > fp = open(filename) > zope.configuration.xmlconfig.ZopeXMLConfigurationError: File > "/local/HRS2/Devel/junga/z211/parts/instance/etc/site.zcml", line 15.2-15.55 > ZopeXMLConfigurationError: File > "/local/HRS2/Devel/junga/z211/parts/instance/etc/package-includes/002-haufe.monitoring-configure.zcml", > line 1.0-1.60 > IOError: [Errno 2] No such file or directory: > '/local/HRS2/Devel/junga/z211/src/haufe.monitoring/haufe/configure.zcml' > > zope.configuration is trying to read the configuration from > > '../haufe.monitoring/haufe/configure.zcml' > > instead of > > '.../haufe.monitoring/haufe/monitoring/configure.zcml' > > Am I missing something? > > Andreas > > > > _______________________________________________ > Zope-Dev maillist - [email protected] > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > -- ZOPYX Ltd. & Co KG \ ZOPYX & Friends Charlottenstr. 37/1 \ The experts for your Python, Zope and D-72070 Tübingen \ Plone projects www.zopyx.com, [email protected] \ www.zopyx.de/friends, [email protected] ------------------------------------------------------------------------ E-Publishing, Python, Zope & Plone development, Consulting
<<attachment: lists.vcf>>
_______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
