On 21/12/2010, at 10:48, Mahendra Liya wrote:

> What I believe is that at runtime, cherokee-admin tries to look for "md5"
> module of Python in the "lib" folder of the file system, but as I have
> installed Python at a different location ( in my case: /python ), it is
> not able to find "md5" module and import it. I hope this is the problem.
> 
> Do you have any idea how can this be resolved?

There is a single place in the Cherokee-admin code the md5 module is loaded. 
However, that code is only executed on Python 2.4, so in this case we can be 
certain that isn't the problem.

Actually, according with the backtraces you posted, the import of _md5 is 
triggered by both the hashlib and urllib2 modules (Python modules part of the 
standard library that is shipped with the interpreter).

Try to execute: python -c "import hashlib"   or   python -c "import urllib2"  
and you will be what I'm talking about. The bug is hidden within your Python 
installation. It is not a Cherokee issue, actually.

Good luck!

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to