<class 'django.core.exceptions.ImproperlyConfigured'>
Python 2.5.4: /home/awebi/bin/python2.5
Sun Nov 23 02:11:06 2014

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/awebi/clientes/phrasalverbs/fcgi.py in run(self=<fcgi.Request object at 0x2985510>)
  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 0x2985510>, self.server = <fcgi.WSGIServer object at 0x2985410>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0x2985410>>
 /home/awebi/clientes/phrasalverbs/fcgi.py in handler(self=<fcgi.WSGIServer object at 0x2985410>, req=<fcgi.Request object at 0x2985510>)
 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 0x2985410>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0x2985050>, environ = {'DH_USER': 'awebi', 'DOCUMENT_ROOT': '/home/awebi/clientes/phrasalverbs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'phrasalverbs.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response = <function start_response at 0x34c4deee140>
 /home/awebi/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0x2985050>, environ={'DH_USER': 'awebi', 'DOCUMENT_ROOT': '/home/awebi/clientes/phrasalverbs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'phrasalverbs.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response=<function start_response at 0x34c4deee140>)
  239                 response = http.HttpResponseBadRequest()
  240             else:
  241                 response = self.get_response(request)
  242 
  243                 # Apply response middleware
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object at 0x2985050>, self.get_response = <bound method WSGIHandler.get_response of <djang...e.handlers.wsgi.WSGIHandler object at 0x2985050>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /home/awebi/django_src/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0x2985050>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
   70         # Apply request middleware
   71         for middleware_method in self._request_middleware:
   72             response = middleware_method(request)
   73             if response:
   74                 return response
response = None, middleware_method = <bound method SessionMiddleware.process_request ...eware.SessionMiddleware object at 0x34c44097990>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /home/awebi/django_src/django/contrib/sessions/middleware.py in process_request(self=<django.contrib.sessions.middleware.SessionMiddleware object at 0x34c44097990>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
    7 class SessionMiddleware(object):
    8     def process_request(self, request):
    9         engine = __import__(settings.SESSION_ENGINE, {}, {}, [''])
   10         session_key = request.COOKIES.get(settings.SESSION_COOKIE_NAME, None)
   11         request.session = engine.SessionStore(session_key)
engine undefined, builtin __import__ = <built-in function __import__>, global settings = <django.conf.LazySettings object at 0x34c4c094190>, settings.SESSION_ENGINE = 'django.contrib.sessions.backends.db'
 /home/awebi/django_src/django/contrib/sessions/backends/db.py in ()
    2 from django.contrib.sessions.models import Session
    3 from django.contrib.sessions.backends.base import SessionBase, CreateError
    4 from django.core.exceptions import SuspiciousOperation
    5 from django.db import IntegrityError, transaction
    6 from django.utils.encoding import force_unicode
django undefined, Session undefined
 /home/awebi/django_src/django/contrib/sessions/models.py in ()
    2 import cPickle as pickle
    3 
    4 from django.db import models
    5 from django.utils.translation import ugettext_lazy as _
    6 from django.conf import settings
django undefined, models undefined
 /home/awebi/django_src/django/db/__init__.py in ()
   14     # backends that ships with Django, so look there first.
   15     _import_path = 'django.db.backends.'
   16     backend = __import__('%s%s.base' % (_import_path, settings.DATABASE_ENGINE), {}, {}, [''])
   17 except ImportError, e:
   18     # If the import failed, we might be looking for a database backend
backend undefined, builtin __import__ = <built-in function __import__>, _import_path = None, settings = None, settings.DATABASE_ENGINE undefined
 /home/awebi/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.16: 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'