[Zope] Re: zope 2.8.6 on Mac Intel

manuel spuhler manuel.spuhler at gmail.com
Wed Apr 12 15:40:57 EDT 2006


Hello,

I re-installed Tiger on my Mac from scratch, and tried to compile Zope
(with python from Fink). Hopefully, everything went fine this time.

Then I succeeded to instanciate Zope.

And I started Zope, and it failed, bouhouhou.

As I am totally new in Python/C I don't know what the error means.
Have you an idea for me please?

Here is the trace:

/plone/bin/zopectl start
Traceback (most recent call last):
  File "/opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py", line 322, in ?
    main()
  File "/opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py", line 280, in main
    options.realize(args)
  File "/opt/Zope2.8/lib/python/Zope2/Startup/zopectl.py", line 91, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/opt/Zope2.8/lib/python/zdaemon/zdoptions.py", line 273, in realize
    self.load_schema()
  File "/opt/Zope2.8/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/Zope2.8/lib/python/ZConfig/loader.py", line 31, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/Zope2.8/lib/python/ZConfig/loader.py", line 65, in loadURL
    return self.loadResource(r)
  File "/opt/Zope2.8/lib/python/ZConfig/loader.py", line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/Zope2.8/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/opt/Zope2.8/lib/python/Zope2/Startup/__init__.py", line 33, in parse
    check_python_version()
  File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py",
line 107, in parse
  File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/xmlreader.py",
line 123, in parse
  File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py",
line 207, in feed
  File "/sw/src/root-python23-2.3.5-12/sw/lib/python2.3/xml/sax/expatreader.py",
line 300, in start_element
  File "/opt/Zope2.8/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/opt/Zope2.8/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/opt/Zope2.8/lib/python/ZConfig/schema.py", line 201, in
get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/opt/Zope2.8/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/opt/Zope2.8/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/opt/Zope2.8/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/opt/Zope2.8/lib/python/Zope2/Startup/datatypes.py", line 20, in ?
    from ZODB.config import ZODBDatabase
  File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ?
    from persistent import TimeStamp
  File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ?
    from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: Inappropriate file type for dynamic loading


More information about the Zope mailing list