ImportError
Python 2.4.3: /usr/bin/python
Mon Sep 6 11:19:49 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.

 /home2/pmc/python/fcgi.py in run(self=<fcgi.CGIRequest 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.CGIRequest object>, self.server = <fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object>>
 /home2/pmc/python/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.CGIRequest 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 = {'DJANGO_SETTINGS_MODULE': 'pmc.settings', 'DOCUMENT_ROOT': '/home/pmc/public_html', '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': 'www.peterboroughmusiccompany.com', ...}, start_response = <function start_response>
 /home2/pmc/python/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DJANGO_SETTINGS_MODULE': 'pmc.settings', 'DOCUMENT_ROOT': '/home/pmc/public_html', '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': 'www.peterboroughmusiccompany.com', ...}, start_response=<function start_response>)
  203                                 response = http.HttpResponseBadRequest()
  204                         else:
  205                                 response = self.get_response(request)
  206 
  207                                 # Apply response middleware
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /home2/pmc/python/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
   62                 # Apply request middleware
   63                 for middleware_method in self._request_middleware:
   64                         response = middleware_method(request)
   65                         if response:
   66                                 return response
response = None, middleware_method = <bound method SessionMiddleware.process_request ...ib.sessions.middleware.SessionMiddleware object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /home2/pmc/python/django/contrib/sessions/middleware.py in process_request(self=<django.contrib.sessions.middleware.SessionMiddleware object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
   11 
   12         def process_request(self, request):
   13                 engine = __import__(settings.SESSION_ENGINE, {}, {}, [''])
   14                 session_key = request.COOKIES.get(settings.SESSION_COOKIE_NAME, None)
   15                 request.session = engine.SessionStore(session_key)
engine undefined, builtin __import__ = <built-in function __import__>, global settings = <django.conf.LazySettings object>, settings.SESSION_ENGINE = 'django.contrib.sessions.backends.db'
 /home2/pmc/python/django/contrib/sessions/backends/db.py
    2 from django.contrib.sessions.models import Session
    3 from django.contrib.sessions.backends.base import SessionBase
    4 from django.core.exceptions import SuspiciousOperation
    5 import datetime
    6 
django undefined, Session undefined
 /home2/pmc/python/django/contrib/sessions/models.py
    8 import cPickle as pickle
    9 
   10 from django.db import models
   11 from django.utils.translation import ugettext_lazy as _
   12 from django.conf import settings
django undefined, models undefined
 /home2/pmc/python/django/db/__init__.py
   21         try:
   22                 _import_path = ''
   23                 backend = __import__('%s.base' % settings.DATABASE_ENGINE, {}, {}, [''])
   24         except ImportError, e_user:
   25                 # The database backend wasn't found. Display a helpful error message
backend undefined, builtin __import__ = <built-in function __import__>, settings = None, settings.DATABASE_ENGINE undefined

ImportError: No module named mysql.base
      args = ('No module named mysql.base',)