[Zope-dev] Running Zope tests in 2.7 fails

Dieter Maurer dieter at handshake.de
Fri Aug 20 14:39:28 EDT 2004


Lennart Regebro wrote at 2004-8-20 12:12 +0200:
> ...
>line 42, in ?
>     from cDocumentTemplate import InstanceDict, TemplateDict, \
>ImportError: 
>/home/regebro/Zopes/Zope-2.7.2-0/lib/python/DocumentTemplate/cDocumentTemplate.so: 
>undefined symbol: PyUnicodeUCS4_DecodeLatin1

This means: "cDocumentTemplate.so" was build with a different Python
interpreter (one that uses UCS4 unicode) than you are using now
for your tests (one that uses UCS2 unicode).

Use the same Python interpreter both for generation as well
as testing.

-- 
Dieter


More information about the Zope-Dev mailing list