[Zope] zope 2.9.4 new installation

Katja Süss k.suess at gmx.net
Sat Sep 9 05:46:36 EDT 2006


Hi *
I installed zope 2.9.4 and could not start the instance.
I receiced the error 'No module named cPersistence'
Any idea why?
Thanks for any hint,
Katja



Traceback (most recent call last):
  File "/usr/local/bin/Zope-2.9.4/lib/python/Zope2/Startup/zopectl.py", line 322, in ?
    main()
  File "/usr/local/bin/Zope-2.9.4/lib/python/Zope2/Startup/zopectl.py", line 280, in main
    options.realize(args)
  File "/usr/local/bin/Zope-2.9.4/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/usr/local/bin/Zope-2.9.4/lib/python/zdaemon/zdoptions.py", line 273, in realize
    self.load_schema()
  File "/usr/local/bin/Zope-2.9.4/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/loader.py", line 31, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/loader.py", line 65, in loadURL
    return self.loadResource(r)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/loader.py", line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
    parser.parse(filename_or_stream)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/usr/local/bin/Zope-2.9.4/lib/python/Zope2/Startup/datatypes.py", line 20, in ?
    from ZODB.config import ZODBDatabase
  File "/usr/local/bin/Zope-2.9.4/lib/python/ZODB/__init__.py", line 20, in ?
    from persistent import TimeStamp
  File "/usr/local/bin/Zope-2.9.4/lib/python/persistent/__init__.py", line 19, in ?
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence


More information about the Zope mailing list