[zope2-tracker] [Bug 440493] [NEW] Install error Zope 2.11.4 in CentOS 5.3

jomoliveira jomoliveira at gmail.com
Fri Oct 2 06:30:29 EDT 2009


Public bug reported:

Hi, 
I have CentOS,
I have Python 2.6.2
When i try install Zope 2.11.4 in CentOS 5.3, following install steps i have the next error:
[root at localhost bin]# ./zopectl start
/opt/Zope-2.11/lib/python/zope/schema/_field.py:24: DeprecationWarning: the sets module is deprecated
  from sets import Set as SetType
Traceback (most recent call last):
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 401, in <module>
    exitstatus = main()
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 356, in main
    options.realize(args)
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 98, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/opt/Zope-2.11/lib/python/zdaemon/zdoptions.py", line 290, in realize
    self.load_schema()
  File "/opt/Zope-2.11/lib/python/zdaemon/zdoptions.py", line 338, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 32, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 66, in loadURL
    return self.loadResource(r)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 187, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/local/lib/python2.6/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 301, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/opt/Zope-2.11/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/opt/Zope-2.11/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/datatypes.py", line 22, in <module>
    import OFS.Uninstalled
  File "/opt/Zope-2.11/lib/python/OFS/Uninstalled.py", line 16, in <module>
    import  SimpleItem, Globals, Acquisition
  File "/opt/Zope-2.11/lib/python/OFS/SimpleItem.py", line 26, in <module>
    import AccessControl.Role, AccessControl.Owned, App.Common
  File "/opt/Zope-2.11/lib/python/AccessControl/__init__.py", line 17, in <module>
    from Implementation import setImplementation
  File "/opt/Zope-2.11/lib/python/AccessControl/Implementation.py", line 98, in <module>
    setImplementation("C")
  File "/opt/Zope-2.11/lib/python/AccessControl/Implementation.py", line 51, in setImplementation
    from AccessControl import ImplC as impl
  File "/opt/Zope-2.11/lib/python/AccessControl/ImplC.py", line 30, in <module>
    from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
ImportError: No module named ImplPython
[root at localhost bin]# ./zopectl start >> zope_start.txt
/opt/Zope-2.11/lib/python/zope/schema/_field.py:24: DeprecationWarning: the sets module is deprecated
  from sets import Set as SetType
Traceback (most recent call last):
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 401, in <module>
    exitstatus = main()
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 356, in main
    options.realize(args)
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/zopectl.py", line 98, in realize
    ZDOptions.realize(self, *args, **kw)
  File "/opt/Zope-2.11/lib/python/zdaemon/zdoptions.py", line 290, in realize
    self.load_schema()
  File "/opt/Zope-2.11/lib/python/zdaemon/zdoptions.py", line 338, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 32, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 66, in loadURL
    return self.loadResource(r)
  File "/opt/Zope-2.11/lib/python/ZConfig/loader.py", line 187, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 27, in parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/local/lib/python2.6/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.6/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.6/xml/sax/expatreader.py", line 301, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 99, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 475, in start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null", base)
  File "/opt/Zope-2.11/lib/python/ZConfig/schema.py", line 194, in get_datatype
    return self._registry.get(dtname)
  File "/opt/Zope-2.11/lib/python/ZConfig/datatypes.py", line 398, in get
    t = self.search(name)
  File "/opt/Zope-2.11/lib/python/ZConfig/datatypes.py", line 423, in search
    package = __import__(n, g, g, component)
  File "/opt/Zope-2.11/lib/python/Zope2/Startup/datatypes.py", line 22, in <module>
    import OFS.Uninstalled
  File "/opt/Zope-2.11/lib/python/OFS/Uninstalled.py", line 16, in <module>
    import  SimpleItem, Globals, Acquisition
  File "/opt/Zope-2.11/lib/python/OFS/SimpleItem.py", line 26, in <module>
    import AccessControl.Role, AccessControl.Owned, App.Common
  File "/opt/Zope-2.11/lib/python/AccessControl/__init__.py", line 17, in <module>
    from Implementation import setImplementation
  File "/opt/Zope-2.11/lib/python/AccessControl/Implementation.py", line 98, in <module>
    setImplementation("C")
  File "/opt/Zope-2.11/lib/python/AccessControl/Implementation.py", line 51, in setImplementation
    from AccessControl import ImplC as impl
  File "/opt/Zope-2.11/lib/python/AccessControl/ImplC.py", line 30, in <module>
    from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
ImportError: No module named ImplPython
[root at localhost bin]#

Can help me?
Thanks

** Affects: zope2
     Importance: Undecided
         Status: New

-- 
Install error Zope 2.11.4 in CentOS 5.3
https://bugs.launchpad.net/bugs/440493
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list