<class 'django.core.exceptions.ImproperlyConfigured'>
Python 2.5.2: /usr/bin/python
Sat Jan 28 14:16: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/zezzer/zezz.nl/fcgi.py in run(self=<fcgi.Request object at 0xed9950>)
  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 0xed9950>, self.server = <fcgi.WSGIServer object at 0xa06ed0>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0xa06ed0>>
 /home/zezzer/zezz.nl/fcgi.py in handler(self=<fcgi.WSGIServer object at 0xa06ed0>, req=<fcgi.Request object at 0xed9950>)
 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 0xa06ed0>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0xa06e50>, environ = {'DH_USER': 'zezzer', 'DOCUMENT_ROOT': '/home/zezzer/zezz.nl', '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': 'zezz.nl', ...}, start_response = <function start_response at 0xed8de8>
 /var/lib/python-support/python2.5/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa06e50>, environ={'DH_USER': 'zezzer', 'DOCUMENT_ROOT': '/home/zezzer/zezz.nl', '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': 'zezz.nl', ...}, start_response=<function start_response at 0xed8de8>)
  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 0xa06e50>, self.get_response = <bound method WSGIHandler.get_response of <djang...re.handlers.wsgi.WSGIHandler object at 0xa06e50>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /var/lib/python-support/python2.5/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa06e50>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
  140                 exc_info = sys.exc_info()
  141                 receivers = signals.got_request_exception.send(sender=self.__class__, request=request)
  142                 return self.handle_uncaught_exception(request, resolver, exc_info)
  143         finally:
  144             # Reset URLconf for this thread on the way out for complete
self = <django.core.handlers.wsgi.WSGIHandler object at 0xa06e50>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...re.handlers.wsgi.WSGIHandler object at 0xa06e50>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver zezzproject.urls (None:None) ^/>, exc_info = (<class 'django.core.exceptions.ImproperlyConfigured'>, ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), <traceback object at 0xed09e0>)
 /var/lib/python-support/python2.5/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa06e50>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver zezzproject.urls (None:None) ^/>, exc_info=(<class 'django.core.exceptions.ImproperlyConfigured'>, ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), <traceback object at 0xed09e0>))
  179         # Return an HttpResponse that displays a friendly error message.
  180         callback, param_dict = resolver.resolve500()
  181         return callback(request, **param_dict)
  182 
  183     def _get_traceback(self, exc_info=None):
callback = <function server_error at 0xd638c0>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {}
 /var/lib/python-support/python2.5/django/views/defaults.py in server_error(request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, template_name='500.html')
   21     Context: None
   22     """
   23     t = loader.get_template(template_name) # You need to create a 500.html template.
   24     return http.HttpResponseServerError(t.render(Context({})))
   25 
t undefined, global loader = <module 'django.template.loader' from '/var/lib/python-support/python2.5/django/template/loader.py'>, loader.get_template = <function get_template at 0xed8500>, template_name = '500.html'
 /var/lib/python-support/python2.5/django/template/loader.py in get_template(template_name='500.html')
  155     handling template inheritance recursively.
  156     """
  157     template, origin = find_template(template_name)
  158     if not hasattr(template, 'render'):
  159         # template needs to be compiled
template undefined, origin undefined, global find_template = <function find_template at 0xed8410>, template_name = '500.html'
 /var/lib/python-support/python2.5/django/template/loader.py in find_template(name='500.html', dirs=None)
  126         loaders = []
  127         for loader_name in settings.TEMPLATE_LOADERS:
  128             loader = find_template_loader(loader_name)
  129             if loader is not None:
  130                 loaders.append(loader)
loader = <function load_template_source at 0xeda1b8>, global find_template_loader = <function find_template_loader at 0xed8398>, loader_name = 'django.template.loaders.app_directories.load_template_source'
 /var/lib/python-support/python2.5/django/template/loader.py in find_template_loader(loader='django.template.loaders.app_directories.load_template_source')
   93         module, attr = loader.rsplit('.', 1)
   94         try:
   95             mod = import_module(module)
   96         except ImportError, e:
   97             raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))
