Here is the complete traceback:
Traceback (most recent call last):
File "/my_app/webservers/cherokee/share/cherokee/admin/server.py", line
36, in <module>
import CTK
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/__init__.py",
line 66, in <module>
from Downloader import Downloader, DownloadEntry_Factory
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/Downloader.py",
line 25, in <module>
import urllib2
File "/python/lib/python2.6/urllib2.py", line 91, in <module>
import hashlib
File "/python/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/python/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
Traceback (most recent call last):
File "/my_app/webservers/cherokee/share/cherokee/admin/server.py", line
36, in <module>
import CTK
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/__init__.py",
line 66, in <module>
from Downloader import Downloader, DownloadEntry_Factory
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/Downloader.py",
line 25, in <module>
import urllib2
File "/python/lib/python2.6/urllib2.py", line 91, in <module>
import hashlib
File "/python/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/python/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
Traceback (most recent call last):
File "/my_app/webservers/cherokee/share/cherokee/admin/server.py", line
36, in <module>
import CTK
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/__init__.py",
line 66, in <module>
from Downloader import Downloader, DownloadEntry_Factory
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/Downloader.py",
line 25, in <module>
import urllib2
File "/python/lib/python2.6/urllib2.py", line 91, in <module>
import hashlib
File "/python/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/python/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
Traceback (most recent call last):
File "/my_app/webservers/cherokee/share/cherokee/admin/server.py", line
36, in <module>
import CTK
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/__init__.py",
line 66, in <module>
from Downloader import Downloader, DownloadEntry_Factory
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/Downloader.py",
line 25, in <module>
import urllib2
File "/python/lib/python2.6/urllib2.py", line 91, in <module>
import hashlib
File "/python/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/python/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
Traceback (most recent call last):
File "/my_app/webservers/cherokee/share/cherokee/admin/server.py", line
36, in <module>
import CTK
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/__init__.py",
line 66, in <module>
from Downloader import Downloader, DownloadEntry_Factory
File
"/my_app/webservers/cherokee/share/cherokee/admin/CTK/CTK/Downloader.py",
line 25, in <module>
import urllib2
File "/python/lib/python2.6/urllib2.py", line 91, in <module>
import hashlib
File "/python/lib/python2.6/hashlib.py", line 136, in <module>
md5 = __get_builtin_constructor('md5')
File "/python/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
The traceback shows the error with an underscore at the beginning ie
"_md5" and not "md5".
Also, you say that 'Cherokee-admin' does not import the md5 (or probably
you mean _md5) module directly. So how can the md5 module be imported. Is
"_md5" indicating something wrong?
Thanks.
> On 21/12/2010, at 10:04, Mahendra Liya wrote:
>
>> I tried with "./cherokee-admin -b -x". You are right, python is raising
>> "ImportError": No module named _md5".
>>
>> Any idea what could be wrong?
>
> Cherokee-admin does not import the md5 module directly. Besides, as far as
> I can tell, the module used to be "md5" without the initial underscore.
>
> Didn't that error come with back-trace? That'd shed some light here, I
> suppose.
>
> --
> Octality
> http://www.octality.com/
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee