You've probable already solved the issue, but this also bit me today. What I did was: 1. Get: http://www.python.org/ftp/python/2.1/Python-2.1.tgz 2. Unpacked it in /tmp; cd Python-2.1 3. Did a ./configure; make 4. cp ./build/lib.linux-i686-2.1/pyexpat.so /path/to/Zope-2.6.0-linux2-x86/lib/python2.1/lib-dynload/pyexpat.so 5. Had a cup of coffee... Enjoy! Michiel Toneman On Mon, 2002-11-18 at 16:43, Johan Lübcke wrote:
Hi!
When I have a PageTemplate with a non-standard content type (text/vnd.wap.wml) I get an error:
-- 8< --
Site Error
An error was encountered while publishing this resource.
Error Type: ImportError Error Value: cannot import name expat
-- 8< --
It works on the Windows version but on linux (Zope-2.6.0-linux2-x86.tgz) I had to copy the file pyexpat.so from another Python2.1 installation. Is there a better way to do it? (Would compile my own solve this?)
And where should I report the bug?
/ Johan Lübcke
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )