Andrew Wilkinson
andrewjwilkinson at gmail.com
Wed Oct 11 04:54:41 EDT 2006
I have reduced my code to the following test case: from hashlib import md5 def handler(req): req.content_type = "text/plain" req.write(md5("hello").hexdigest()) which produces the following traceback: Mod_python error: "PythonHandler handler" Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 287, in HandlerDispatch log=debug) File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 464, in import_module module = imp.load_module(mname, f, p, d) File "/var/www/indiegigs/src/handler.py", line 3, in from hashlib import md5 File "/usr/lib64/python2.5/hashlib.py", line 104, in md5 = __get_builtin_constructor('md5') File "/usr/lib64/python2.5/hashlib.py", line 31, in __get_builtin_constructor import _md5 ImportError: No module named _md5 Regards, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20061011/4612fb07/attachment.html
|