[Zope] error runing zope after installation
Adinda Praditya
apraditya at gmail.com
Tue Jun 13 04:05:28 EDT 2006
Hi list,
I just read previous thread "error: must supply either home or
prefix/exec-prefix -- not
both"<http://mail.zope.org/pipermail/zope/2006-April/166098.html>,
so i compiled Python-2.4.3 and then installed Zope-2.9.2 successfully. I
created a zope instance. When i tried to run it, i got this message:
====
Traceback (most recent call last):
File "/opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py", line 316, in ?
main()
File "/opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py", line 274, in
main
options.realize(args)
File "/opt/Zope-2.9.2/lib/python/Zope2/Startup/zopectl.py", line 91, in
realize
ZDOptions.realize(self, *args, **kw)
File "/opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py", line 273, in
realize
self.load_schema()
File "/opt/Zope-2.9.2//lib/python/zdaemon/zdoptions.py", line 321, in
load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/opt/Zope-2.9.2//lib/python/ZConfig/loader.py", line 31, in
loadSchema
return SchemaLoader().loadURL(url)
File "/opt/Zope-2.9.2//lib/python/ZConfig/loader.py", line 65, in loadURL
return self.loadResource(r)
File "/opt/Zope-2.9.2//lib/python/ZConfig/loader.py", line 159, in
loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/opt/Zope-2.9.2//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 "/opt/Zope-2.9.2//lib/python/ZConfig/schema.py", line 99, in
startElement
getattr(self, "start_" + name)(attrs)
File "/opt/Zope-2.9.2//lib/python/ZConfig/schema.py", line 475, in
start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
File "/opt/Zope-2.9.2//lib/python/ZConfig/schema.py", line 201, in
get_sect_typeinfo
datatype = self.get_datatype(attrs, "datatype", "null", base)
File "/opt/Zope-2.9.2//lib/python/ZConfig/schema.py", line 194, in
get_datatype
return self._registry.get(dtname)
File "/opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py", line 398, in get
t = self.search(name)
File "/opt/Zope-2.9.2//lib/python/ZConfig/datatypes.py", line 423, in
search
package = __import__(n, g, g, component)
File "/opt/Zope-2.9.2//lib/python/Zope2/Startup/datatypes.py", line 20, in
?
from ZODB.config import ZODBDatabase
File "/opt/Zope-2.9.2//lib/python/ZODB/__init__.py", line 20, in ?
from persistent import TimeStamp
File "/opt/Zope-2.9.2//lib/python/persistent/__init__.py", line 19, in ?
from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: /opt/Zope-2.9.2/lib/python/persistent/cPersistence.so:
undefined symbol: PyUnicodeUCS4_AsEncodedString
====
Can anyone tell me what's wrong and figure out the solution?
Regards,
Adinda P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060613/8f90af38/attachment.htm
More information about the Zope
mailing list