[Zope] Problem running zopectl
Mike B
mberning at gmail.com
Mon Jun 26 09:05:07 EDT 2006
I'm getting the following error message when I try to run zopectl.
I've googled it and looked through the archives but found nothing. Any
help would be appreciated. I'm running python 2.4.3 and zope 2.9.3.
Traceback (most recent call last):
File "/usr/share/zope/zope/lib/python/Zope2/Startup/zopectl.py",
line 316, in ?
main()
File "/usr/share/zope/zope/lib/python/Zope2/Startup/zopectl.py",
line 274, in main
options.realize(args)
File "/usr/share/zope/zope/lib/python/Zope2/Startup/zopectl.py",
line 91, in realize
ZDOptions.realize(self, *args, **kw)
File "/usr/share/zope/z-2.9.3//lib/python/zdaemon/zdoptions.py",
line 273, in realize
self.load_schema()
File "/usr/share/zope/z-2.9.3//lib/python/zdaemon/zdoptions.py",
line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/loader.py", line
31, in loadSchema
return SchemaLoader().loadURL(url)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/loader.py", line
65, in loadURL
return self.loadResource(r)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/loader.py", line
159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/schema.py", line
27, in parseResource
xml.sax.parse(resource.file, parser)
File "/usr/local/lib/python2.4/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 300, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/schema.py", line
99, in startElement
getattr(self, "start_" + name)(attrs)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/schema.py", line
475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/schema.py", line
201, in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/schema.py", line
194, in get_datatype
return self._registry.get(dtname)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/datatypes.py",
line 398, in get
t = self.search(name)
File "/usr/share/zope/z-2.9.3//lib/python/ZConfig/datatypes.py",
line 423, in search
package = __import__(n, g, g, component)
File "/usr/share/zope/z-2.9.3//lib/python/Zope2/Startup/datatypes.py",
line 21, in ?
import OFS.Uninstalled
File "/usr/share/zope/z-2.9.3//lib/python/OFS/Uninstalled.py", line 16, in ?
import SimpleItem, Globals, Acquisition
File "/usr/share/zope/z-2.9.3//lib/python/OFS/SimpleItem.py", line 26, in ?
import AccessControl.Role, AccessControl.Owned, App.Common
File "/usr/share/zope/z-2.9.3//lib/python/AccessControl/__init__.py",
line 17, in ?
from Implementation import setImplementation
File "/usr/share/zope/z-2.9.3//lib/python/AccessControl/Implementation.py",
line 98, in ?
setImplementation("C")
File "/usr/share/zope/z-2.9.3//lib/python/AccessControl/Implementation.py",
line 51, in setImplementation
from AccessControl import ImplC as impl
File "/usr/share/zope/z-2.9.3//lib/python/AccessControl/ImplC.py",
line 30, in ?
from ImplPython import RestrictedDTML, SecurityManager, ZopeSecurityPolicy
ImportError: No module named ImplPython
More information about the Zope
mailing list