| <class 'django.core.exceptions.ImproperlyConfigured'> | Python 2.5.4: /home/eagleeye87/opt/bin/python Tue Feb 7 20:12:05 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /home/eagleeye87/rankandcluster.com/fcgi.py in run(self=<fcgi.Request object at 0xaa2610>) |
| 578 """Runs the handler, flushes the streams, and ends the request.""" |
| 579 try: |
| 580 protocolStatus, appStatus = self.server.handler(self) |
| 581 except: |
| 582 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <fcgi.Request object at 0xaa2610>, self.server = <fcgi.WSGIServer object at 0xaa2510>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0xaa2510>> |
| /home/eagleeye87/rankandcluster.com/fcgi.py in handler(self=<fcgi.WSGIServer object at 0xaa2510>, req=<fcgi.Request object at 0xaa2610>) |
| 1264 try: |
| 1265 try: |
| 1266 result = self.application(environ, start_response) |
| 1267 try: |
| 1268 for data in result: |
| result = None, self = <fcgi.WSGIServer object at 0xaa2510>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0xaa2150>, environ = {'DH_USER': 'eagleeye87', 'DOCUMENT_ROOT': '/home/eagleeye87/rankandcluster.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'rankandcluster.com', ...}, start_response = <function start_response at 0x76b4c2242758> |
| /home/eagleeye87/django/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0xaa2150>, environ={'DH_USER': 'eagleeye87', 'DOCUMENT_ROOT': '/home/eagleeye87/rankandcluster.com', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'rankandcluster.com', ...}, start_response=<function start_response at 0x76b4c2242758>) |
| 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 0xaa2150>, self.load_middleware = <bound method WSGIHandler.load_middleware of <dj...re.handlers.wsgi.WSGIHandler object at 0xaa2150>> |
| /home/eagleeye87/django/django_src/django/core/handlers/base.py in load_middleware(self=<django.core.handlers.wsgi.WSGIHandler object at 0xaa2150>) |
| 38 mw_module, mw_classname = middleware_path[:dot], middleware_path[dot+1:] |
| 39 try: |
| 40 mod = import_module(mw_module) |
| 41 except ImportError, e: |
| 42 raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"' % (mw_module, e) |
| mod = <module 'django.contrib.auth.middleware' from '/...o/django_src/django/contrib/auth/middleware.pyc'>, global import_module = <function import_module at 0x8b7e60>, mw_module = 'sercw.entry.RequireLogin' |
| /home/eagleeye87/django/django_src/django/utils/importlib.py in import_module(name='sercw.entry.RequireLogin', package=None) |
| 32 break |
| 33 level += 1 |
| 34 name = _resolve_name(name[level:], package, level) |
| 35 __import__(name) |
| 36 return sys.modules[name] |
| builtin __import__ = <built-in function __import__>, name = 'sercw.entry.RequireLogin' |
| /home/eagleeye87/django/django_release/sercw/entry/__init__.py in |
| 2 from django.contrib.comments.models import Comment |
| 3 from django.db.models.signals import post_save |
| 4 from sercw.entry.models import Entry |
| 5 |
| 6 if "sercw.notification" in settings.INSTALLED_APPS: |
| django undefined, Comment undefined |
| /home/eagleeye87/django/django_src/django/contrib/comments/__init__.py in |
| 2 from django.core import urlresolvers |
| 3 from django.core.exceptions import ImproperlyConfigured |
| 4 from django.contrib.comments.models import Comment |
| 5 from django.contrib.comments.forms import CommentForm |
| 6 from django.utils.importlib import import_module |
| django undefined, Comment undefined |
| /home/eagleeye87/django/django_src/django/contrib/comments/models.py in |
| 2 from django.contrib.auth.models import User |
| 3 from django.contrib.comments.managers import CommentManager |
| 4 from django.contrib.contenttypes import generic |
| 5 from django.contrib.contenttypes.models import ContentType |
| 6 from django.contrib.sites.models import Site |
| django undefined, User undefined |
| /home/eagleeye87/django/django_src/django/contrib/auth/models.py in |
| 4 from django.contrib import auth |
| 5 from django.core.exceptions import ImproperlyConfigured |
| 6 from django.db import models |
| 7 from django.db.models.manager import EmptyManager |
| 8 from django.contrib.contenttypes.models import ContentType |
| django undefined, models undefined |
| /home/eagleeye87/django/django_src/django/db/__init__.py in |
| 39 raise # If there's some other error, this must be an error in Django itself. |
| 40 |
| 41 backend = load_backend(settings.DATABASE_ENGINE) |
| 42 |
| 43 # `connection`, `DatabaseError` and `IntegrityError` are convenient aliases |
| backend undefined, load_backend = None, settings = None, settings.DATABASE_ENGINE undefined |
| /home/eagleeye87/django/django_src/django/db/__init__.py in load_backend(backend_name='mysql') |
| 15 # Most of the time, the database backend will be one of the official |
| 16 # backends that ships with Django, so look there first. |
| 17 return import_module('.base', 'django.db.backends.%s' % backend_name) |
| 18 except ImportError, e: |
| 19 # If the import failed, we might be looking for a database backend |
| global import_module = None, backend_name = 'mysql' |
| /home/eagleeye87/django/django_src/django/utils/importlib.py in import_module(name='django.db.backends.mysql.base', package='django.db.backends.mysql') |
| 32 break |
| 33 level += 1 |
| 34 name = _resolve_name(name[level:], package, level) |
| 35 __import__(name) |
| 36 return sys.modules[name] |
| builtin __import__ = <built-in function __import__>, name = 'django.db.backends.mysql.base' |
| /home/eagleeye87/django/django_src/django/db/backends/mysql/base.py in |
| 11 except ImportError, e: |
| 12 from django.core.exceptions import ImproperlyConfigured |
| 13 raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) |
| 14 |
| 15 # We want version (1, 2, 1, 'final', 2) or later. We can't just use |
| ImproperlyConfigured = None, e = None |
<class 'django.core.exceptions.ImproperlyConfigured'>: Error loading MySQLdb module: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory
args =
('Error loading MySQLdb module: libmysqlclient_r.s...pen shared object file: No such file or directory',)
message =
'Error loading MySQLdb module: libmysqlclient_r.s...pen shared object file: No such file or directory'