All pastes #192182 Raw Edit

Something

public text v1 · immutable
·published 2006-10-05 19:10 UTC
rendered paste body
the relevant portion of configure.zcml:
    <browser:page
       name="tagger.cloudtest.html"
       class=".tests.fixture"
       attribute="setupFixture"
       template="resource/zpt/cloudtesttags.pt"
       />


the error:

    self.stack.pop().finish()
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 494, in include
    processxmlfile(f, context)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile
    parser.parse(src)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS
    self.context.end()
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 494, in include
    processxmlfile(f, context)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 349, in processxmlfile
    parser.parse(src)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/Library/Frameworks/Python.framework/Versions/2.4//lib/python2.4/xml/sax/expatreader.py", line 348, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/xmlconfig.py", line 328, in endElementNS
    self.context.end()
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 544, in end
    self.stack.pop().finish()
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 691, in finish
    args = toargs(context, *self.argdata)
  File "/Users/jab/code/env/tagger/zope/lib/python/zope/configuration/config.py", line 1403, in toargs
    raise ConfigurationError("Unrecognized parameters:", *data)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/Users/jab/code/env/tagger/zope/etc/site.zcml", line 9.2-9.55
    ZopeXMLConfigurationError: File "/Users/jab/code/env/tagger/zope/etc/package-includes/tagger.zope2-configure.zcml", line 1.0-1.34
    ZopeXMLConfigurationError: File "/Users/jab/code/env/tagger/src/tagger.zope2/tagger/zope2/configure.zcml", line 38.4-43.9
    ConfigurationError: ('Unrecognized parameters:', 'class')