<class 'django.core.exceptions.ImproperlyConfigured'>
Python 2.6.6: /usr/bin/python2.6
Fri Oct 31 04:05:54 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/nositeda/public_html/fcgi.py in run(self=<fcgi.Request object>)
  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>, self.server = <fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object>>
 /home/nositeda/public_html/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.Request object>)
 1264         try:
 1265             try:
 1266                 result = self.application(environ, start_response)
 1267                 try:
 1268                     for data in result:
result = None, self = <fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DOCUMENT_ROOT': '/home/nositeda/public_html', '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': 'www.nositedafesta.com.br', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin', 'PATH_INFO': '/lua_nova_espaco_multi_eventos', ...}, start_response = <function start_response>
 /home/nositeda/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DOCUMENT_ROOT': '/home/nositeda/public_html', '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': 'www.nositedafesta.com.br', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin', 'PATH_INFO': '/lua_nova_espaco_multi_eventos', ...}, start_response=<function start_response>)
  217                     # Check that middleware is still uninitialised.
  218                     if self._request_middleware is None:
  219                         self.load_middleware()
  220                 except:
  221                     # Unload whatever middleware we got
self = <django.core.handlers.wsgi.WSGIHandler object>, self.load_middleware = <bound method WSGIHandler.load_middleware of <django.core.handlers.wsgi.WSGIHandler object>>
 /home/nositeda/django_src/django/core/handlers/base.py in load_middleware(self=<django.core.handlers.wsgi.WSGIHandler object>)
   41                 raise exceptions.ImproperlyConfigured('%s isn\'t a middleware module' % middleware_path)
   42             try:
   43                 mod = import_module(mw_module)
   44             except ImportError, e:
   45                 raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
mod = <module 'django.middleware.csrf' from '/home/nositeda/django_src/django/middleware/csrf.pyc'>, global import_module = <function import_module>, mw_module = 'django.contrib.auth.middleware'
 /home/nositeda/django_src/django/utils/importlib.py in import_module(name='django.contrib.auth.middleware', 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 = 'django.contrib.auth.middleware'
 /home/nositeda/django_src/django/contrib/auth/middleware.py in ()
    2 from django.contrib.auth.backends import RemoteUserBackend
    3 from django.core.exceptions import ImproperlyConfigured
    4 from django.utils.functional import SimpleLazyObject
    5 
    6 
django undefined, RemoteUserBackend undefined
 /home/nositeda/django_src/django/contrib/auth/backends.py in ()
    2 
    3 
    4 class ModelBackend(object):
    5     """
    6     Authenticates against django.contrib.auth.models.User.
django undefined, User undefined, Permission undefined
 /home/nositeda/django_src/django/contrib/auth/models.py in ()
    3 from django.core.exceptions import ImproperlyConfigured
    4 from django.core.mail import send_mail
    5 from django.db import models
    6 from django.db.models.manager import EmptyManager
    7 from django.utils.crypto import get_random_string
django undefined, models undefined
 /home/nositeda/django_src/django/db/__init__.py in ()
   38 
   39 connection = DefaultConnectionProxy()
   40 backend = load_backend(connection.settings_dict['ENGINE'])
   41 
   42 # Register an event that closes the database connection
backend undefined, load_backend = None, connection = None, connection.settings_dict undefined
 /home/nositeda/django_src/django/db/__init__.py in __getattr__(self=<django.db.DefaultConnectionProxy object>, item='settings_dict')
   32     """
   33     def __getattr__(self, item):
   34         return getattr(connections[DEFAULT_DB_ALIAS], item)
   35 
   36     def __setattr__(self, name, value):
builtin getattr = <built-in function getattr>, global connections = None, global DEFAULT_DB_ALIAS = None, item = 'settings_dict'
 /home/nositeda/django_src/django/db/utils.py in __getitem__(self=<django.db.utils.ConnectionHandler object>, alias='default')
   90         self.ensure_defaults(alias)
   91         db = self.databases[alias]
   92         backend = load_backend(db['ENGINE'])
   93         conn = backend.DatabaseWrapper(db, alias)
   94         setattr(self._connections, alias, conn)
backend undefined, global load_backend = <function load_backend>, db = {'ENGINE': 'django.db.backends.mysql', 'HOST': 'bm8.webservidor.net', 'NAME': 'nositeda_dados_2014', 'OPTIONS': {}, 'PASSWORD': '3M6l;+L7_.Nm', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, ...}
 /home/nositeda/django_src/django/db/utils.py in load_backend(backend_name='django.db.backends.mysql')
   22     # Look for a fully qualified database backend name
   23     try:
   24         return import_module('.base', backend_name)
   25     except ImportError, e_user:
   26         # The database backend wasn't found. Display a helpful error message
global import_module = <function import_module>, backend_name = 'django.db.backends.mysql'
 /home/nositeda/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/nositeda/django_src/django/db/backends/mysql/base.py in ()
   14 except ImportError, e:
   15     from django.core.exceptions import ImproperlyConfigured
   16     raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
   17 
   18 # 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: No module named MySQLdb
      args = ('Error loading MySQLdb module: No module named MySQLdb',)
      message = 'Error loading MySQLdb module: No module named MySQLdb'