ImproperlyConfigured
Python 2.4.4: /usr/bin/python2.4
Mon Mar 15 17:30:41 2010

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/.dushane/simon8/mnemosyne.simon.net.nz/fcgi.py in run(self=<fcgi.Request object>)
  580         """Runs the handler, flushes the streams, and ends the request."""
  581         try:
  582             protocolStatus, appStatus = self.server.handler(self)
  583         except:
  584             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/.dushane/simon8/mnemosyne.simon.net.nz/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.Request object>)
 1257             self._app_lock.acquire()
 1258         try:
 1259             result = self.application(environ, start_response)
 1260             try:
 1261                 for data in result:
result = None, self = <fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DH_USER': 'simon8', 'DOCUMENT_ROOT': '/home/simon8/mnemosyne.simon.net.nz', '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': 'mnemosyne.simon.net.nz', ...}, start_response = <function start_response>
 /var/lib/python-support/python2.4/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DH_USER': 'simon8', 'DOCUMENT_ROOT': '/home/simon8/mnemosyne.simon.net.nz', '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': 'mnemosyne.simon.net.nz', ...}, start_response=<function start_response>)
  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>, self.load_middleware = <bound method WSGIHandler.load_middleware of <django.core.handlers.wsgi.WSGIHandler object>>
 /var/lib/python-support/python2.4/django/core/handlers/base.py in load_middleware(self=<django.core.handlers.wsgi.WSGIHandler object>)
   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.middleware.common' from '/var/li...-support/python2.4/django/middleware/common.pyc'>, global import_module = <function import_module>, mw_module = 'django.contrib.sessions.middleware'
 /var/lib/python-support/python2.4/django/utils/importlib.py in import_module(name='django.contrib.sessions.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.sessions.middleware'
 /var/lib/python-support/python2.4/django/contrib/sessions/middleware.py
    2 
    3 from django.conf import settings
    4 from django.utils.cache import patch_vary_headers
    5 from django.utils.http import cookie_date
    6 from django.utils.importlib import import_module
django undefined, patch_vary_headers undefined
 /var/lib/python-support/python2.4/django/utils/cache.py
   26 
   27 from django.conf import settings
   28 from django.core.cache import cache
   29 from django.utils.encoding import smart_str, iri_to_uri
   30 from django.utils.http import http_date
django undefined, cache undefined
 /var/lib/python-support/python2.4/django/core/cache/__init__.py
   66     return getattr(module, 'CacheClass')(host, params)
   67 
   68 cache = get_cache(settings.CACHE_BACKEND)
   69 
   70 # Some caches -- pythont-memcached in particular -- need to do a cleanup at the
cache undefined, get_cache = None, settings = None, settings.CACHE_BACKEND undefined
 /var/lib/python-support/python2.4/django/core/cache/__init__.py in get_cache(backend_uri='db://mnemosyne_cache')
   63     else:
   64         name = scheme
   65     module = importlib.import_module(name)
   66     return getattr(module, 'CacheClass')(host, params)
   67 
module undefined, global importlib = None, importlib.import_module undefined, name = 'django.core.cache.backends.db'
 /var/lib/python-support/python2.4/django/utils/importlib.py in import_module(name='django.core.cache.backends.db', 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.core.cache.backends.db'
 /var/lib/python-support/python2.4/django/core/cache/backends/db.py
    2 
    3 from django.core.cache.backends.base import BaseCache
    4 from django.db import connection, transaction, DatabaseError
    5 import base64, time
    6 from datetime import datetime
django undefined, connection undefined, transaction undefined, DatabaseError undefined
 /var/lib/python-support/python2.4/django/db/__init__.py
   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
 /var/lib/python-support/python2.4/django/db/__init__.py in load_backend(backend_name='mysql_old')
   35                 error_msg = "%r isn't an available database backend. Available options are: %s\nError was: %s" % \
   36                     (backend_name, ", ".join(map(repr, available_backends)), e_user)
   37                 raise ImproperlyConfigured(error_msg)
   38             else:
   39                 raise # If there's some other error, this must be an error in Django itself.
global ImproperlyConfigured = None, error_msg = "'mysql_old' isn't an available database backend....qlite3'\nError was: No module named mysql_old.base"

ImproperlyConfigured: 'mysql_old' isn't an available database backend. Available options are: '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",)