fresh zop2.10 instance does not start

Bug #273700 reported by Klaus Thorn
2
Affects Status Importance Assigned to Milestone
zope2.10 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: zope2.10

./zopectl start only produces the error:

AttributeError: 'module' object has no attribute 'CAPI'

I ecpected the fresh instance to start and liten on an tcp port.

environment: on an Ubuntu 8.04.1 x86 server (with all available updates) I just installed:

zope2.10 2.10.5-2
zope-common 0.5.38
zope-tinytableplus 0.9-18
zope-zwiki 0.60.0-1

and called mkzopeinstance.py
and edited the log file location in instancehome/etc/zope.conf
to /var/log/zope/* and chowned that dir to user zope

as a last big paragraph: the complete python exception output:

root@instancehome/bin ./zopectl start
Traceback (most recent call last):
  File "/usr/lib/zope2.10/lib/python/Zope2/Startup/zopectl.py", line 329, in ?
    main()
  File "/usr/lib/zope2.10/lib/python/Zope2/Startup/zopectl.py", line 287, in main
    options.realize(args)
  File "/usr/lib/zope2.10/lib/python/Zope2/Startup/zopectl.py", line 95, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/usr/lib/zope2.10/lib/python/zdaemon/zdoptions.py", line 273, in realize
    self.load_schema()
  File "/usr/lib/zope2.10/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/usr/lib/zope2.10/lib/python/ZConfig/loader.py", line 31, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/usr/lib/zope2.10/lib/python/ZConfig/loader.py", line 65, in loadURL
    return self.loadResource(r)
  File "/usr/lib/zope2.10/lib/python/ZConfig/loader.py", line 159, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/usr/lib/zope2.10/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/lib/python2.4/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.4/xml/sax/expatreader.py", line 300, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/lib/zope2.10/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/usr/lib/zope2.10/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/usr/lib/zope2.10/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/usr/lib/zope2.10/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/usr/lib/zope2.10/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/usr/lib/zope2.10/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/usr/lib/zope2.10/lib/python/Zope2/Startup/datatypes.py", line 21, in ?
    import OFS.Uninstalled
  File "/usr/lib/zope2.10/lib/python/OFS/Uninstalled.py", line 16, in ?
    import SimpleItem, Globals, Acquisition
  File "/usr/lib/zope2.10/lib/python/OFS/SimpleItem.py", line 26, in ?
    import AccessControl.Role, AccessControl.Owned, App.Common
  File "/usr/lib/zope2.10/lib/python/AccessControl/__init__.py", line 17, in ?
    from Implementation import setImplementation
  File "/usr/lib/zope2.10/lib/python/AccessControl/Implementation.py", line 98, in ?
    setImplementation("C")
  File "/usr/lib/zope2.10/lib/python/AccessControl/Implementation.py", line 51, in setImplementation
    from AccessControl import ImplC as impl
  File "/usr/lib/zope2.10/lib/python/AccessControl/ImplC.py", line 18, in ?
    from cAccessControl import rolesForPermissionOn, \
  File "/usr/lib/zope2.10/lib/python/AccessControl/SimpleObjectPolicies.py", line 111, in ?
    from BTrees.OOBTree import OOBTree, OOBucket, OOSet
  File "/net/projects/web/zope/lib/python/BTrees/__init__.py", line 11, in ?
    import Interfaces
  File "/net/projects/web/zope/lib/python/BTrees/Interfaces.py", line 15, in ?
    import OOBTree, Interface
  File "/net/projects/web/zope/lib/python/BTrees/OOBTree.py", line 16, in ?
    from _OOBTree import *
AttributeError: 'module' object has no attribute 'CAPI'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.