| ImproperlyConfigured | Python 2.3.5: /usr/bin/python Fri Nov 21 15:56:34 2008 |
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/.daryl/spiralblast/sonicdisruptors.co.uk/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/.daryl/spiralblast/sonicdisruptors.co.uk/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/spiralblast/sonicdisruptors.co.uk', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'www.sonicdisruptors.co.uk', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /home/spiralblast/django/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DOCUMENT_ROOT': '/home/spiralblast/sonicdisruptors.co.uk', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'www.sonicdisruptors.co.uk', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
| 226 # Check that middleware is still uninitialised. |
| 227 if self._request_middleware is None: |
| 228 self.load_middleware() |
| 229 self.initLock.release() |
| 230 |
| self = <django.core.handlers.wsgi.WSGIHandler object>, self.load_middleware = <bound method WSGIHandler.load_middleware of <django.core.handlers.wsgi.WSGIHandler object>> |
| /home/spiralblast/django/django_src/django/core/handlers/base.py in load_middleware(self=<django.core.handlers.wsgi.WSGIHandler object>) |
| 36 mw_module, mw_classname = middleware_path[:dot], middleware_path[dot+1:] |
| 37 try: |
| 38 mod = __import__(mw_module, {}, {}, ['']) |
| 39 except ImportError, e: |
| 40 raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"' % (mw_module, e) |
| mod = <module 'django.middleware.common' from '/home/s.../django/django_src/django/middleware/common.pyc'>, builtin __import__ = <built-in function __import__>, mw_module = 'django.contrib.sessions.middleware' |
| /home/spiralblast/django/django_src/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 |
| django undefined, patch_vary_headers undefined |
| /home/spiralblast/django/django_src/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 |
| /home/spiralblast/django/django_src/django/core/cache/__init__.py |
| 55 return getattr(module, 'CacheClass')(host, params) |
| 56 |
| 57 cache = get_cache(settings.CACHE_BACKEND) |
| 58 |
| 59 # Some caches -- pythont-memcached in particular -- need to do a cleanup at the |
| cache undefined, get_cache = <function get_cache>, settings = <django.conf.LazySettings object>, settings.CACHE_BACKEND = 'db://cache_sonics' |
| /home/spiralblast/django/django_src/django/core/cache/__init__.py in get_cache(backend_uri='db://cache_sonics') |
| 50 |
| 51 if scheme in BACKENDS: |
| 52 module = __import__('django.core.cache.backends.%s' % BACKENDS[scheme], {}, {}, ['']) |
| 53 else: |
| 54 module = __import__(scheme, {}, {}, ['']) |
| module undefined, builtin __import__ = <built-in function __import__>, global BACKENDS = {'db': 'db', 'dummy': 'dummy', 'file': 'filebased', 'locmem': 'locmem', 'memcached': 'memcached'}, scheme = 'db' |
| /home/spiralblast/django/django_src/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 |
| /home/spiralblast/django/django_src/django/db/__init__.py |
| 31 available_backends.sort() |
| 32 if settings.DATABASE_ENGINE not in available_backends: |
| 33 raise ImproperlyConfigured, "%r isn't an available database backend. Available options are: %s\nError was: %s" % \ |
| 34 (settings.DATABASE_ENGINE, ", ".join(map(repr, available_backends)), e_user) |
| 35 else: |
| ImproperlyConfigured = <class django.core.exceptions.ImproperlyConfigured>, settings = <django.conf.LazySettings object>, settings.DATABASE_ENGINE = 'mysql_old', ", ".join = <built-in method join of str object>, builtin map = <built-in function map>, builtin repr = <built-in function repr>, available_backends = ['dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3'], e_user = <exceptions.ImportError instance> |
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",)