[Setup] Clean FC5/Plone Installation: Python Error

smoove_e smoove_e at hotmail.com
Thu Aug 17 23:43:42 UTC 2006


Hi,

 

I attempted 2 fresh server installs (following install instructions to the
letter) on FC5 with the same result-- all is good until ZEOserver is
started, which results in a Python error "ImportError: No module named
ImplPython" These are clean boxes, with O/S only, so no conflicting
configurations. 

 

Any ideas on what needs to change here?

 

Thanks! 

-wendi

 

Here is the output:

 

[root at localhost Plone2.5-UnifiedInstaller]# sudo
/opt/Plone-2.5/zeocluster/bin/startcluster.sh

Starting ZEO server...

 daemon process started, pid=14983

Starting ZEO client1...

Traceback (most recent call last):

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 316, in ?

    main()

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 274, in
main

    options.realize(args)

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 91, in
realize    ZDOptions.realize(self, *args, **kw)

  File "/opt/Plone-2.5/lib/python/zdaemon/zdoptions.py", line 273, in
realize

    self.load_schema()

  File "/opt/Plone-2.5/lib/python/zdaemon/zdoptions.py", line 321, in
load_schema

    self.schema = ZConfig.loadSchema(self.schemafile)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 31, in loadSchema

    return SchemaLoader().loadURL(url)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 65, in loadURL

    return self.loadResource(r)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 159, in
loadResource

    schema = ZConfig.schema.parseResource(resource, self)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 27, in
parseResource

    xml.sax.parse(resource.file, parser)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/__init
__.py", line 31, in parse

    parser.parse(filename_or_stream)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/xmlrea
der.py", line 123, in parse

    self.feed(buffer)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 216, in feed

    self._parser.Parse(data, isFinal)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 312, in start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 99, in
startElement

    getattr(self, "start_" + name)(attrs)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 475, in
start_schema

    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 201, in
get_sect_typeinfo

    datatype = self.get_datatype(attrs, "datatype", "null", base)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 194, in
get_datatype

    return self._registry.get(dtname)

  File "/opt/Plone-2.5/lib/python/ZConfig/datatypes.py", line 398, in get

    t = self.search(name)

  File "/opt/Plone-2.5/lib/python/ZConfig/datatypes.py", line 423, in search

    package = __import__(n, g, g, component)

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/datatypes.py", line 21, in ?

    import OFS.Uninstalled

  File "/opt/Plone-2.5/lib/python/OFS/Uninstalled.py", line 16, in ?

    import  SimpleItem, Globals, Acquisition

  File "/opt/Plone-2.5/lib/python/OFS/SimpleItem.py", line 26, in ?

    import AccessControl.Role, AccessControl.Owned, App.Common

  File "/opt/Plone-2.5/lib/python/AccessControl/__init__.py", line 17, in ?

    from Implementation import setImplementation

  File "/opt/Plone-2.5/lib/python/AccessControl/Implementation.py", line 98,
in ?

    setImplementation("C")

  File "/opt/Plone-2.5/lib/python/AccessControl/Implementation.py", line 51,
in setImplementation

    from AccessControl import ImplC as impl

  File "/opt/Plone-2.5/lib/python/AccessControl/ImplC.py", line 30, in ?

    from ImplPython import RestrictedDTML, SecurityManager,
ZopeSecurityPolicy

ImportError: No module named ImplPython

Starting ZEO client2...

Traceback (most recent call last):

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 316, in ?

    main()

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 274, in
main

    options.realize(args)

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/zopectl.py", line 91, in
realize    ZDOptions.realize(self, *args, **kw)

  File "/opt/Plone-2.5/lib/python/zdaemon/zdoptions.py", line 273, in
realize

    self.load_schema()

  File "/opt/Plone-2.5/lib/python/zdaemon/zdoptions.py", line 321, in
load_schema

    self.schema = ZConfig.loadSchema(self.schemafile)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 31, in loadSchema

    return SchemaLoader().loadURL(url)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 65, in loadURL

    return self.loadResource(r)

  File "/opt/Plone-2.5/lib/python/ZConfig/loader.py", line 159, in
loadResource

    schema = ZConfig.schema.parseResource(resource, self)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 27, in
parseResource

    xml.sax.parse(resource.file, parser)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/__init
__.py", line 31, in parse

    parser.parse(filename_or_stream)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/xmlrea
der.py", line 123, in parse

    self.feed(buffer)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 216, in feed

    self._parser.Parse(data, isFinal)

  File
"/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatr
eader.py", line 312, in start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 99, in
startElement

    getattr(self, "start_" + name)(attrs)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 475, in
start_schema

    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 201, in
get_sect_typeinfo

    datatype = self.get_datatype(attrs, "datatype", "null", base)

  File "/opt/Plone-2.5/lib/python/ZConfig/schema.py", line 194, in
get_datatype

    return self._registry.get(dtname)

  File "/opt/Plone-2.5/lib/python/ZConfig/datatypes.py", line 398, in get

    t = self.search(name)

  File "/opt/Plone-2.5/lib/python/ZConfig/datatypes.py", line 423, in search

    package = __import__(n, g, g, component)

  File "/opt/Plone-2.5/lib/python/Zope2/Startup/datatypes.py", line 21, in ?

    import OFS.Uninstalled

  File "/opt/Plone-2.5/lib/python/OFS/Uninstalled.py", line 16, in ?

    import  SimpleItem, Globals, Acquisition

  File "/opt/Plone-2.5/lib/python/OFS/SimpleItem.py", line 26, in ?

    import AccessControl.Role, AccessControl.Owned, App.Common

  File "/opt/Plone-2.5/lib/python/AccessControl/__init__.py", line 17, in ?

    from Implementation import setImplementation

  File "/opt/Plone-2.5/lib/python/AccessControl/Implementation.py", line 98,
in ?

    setImplementation("C")

  File "/opt/Plone-2.5/lib/python/AccessControl/Implementation.py", line 51,
in setImplementation

    from AccessControl import ImplC as impl

  File "/opt/Plone-2.5/lib/python/AccessControl/ImplC.py", line 30, in ?

    from ImplPython import RestrictedDTML, SecurityManager,
ZopeSecurityPolicy

ImportError: No module named ImplPython

[root at localhost Plone2.5-UnifiedInstaller]#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-setup/attachments/20060817/c236bcb5/attachment-0001.html>


More information about the Setup mailing list