[Zope] Strange errors while 'make'ing

Jens Vagelpohl jens at dataflake.org
Wed Mar 22 04:33:57 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 22 Mar 2006, at 02:16, a blob of green gelatin wrote:
> slimemold[62]:/home/jello/zope/bin% ./zopectl start
> Traceback (most recent call last):
>   File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py",  
> line 316, in ?
>     main()
>   File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py",  
> line 274, in main
>     options.realize(args)
>   File "/usr/local/bin/zope/lib/python/Zope2/Startup/zopectl.py",  
> line 91, in realize
>     ZDOptions.realize(self, *args, **kw)
>   File "/usr/local/bin/zope/lib/python/zdaemon/zdoptions.py", line  
> 273, in realize
>     self.load_schema()
>   File "/usr/local/bin/zope/lib/python/zdaemon/zdoptions.py", line  
> 321, in load_schema
>     self.schema = ZConfig.loadSchema(self.schemafile)
>   File "/usr/local/bin/zope/lib/python/ZConfig/loader.py", line 31,  
> in loadSchema
>     return SchemaLoader().loadURL(url)
>   File "/usr/local/bin/zope/lib/python/ZConfig/loader.py", line 65,  
> in loadURL
>     return self.loadResource(r)
>   File "/usr/local/bin/zope/lib/python/ZConfig/loader.py", line  
> 159, in loadResource
>     schema = ZConfig.schema.parseResource(resource, self)
>   File "/usr/local/bin/zope/lib/python/ZConfig/schema.py", line 27,  
> in parseResource
>     xml.sax.parse(resource.file, parser)
>   File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/ 
> __init__.py", line 31, in parse
>     parser.parse(filename_or_stream)
>   File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/ 
> expatreader.py", line 109, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/ 
> xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/ 
> expatreader.py", line 216, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/lib64/python2.4/site-packages/_xmlplus/sax/ 
> expatreader.py", line 311, in start_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "/usr/local/bin/zope/lib/python/ZConfig/schema.py", line 99,  
> in startElement
>     getattr(self, "start_" + name)(attrs)
>   File "/usr/local/bin/zope/lib/python/ZConfig/schema.py", line  
> 475, in start_schema
>     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
>   File "/usr/local/bin/zope/lib/python/ZConfig/schema.py", line  
> 201, in get_sect_typeinfo
>     datatype = self.get_datatype(attrs, "datatype", "null", base)
>   File "/usr/local/bin/zope/lib/python/ZConfig/schema.py", line  
> 194, in get_datatype
>     return self._registry.get(dtname)
>   File "/usr/local/bin/zope/lib/python/ZConfig/datatypes.py", line  
> 398, in get
>     t = self.search(name)
>   File "/usr/local/bin/zope/lib/python/ZConfig/datatypes.py", line  
> 423, in search
>     package = __import__(n, g, g, component)
>   File "/usr/local/bin/zope/lib/python/Zope2/Startup/datatypes.py",  
> line 20, in ?
>     from ZODB.config import ZODBDatabase
>   File "/usr/local/bin/zope/lib/python/ZODB/__init__.py", line 20,  
> in ?
>     from persistent import TimeStamp
>   File "/usr/local/bin/zope/lib/python/persistent/__init__.py",  
> line 19, in ?
>     from cPersistence import Persistent, GHOST, UPTODATE, CHANGED,  
> STICKY
> ImportError: /usr/local/bin/zope/lib/python/persistent/ 
> cPersistence.so: undefined symbol: PyUnicodeUCS2_AsEncodedString
>
>
> I configured this to use /usr/local/bin/python (2.4.2 compiled)  
> instead of the default /usr/bin/python (2.4.1 package).

You have the Pythons confused it seems. You're saying it's using /usr/ 
local/bin/python, while some of the paths in that traceback point to  
the system python. Either you built it with the system Python or you  
ran it with the system Python now.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEIRoFRAx5nvEhZLIRArS/AKCXH7D5nAoGZZr3NqbN8JtaMs06IwCfR1SM
tfgco5Hxz5UxhtqGsBdSlh8=
=sUyl
-----END PGP SIGNATURE-----


More information about the Zope mailing list