Jim Gallacher
jg.lists at sympatico.ca
Wed Sep 7 10:35:17 EDT 2005
Graham Dumpleton wrote: > Huzaifa Tapal wrote .. > >>Hello All, >> >>I have a very odd problem with a mod_python application I am running. >>Sporadically, I will get an error in my application that states: >> >>Import Error: cannot import name AES >> >>The module has a "from Crypto.Cipher import AES" line. Not sure what >>could be causing this to happen. I checked error logs but nothing I can >>see that would cause this to happen. Is the python interpreter >>corrupted or something for this to happen? I even manually load a >>python interpretor and run the import command multiple times but can't >>replicate it. >> >>Any ideas? > > > It may be related to a known bug in mod_python. See: > > http://www.dscpl.com.au/articles/modpython-003.html#packages-loaded-wrongly > > This is fixed in mod_python 3.2. > > Suggest you try mod_python 3.2 beta. > > Can someone here post how to get 3.2 beta from subversion of last beta snapshot > tarball. I don't have all my links handy to cut and paste. The 3.2.1b tarball is temporarily available from: http://www.modpython.org/dist/mod_python-3.2.1b.tgz Subversion repositories: (Current 3.2.1 beta branch) http://svn.apache.org/repos/asf/httpd/mod_python/tags/release-3-2-1b/ (Development branch) http://svn.apache.org/repos/asf/httpd/mod_python/trunk/ Jim
|