[Zope] Startup error with Formulator

Dennis Allison allison at shasta.stanford.edu
Wed Feb 8 10:36:50 EST 2006


Zope 2.8.4
Python 2.4.2

Startup error with Formulator.  What's missing or broken?

Out of the box:

2006-02-08T01:51:58 ERROR Zope Couldn't install Five
Traceback (most recent call last):
  File "/usr/local/src/zope/Zope2.8/lib/python/OFS/Application.py", line 
773, in install_product
    initmethod(context)
  File "/usr/local/src/zope/Zope2.8/lib/python/Products/Five/__init__.py", 
line 29, in initialize
    zcml.load_site()
  File "/usr/local/src/zope/Zope2.8/lib/python/Products/Five/zcml.py", 
line 45, in load_site
    _context = xmlconfig.file(file)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 439, in file
    include(context, name, package)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 375, in include
    processxmlfile(f, context)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 245, in processxmlfile
    parser.parse(src)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
216, in feed
    self._parser.Parse(data, isFinal)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 225, in endElementNS
    self.context.end()
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 518, in end
    self.stack.pop().finish()
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 665, in finish
    actions = self.handler(context, **args)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/Products/Five/fiveconfigure.py", 
line 56, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 375, in include
    processxmlfile(f, context)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 245, in processxmlfile
    parser.parse(src)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", 
line 123, in parse
    self.feed(buffer)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
216, in feed
    self._parser.Parse(data, isFinal)
  File 
"/usr/local/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 
353, in start_element_ns
    AttributesNSImpl(newattrs, qnames))
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/xmlconfig.py", 
line 206, in startElementNS
    self.context.begin(name, data, info)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 515, in begin
    self.stack.append(self.stack[-1].contained(__name, __data, __info))
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 815, in contained
    return RootStackItem.contained(self, name, data, info)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 683, in contained
    factory = self.context.factory(self.context, name)
  File 
"/usr/local/src/zope/Zope2.8/lib/python/zope/configuration/config.py", 
line 461, in factory
    raise ConfigurationError("Unknown directive", ns, n)
ZopeXMLConfigurationError: File 
"/usr/local/src/zope/Zope2.8/lib/python/Products/Five/skel/site.zcml", 
line 12.2-12.23
    ZopeXMLConfigurationError: File 
"/opt/zope/zproducts/standard/Formulator/configure.zcml", line 7.2
    ConfigurationError: ('Unknown directive', 
u'http://namespaces.zope.org/i18n', u'registerTranslations')
------


The offending file is:

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    >

  <!-- i18n -->
  <i18n:registerTranslations directory="i18n" />

</configure>


-- 



More information about the Zope mailing list