mod undefined, global import_module = <function import_module at 0xa42758>, module = 'django.template.loaders.app_directories'
 /var/lib/python-support/python2.5/django/utils/importlib.py in import_module(name='django.template.loaders.app_directories', 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.template.loaders.app_directories'
 /var/lib/python-support/python2.5/django/template/loaders/app_directories.py in ()
   19 for app in settings.INSTALLED_APPS:
   20     try:
   21         mod = import_module(app)
   22     except ImportError, e:
   23         raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))
mod = None, import_module = None, app = None
 /var/lib/python-support/python2.5/django/utils/importlib.py in import_module(name='django.contrib.admin', 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.admin'
 /var/lib/python-support/python2.5/django/contrib/admin/__init__.py in ()
    2 from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL
    3 from django.contrib.admin.options import StackedInline, TabularInline
    4 from django.contrib.admin.sites import AdminSite, site
    5 
    6 
django undefined, ACTION_CHECKBOX_NAME undefined
 /var/lib/python-support/python2.5/django/contrib/admin/helpers.py in ()
    2 from django.conf import settings
    3 from django.contrib.admin.util import flatten_fieldsets, lookup_field
    4 from django.contrib.admin.util import display_for_field, label_for_field
    5 from django.contrib.contenttypes.models import ContentType
    6 from django.core.exceptions import ObjectDoesNotExist
django undefined, forms undefined
 /var/lib/python-support/python2.5/django/forms/__init__.py in ()
   13 from django.core.exceptions import ValidationError
   14 from widgets import *
   15 from fields import *
   16 from forms import *
   17 from models import *
models undefined
 /var/lib/python-support/python2.5/django/forms/models.py in ()
    4 """
    5 
    6 from django.db import connections
    7 from django.utils.encoding import smart_unicode, force_unicode
    8 from django.utils.datastructures import SortedDict
django undefined, connections undefined
 /var/lib/python-support/python2.5/django/db/__init__.py in ()
   73 # we load all these up for backwards compatibility, you should use
   74 # connections['default'] instead.
   75 connection = connections[DEFAULT_DB_ALIAS]
   76 backend = load_backend(connection.settings_dict['ENGINE'])
   77 
connection undefined, connections = None, DEFAULT_DB_ALIAS = None
 /var/lib/python-support/python2.5/django/db/utils.py in __getitem__(self=<django.db.utils.ConnectionHandler object at 0xfadc10>, alias='default')
   89         self.ensure_defaults(alias)
   90         db = self.databases[alias]
   91         backend = load_backend(db['ENGINE'])
   92         conn = backend.DatabaseWrapper(db, alias)
   93         self._connections[alias] = conn
backend undefined, global load_backend = <function load_backend at 0xca6938>, db = {'ENGINE': 'mysql_old', 'HOST': 'mysql.aardverschuiving.com', 'NAME': 'zezz_django', 'OPTIONS': {}, 'PASSWORD': 'a1*bM3', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, ...}
 /var/lib/python-support/python2.5/django/db/utils.py in load_backend(backend_name='mysql_old')
   47                     "Error was: %s") % \
   48                     (backend_name, ", ".join(map(repr, available_backends)), e_user)
   49                 raise ImproperlyConfigured(error_msg)
   50             else:
   51                 raise # If there's some other error, this must be an error in Django itself.
global ImproperlyConfigured = <class 'django.core.exceptions.ImproperlyConfigured'>, error_msg = "'mysql_old' isn't an available database backend....qlite3'\nError was: No module named mysql_old.base"

<class 'django.core.exceptions.ImproperlyConfigured'>: 'mysql_old' isn't an available database backend. Try using django.db.backends.XXX, where XXX is one of: 'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3' Error was: No module named mysql_old.base
      args = ("'mysql_old' isn't an available database backend....qlite3'\nError was: No module named mysql_old.base",)
      message = "'mysql_old' isn't an available database backend....qlite3'\nError was: No module named mysql_old.base"