[Zope] Missing pyexpat.so in Zope 2.6 binary for linux

Michiel Toneman michiel@ylnd.com
21 Jan 2003 16:31:45 +0100


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=FCbcke wrote:
> Hi!
>=20
> When I have a PageTemplate with a non-standard content type
> (text/vnd.wap.wml) I get an error:
>=20
> -- 8< --
>=20
> Site Error
>=20
> An error was encountered while publishing this resource.
>=20
> Error Type: ImportError
> Error Value: cannot import name expat
>=20
> -- 8< --
>=20
> 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?)
>=20
> And where should I report the bug?
>=20
>=20
>   / Johan L=FCbcke
>=20
>=20
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )