[ZCM] [ZC] 2341/ 1 Request "Error when starting Zope"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Thu, 19 Jul 2007 21:22:01 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2341 Update (Request) "Error when starting Zope"
Status Pending, Zope/bug critical
To followup, visit:
http://www.zope.org/Collectors/Zope/2341
==============================================================
= Request - Entry #1 by dcool on Jul 19, 2007 9:22 pm
I downloaded the latest version of Zope and compiled the same as mentioned in the install.txt. Following are the steps:
./configure --prefix=/where/to/install/zope
make
make install
/where/to/install/zope/bin/mkzopeinstance.py
Gave the directory name and initial user details.
When I run ./bin/zopectl start, I get the following error:
backup:~/Desktop/Zope2 dcool$ ./bin/zopectl fg
Traceback (most recent call last):
File "/Users/dcool/Desktop/Zope/lib/python//Zope2/Startup/zopectl.py", line 329, in ?
main()
File "/Users/dcool/Desktop/Zope/lib/python//Zope2/Startup/zopectl.py", line 287, in main
options.realize(args)
File "/Users/dcool/Desktop/Zope/lib/python//Zope2/Startup/zopectl.py", line 95, in realize
ZDOptions.realize(self, *args, **kw)
File "/Users/dcool/Desktop/Zope/lib/python/zdaemon/zdoptions.py", line 273, in realize
self.load_schema()
File "/Users/dcool/Desktop/Zope/lib/python/zdaemon/zdoptions.py", line 321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/loader.py", line 31, in loadSchema
return SchemaLoader().loadURL(url)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/loader.py", line 65, in loadURL
return self.loadResource(r)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/loader.py", line 159, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/schema.py", line 27, in parseResource
xml.sax.parse(resource.file, parser)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/xml/sax/expatreader.py", line 300, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/schema.py", line 99, in startElement
getattr(self, "start_" + name)(attrs)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/schema.py", line 475, in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/schema.py", line 201, in get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/schema.py", line 194, in get_datatype
return self._registry.get(dtname)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/datatypes.py", line 398, in get
t = self.search(name)
File "/Users/dcool/Desktop/Zope/lib/python/ZConfig/datatypes.py", line 423, in search
package = __import__(n, g, g, component)
File "/Users/dcool/Desktop/Zope/lib/python/Zope2/Startup/datatypes.py", line 20, in ?
from ZODB.config import ZODBDatabase
File "/Users/dcool/Desktop/Zope/lib/python/ZODB/__init__.py", line 20, in ?
from persistent import TimeStamp
File "/Users/dcool/Desktop/Zope/lib/python/persistent/__init__.py", line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence
==============================================================