[Moin-user] 'module' object has no attribute'expat' whensavingfrom gui editor

Thomas Waldmann tw-public at gmx.de
Thu Jan 8 03:31:00 EST 2009


> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]   File
> "/usr/local/lib/python2.5/sha.py", line 6, in <module>
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]     from
> hashlib import sha1 as sha
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]   File
> "/usr/local/lib/python2.5/hashlib.py", line 133, in <module>
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]     md5 =
> __get_builtin_constructor('md5')
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]   File
> "/usr/local/lib/python2.5/hashlib.py", line 60, in
> __get_builtin_constructor
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210]     import
> _md5
> [Wed Jan 07 23:38:14 2009] [error] [client 135.115.133.210] ImportError:
> No module named _md5

Looks like your python2.5 was not compiled with the usual stuff, it
misses md5 support. Maybe you have to install some additional headers
for that stuff before compiling python (on linux, that stuff is usually
in the *-dev packages).

BTW, if you have to compile again anyway, maybe use the latest 2.5.x
version.






More information about the Moin-user mailing list