<class 'django.core.exceptions.ImproperlyConfigured'> | Python 2.6.1: /home/biblest4/local/bin/python Wed Nov 6 19:04:49 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home1/biblest4/public_html/build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object at 0x1878f10>) |
556 """Runs the handler, flushes the streams, and ends the request.""" |
557 try: |
558 protocolStatus, appStatus = self.server.handler(self) |
559 except: |
560 traceback.print_exc(file=self.stderr) |
/home1/biblest4/public_html/build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object at 0x18786d0>, req=<flup.server.fcgi_base.Request object at 0x1878f10>) |
1114 try: |
1115 try: |
1116 result = self.application(environ, start_response) |
1117 try: |
1118 for data in result: |
/home/biblest4/src/django-1.2.4/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0x1878650>, environ={'CONTEXT_DOCUMENT_ROOT': '/home1/biblest4/public_html', 'CONTEXT_PREFIX': '', 'DOCUMENT_ROOT': '/home1/biblest4/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'H2PUSH': 'off', 'H2_PUSH': 'off', 'H2_PUSHED': '', 'H2_PUSHED_ON': '', 'H2_STREAM_ID': '1', 'H2_STREAM_TAG': '41504-954-1', ...}, start_response=<function start_response at 0x7f2f92d17230>) |
228 # Check that middleware is still uninitialised. |
229 if self._request_middleware is None: |
230 self.load_middleware() |
231 self.initLock.release() |
232 |
self = <django.core.handlers.wsgi.WSGIHandler object at 0x1878650>, self.load_middleware = <bound method WSGIHandler.load_middleware of <dj...e.handlers.wsgi.WSGIHandler object at 0x1878650>> |
/home/biblest4/src/django-1.2.4/django/core/handlers/base.py in load_middleware(self=<django.core.handlers.wsgi.WSGIHandler object at 0x1878650>) |
40 mod = import_module(mw_module) |
41 except ImportError, e: |
42 raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e)) |
43 try: |
44 mw_class = getattr(mod, mw_classname) |
exceptions = <module 'django.core.exceptions' from '/home/biblest4/src/django-1.2.4/django/core/exceptions.pyc'>, exceptions.ImproperlyConfigured = <class 'django.core.exceptions.ImproperlyConfigured'>, mw_module = 'django.middleware.common', e = ImportError('No module named _md5',) |
<class 'django.core.exceptions.ImproperlyConfigured'>: Error importing middleware django.middleware.common: "No module named _md5"
args =
('Error importing middleware django.middleware.common: "No module named _md5"',)
message =
'Error importing middleware django.middleware.common: "No module named _md5"'