All pastes #908914 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-18 20:24 UTC
rendered paste body

OperationalError at /stats/
(1040, 'Too many connections')
Request Method: 	GET
Request URL: 	http://8aweek.com/stats/
Exception Type: 	OperationalError
Exception Value: 	(1040, 'Too many connections')
Exception Location: 	/var/lib/python-support/python2.5/MySQLdb/connections.py in __init__, line 170
Python Executable: 	/usr/bin/python
Python Version: 	2.5.1
Python Path: 	['/mnt/src', '/usr/lib/python2.5/site-packages/python_memcached-1.40-py2.5.egg', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/var/lib/python-support/python2.5']
Traceback Switch to copy-and-paste view

    * /usr/lib/python2.5/site-packages/django/core/handlers/base.py in get_response
        75. # Apply view middleware
        76. for middleware_method in self._view_middleware:
        77. response = middleware_method(request, callback, callback_args, callback_kwargs)
        78. if response:
        79. return response
        80. try:
        82. response = callback(request, *callback_args, **callback_kwargs) ...
        83. except Exception, e:
        84. # If the view raised an exception, run it through exception
        85. # middleware, and if the exception middleware returns a
        86. # response, use that. Otherwise, reraise the exception.
        87. for middleware_method in self._exception_middleware:
        88. response = middleware_method(request, e)
      ▶ Local vars
      Variable 	Value
      callback 	
      <django.contrib.auth.decorators._CheckLogin object at 0x16b6e50>
      callback_args 	
      ()
      callback_kwargs 	
      {'data_type': 'sites', 'line_names': 'All/', 'mode': 'list', 'num_bars': '8', 'num_units': '1', 'offset': '0', 'time_unit': 'days'}
      debug 	
      <module 'django.views.debug' from '/usr/lib/python2.5/site-packages/django/views/debug.py'>
      e 	
      OperationalError(1040, 'Too many connections')
      exc_info 	
      (<class '_mysql_exceptions.OperationalError'>, OperationalError(1040, 'Too many connections'), <traceback object at 0x22927128>)
      exceptions 	
      <module 'django.core.exceptions' from '/usr/lib/python2.5/site-packages/django/core/exceptions.pyc'>
      mail_admins 	
      <function mail_admins at 0xceaa28>
      middleware_method 	
      <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x9274050>>
      receivers 	
      [(<function _rollback_on_exception at 0xdddb18>, None)]
      request 	
      <ModPythonRequest path:/stats/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'EIGHTAWEEK': 'app1inst1', '__utma': '175096811.1674486744.1203112062.1203355399.1203359888.7', '__utmc': '175096811', '__utmz': '175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)', 'sessionid': '149f501bcf979e5751da1dfc34fc2b03'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;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,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=175096811.1674486744.1203112062.1203355399.1203359888.7; sessionid=149f501bcf979e5751da1dfc34fc2b03; EIGHTAWEEK=app1inst1; __utmc=175096811', 'HTTP_HOST': '8aweek.com', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'PATH_INFO': '/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '10.251.86.191', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': None, 'SERVER_NAME': '8aweek.com', 'SERVER_PORT': 0, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
      resolver 	
      <RegexURLResolver webwean.urls ^/>
      response 	
      None
      self 	
      <django.core.handlers.modpython.ModPythonHandler object at 0x2aaab14e1490>
      settings 	
      <django.conf.LazySettings object at 0xc5e1d0>
      urlconf 	
      'webwean.urls'
      urlresolvers 	
      <module 'django.core.urlresolvers' from '/usr/lib/python2.5/site-packages/django/core/urlresolvers.pyc'>
    * /usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py in __call__
        54. self.__name__ = view_func.__name__
        55.
        56. def __get__(self, obj, cls=None):
        57. view_func = self.view_func.__get__(obj, cls)
        58. return _CheckLogin(view_func, self.test_func, self.login_url, self.redirect_field_name)
        59.
        60. def __call__(self, request, *args, **kwargs):
        61. if self.test_func(request.user): ...
        62. return self.view_func(request, *args, **kwargs)
        63. path = urlquote(request.get_full_path())
        64. tup = self.login_url, self.redirect_field_name, path
        65. return HttpResponseRedirect('%s?%s=%s' % tup)
      ▶ Local vars
      Variable 	Value
      args 	
      ()
      kwargs 	
      {'data_type': 'sites', 'line_names': 'All/', 'mode': 'list', 'num_bars': '8', 'num_units': '1', 'offset': '0', 'time_unit': 'days'}
      request 	
      <ModPythonRequest path:/stats/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'EIGHTAWEEK': 'app1inst1', '__utma': '175096811.1674486744.1203112062.1203355399.1203359888.7', '__utmc': '175096811', '__utmz': '175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)', 'sessionid': '149f501bcf979e5751da1dfc34fc2b03'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;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,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=175096811.1674486744.1203112062.1203355399.1203359888.7; sessionid=149f501bcf979e5751da1dfc34fc2b03; EIGHTAWEEK=app1inst1; __utmc=175096811', 'HTTP_HOST': '8aweek.com', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'PATH_INFO': '/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '10.251.86.191', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': None, 'SERVER_NAME': '8aweek.com', 'SERVER_PORT': 0, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
      self 	
      <django.contrib.auth.decorators._CheckLogin object at 0x16b6e50>
    * /usr/lib/python2.5/site-packages/django/contrib/auth/middleware.py in __get__
         1. class LazyUser(object):
         2. def __get__(self, request, obj_type=None):
         3. if not hasattr(request, '_cached_user'):
         4. from django.contrib.auth import get_user
         5. request._cached_user = get_user(request) ...
         6. return request._cached_user
         7. class AuthenticationMiddleware(object):
         8. def process_request(self, request):
         9. assert hasattr(request, 'session'), "The Django authentication middleware requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.sessions.middleware.SessionMiddleware'."
        10. request.__class__.user = LazyUser()
      ▶ Local vars
      Variable 	Value
      get_user 	
      <function get_user at 0xcf0e60>
      obj_type 	
      <class 'django.core.handlers.modpython.ModPythonRequest'>
      request 	
      <ModPythonRequest path:/stats/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'EIGHTAWEEK': 'app1inst1', '__utma': '175096811.1674486744.1203112062.1203355399.1203359888.7', '__utmc': '175096811', '__utmz': '175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)', 'sessionid': '149f501bcf979e5751da1dfc34fc2b03'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;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,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=175096811.1674486744.1203112062.1203355399.1203359888.7; sessionid=149f501bcf979e5751da1dfc34fc2b03; EIGHTAWEEK=app1inst1; __utmc=175096811', 'HTTP_HOST': '8aweek.com', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'PATH_INFO': '/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '10.251.86.191', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': None, 'SERVER_NAME': '8aweek.com', 'SERVER_PORT': 0, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
      self 	
      <django.contrib.auth.middleware.LazyUser object at 0x2aaab04d9750>
    * /usr/lib/python2.5/site-packages/django/contrib/auth/__init__.py in get_user
        73. if hasattr(request, 'user'):
        74. from django.contrib.auth.models import AnonymousUser
        75. request.user = AnonymousUser()
        76. def get_user(request):
        77. from django.contrib.auth.models import AnonymousUser
        78. try:
        80. user_id = request.session[SESSION_KEY] ...
        81. backend_path = request.session[BACKEND_SESSION_KEY]
        82. backend = load_backend(backend_path)
        83. user = backend.get_user(user_id) or AnonymousUser()
        84. except KeyError:
        85. user = AnonymousUser()
        86. return user
      ▶ Local vars
      Variable 	Value
      AnonymousUser 	
      <class 'django.contrib.auth.models.AnonymousUser'>
      request 	
      <ModPythonRequest path:/stats/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'EIGHTAWEEK': 'app1inst1', '__utma': '175096811.1674486744.1203112062.1203355399.1203359888.7', '__utmc': '175096811', '__utmz': '175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)', 'sessionid': '149f501bcf979e5751da1dfc34fc2b03'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0L, 'CONTENT_TYPE': None, 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;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,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=0', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=175096811.1674486744.1203112062.1203355399.1203359888.7; sessionid=149f501bcf979e5751da1dfc34fc2b03; EIGHTAWEEK=app1inst1; __utmc=175096811', 'HTTP_HOST': '8aweek.com', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12', 'PATH_INFO': '/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '10.251.86.191', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': None, 'SERVER_NAME': '8aweek.com', 'SERVER_PORT': 0, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
    * /usr/lib/python2.5/site-packages/django/contrib/sessions/backends/base.py in __getitem__
        24. self.accessed = False
        25. self.modified = False
        26. def __contains__(self, key):
        27. return key in self._session
        28. def __getitem__(self, key):
        31. return self._session[key] ...
        32. def __setitem__(self, key, value):
        33. self._session[key] = value
        34. self.modified = True
        35. def __delitem__(self, key):
      ▶ Local vars
      Variable 	Value
      key 	
      '_auth_user_id'
      self 	
      <django.contrib.sessions.backends.db.SessionStore object at 0x2aaab04d9b10>
    * /usr/lib/python2.5/site-packages/django/contrib/sessions/backends/base.py in _get_session
       119. self.accessed = True
       120. try:
       121. return self._session_cache
       122. except AttributeError:
       123. if self._session_key is None:
       124. self._session_cache = {}
       125. else:
       126. self._session_cache = self.load() ...
       127. return self._session_cache
       128. _session = property(_get_session)
       129. # Methods that child classes must implement.
      ▶ Local vars
      Variable 	Value
      self 	
      <django.contrib.sessions.backends.db.SessionStore object at 0x2aaab04d9b10>
    * /usr/lib/python2.5/site-packages/django/contrib/sessions/backends/db.py in load
        11. def __init__(self, session_key=None):
        12. super(SessionStore, self).__init__(session_key)
        13. def load(self):
        14. try:
        15. s = Session.objects.get(
        16. session_key = self.session_key,
        18. expire_date__gt=datetime.datetime.now() ...
        19. )
        20. return self.decode(s.session_data)
        21. except (Session.DoesNotExist, SuspiciousOperation):
        22. # Create a new session_key for extra security.
        23. self.session_key = self._get_new_session_key()
      ▶ Local vars
      Variable 	Value
      self 	
      <django.contrib.sessions.backends.db.SessionStore object at 0x2aaab04d9b10>
    * /usr/lib/python2.5/site-packages/django/db/models/manager.py in get
        62. def distinct(self, *args, **kwargs):
        63. return self.get_query_set().distinct(*args, **kwargs)
        64. def extra(self, *args, **kwargs):
        65. return self.get_query_set().extra(*args, **kwargs)
        66. def get(self, *args, **kwargs):
        69. return self.get_query_set().get(*args, **kwargs) ...
        70. def get_or_create(self, **kwargs):
        71. return self.get_query_set().get_or_create(**kwargs)
        72.
        73. def create(self, **kwargs):
        74. return self.get_query_set().create(**kwargs)
      ▶ Local vars
      Variable 	Value
      args 	
      ()
      kwargs 	
      {'expire_date__gt': datetime.datetime(2008, 2, 18, 12, 22, 19, 425694), 'session_key': '149f501bcf979e5751da1dfc34fc2b03'}
      self 	
      <django.contrib.sessions.models.SessionManager object at 0x1301750>
    * /usr/lib/python2.5/site-packages/django/db/models/query.py in get
       254. def get(self, *args, **kwargs):
       255. "Performs the SELECT and returns a single object matching the given keyword arguments."
       256. clone = self.filter(*args, **kwargs)
       257. # clean up SQL by removing unneeded ORDER BY
       258. if not clone._order_by:
       259. clone._order_by = ()
       261. obj_list = list(clone) ...
       262. if len(obj_list) < 1:
       263. raise self.model.DoesNotExist, "%s matching query does not exist." % self.model._meta.object_name
       264. elif len(obj_list) > 1:
       265. raise self.model.MultipleObjectsReturned, "get() returned more than one %s -- it returned %s! Lookup parameters were %s" % (self.model._meta.object_name, len(obj_list), kwargs)
       266. return obj_list[0]
      ▶ Local vars
      Variable 	Value
      args 	
      ()
      clone 	
      Error in formatting: (1040, 'Too many connections')
      kwargs 	
      {'expire_date__gt': datetime.datetime(2008, 2, 18, 12, 22, 19, 425694), 'session_key': '149f501bcf979e5751da1dfc34fc2b03'}
      self 	
      Error in formatting: (1040, 'Too many connections')
    * /usr/lib/python2.5/site-packages/django/db/models/query.py in __iter__
       107. def __repr__(self):
       108. return repr(self._get_data())
       109. def __len__(self):
       110. return len(self._get_data())
       111. def __iter__(self):
       114. return iter(self._get_data()) ...
       115. def __getitem__(self, k):
       116. "Retrieve an item or slice from the set of results."
       117. if not isinstance(k, (slice, int, long)):
       118. raise TypeError
       119. assert (not isinstance(k, slice) and (k >= 0)) \
      ▶ Local vars
      Variable 	Value
      self 	
      Error in formatting: (1040, 'Too many connections')
    * /usr/lib/python2.5/site-packages/django/db/models/query.py in _get_data
       476. if (self._order_by is not None and len(self._order_by) > 0) and \
       477. (combined._order_by is None or len(combined._order_by) == 0):
       478. combined._order_by = self._order_by
       479. return combined
       480. def _get_data(self):
       481. if self._result_cache is None:
       483. self._result_cache = list(self.iterator()) ...
       484. return self._result_cache
       485. def _get_sql_clause(self):
       486. qn = connection.ops.quote_name
       487. opts = self.model._meta
      ▶ Local vars
      Variable 	Value
      self 	
      Error in formatting: (1040, 'Too many connections')
    * /usr/lib/python2.5/site-packages/django/db/models/query.py in iterator
       181. except EmptyResultSet:
       182. raise StopIteration
       183. # self._select is a dictionary, and dictionaries' key order is
       184. # undefined, so we convert it to a list of tuples.
       185. extra_select = self._select.items()
       188. cursor = connection.cursor() ...
       189. cursor.execute("SELECT " + (self._distinct and "DISTINCT " or "") + ",".join(select) + sql, params)
       190. fill_cache = self._select_related
       191. fields = self.model._meta.fields
       192. index_end = len(fields)
       193. has_resolve_columns = hasattr(self, 'resolve_columns')
      ▶ Local vars
      Variable 	Value
      extra_select 	
      []
      params 	
      ['149f501bcf979e5751da1dfc34fc2b03', u'2008-02-18 12:22:19.425694']
      select 	
      ['`django_session`.`session_key`', '`django_session`.`session_data`', '`django_session`.`expire_date`']
      self 	
      Error in formatting: (1040, 'Too many connections')
      sql 	
      ' FROM `django_session` WHERE (`django_session`.`session_key` = %s AND `django_session`.`expire_date` > %s)'
    * /usr/lib/python2.5/site-packages/django/db/backends/__init__.py in cursor
        26. def close(self):
        27. if self.connection is not None:
        28. self.connection.close()
        29. self.connection = None
        30. def cursor(self):
        31. from django.conf import settings
        33. cursor = self._cursor(settings) ...
        34. if settings.DEBUG:
        35. return self.make_debug_cursor(cursor)
        36. return cursor
        37. def make_debug_cursor(self, cursor):
        38. from django.db.backends import util
      ▶ Local vars
      Variable 	Value
      self 	
      <django.db.backends.mysql.base.DatabaseWrapper object at 0xd955d0>
      settings 	
      <django.conf.LazySettings object at 0xc5e1d0>
    * /usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py in _cursor
       175. if settings.DATABASE_HOST.startswith('/'):
       176. kwargs['unix_socket'] = settings.DATABASE_HOST
       177. elif settings.DATABASE_HOST:
       178. kwargs['host'] = settings.DATABASE_HOST
       179. if settings.DATABASE_PORT:
       180. kwargs['port'] = int(settings.DATABASE_PORT)
       181. kwargs.update(self.options)
       182. self.connection = Database.connect(**kwargs) ...
       183. cursor = self.connection.cursor()
       184. return cursor
       185. def _rollback(self):
       186. try:
       187. BaseDatabaseWrapper._rollback(self)
      ▶ Local vars
      Variable 	Value
      kwargs 	
      {'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <class 'sets.Set'>: <function Set2Str at 0xddd050>, <type 'datetime.datetime'>: <function DateTime2literal at 0xdd0320>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0xdd0398>, <type 'array.array'>: <function array2Str at 0xddd410>, <type 'bool'>: <function Bool2Str at 0xddd488>, <type 'instance'>: <function Instance2Str at 0xddd320>, <type 'float'>: <function Float2Str at 0xddd1b8>, <type 'int'>: <function Thing2Str at 0xddd0c8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0xddd0c8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0xddd230>, <type 'str'>: <function Thing2Literal at 0xddd2a8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0xddd320>, <type 'unicode'>: <function Unicode2Str at 0xddd140>}, 'db': 'webwean', 'host': 'localhost', 'passwd': 'l1ghtn1ng', 'port': 3306, 'use_unicode': True, 'user': 'root'}
      self 	
      <django.db.backends.mysql.base.DatabaseWrapper object at 0xd955d0>
      settings 	
      <django.conf.LazySettings object at 0xc5e1d0>
    * /var/lib/python-support/python2.5/MySQLdb/__init__.py in Connect
        67. def Binary(x):
        68. return str(x)
        69. def Connect(*args, **kwargs):
        70. """Factory function for connections.Connection."""
        71. from connections import Connection
        74. return Connection(*args, **kwargs) ...
        75. connect = Connection = Connect
        76. __all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
        77. 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks',
        78. 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error',
      ▶ Local vars
      Variable 	Value
      Connection 	
      <class 'MySQLdb.connections.Connection'>
      args 	
      ()
      kwargs 	
      {'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <class 'sets.Set'>: <function Set2Str at 0xddd050>, <type 'datetime.datetime'>: <function DateTime2literal at 0xdd0320>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0xdd0398>, <type 'array.array'>: <function array2Str at 0xddd410>, <type 'bool'>: <function Bool2Str at 0xddd488>, <type 'instance'>: <function Instance2Str at 0xddd320>, <type 'float'>: <function Float2Str at 0xddd1b8>, <type 'int'>: <function Thing2Str at 0xddd0c8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0xddd0c8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0xddd230>, <type 'str'>: <function Thing2Literal at 0xddd2a8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0xddd320>, <type 'unicode'>: <function Unicode2Str at 0xddd140>}, 'db': 'webwean', 'host': 'localhost', 'passwd': 'l1ghtn1ng', 'port': 3306, 'use_unicode': True, 'user': 'root'}
    * /var/lib/python-support/python2.5/MySQLdb/connections.py in __init__
       163. if client_version >= (4, 1):
       164. client_flag |= CLIENT.MULTI_STATEMENTS
       165. if client_version >= (5, 0):
       166. client_flag |= CLIENT.MULTI_RESULTS
       167.
       168. kwargs2['client_flag'] = client_flag
       170. super(Connection, self).__init__(*args, **kwargs2) ...
       171. self.encoders = dict([ (k, v) for k, v in conv.items()
       172. if type(k) is not int ])
       173.
       174. self._server_version = tuple([ int(n) for n in self.get_server_info().split('.')[:2] ])
      ▶ Local vars
      Variable 	Value
      CLIENT 	
      <module 'MySQLdb.constants.CLIENT' from '/var/lib/python-support/python2.5/MySQLdb/constants/CLIENT.pyc'>
      FIELD_TYPE 	
      <module 'MySQLdb.constants.FIELD_TYPE' from '/var/lib/python-support/python2.5/MySQLdb/constants/FIELD_TYPE.pyc'>
      WeakValueDictionary 	
      <class weakref.WeakValueDictionary at 0xbaabf0>
      args 	
      ()
      charset 	
      'utf8'
      client_flag 	
      196608
      client_version 	
      (5, 0)
      conv 	
      {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <class 'sets.Set'>: <function Set2Str at 0xddd050>, <type 'datetime.datetime'>: <function DateTime2literal at 0xdd0320>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0xdd0398>, <type 'array.array'>: <function array2Str at 0xddd410>, <type 'bool'>: <function Bool2Str at 0xddd488>, <type 'instance'>: <function Instance2Str at 0xddd320>, <type 'float'>: <function Float2Str at 0xddd1b8>, <type 'int'>: <function Thing2Str at 0xddd0c8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0xddd0c8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0xddd230>, <type 'str'>: <function Thing2Literal at 0xddd2a8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0xddd320>, <type 'unicode'>: <function Unicode2Str at 0xddd140>}
      conv2 	
      {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)]}
      conversions 	
      {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function TimeDelta_or_None at 0xdd01b8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <class 'sets.Set'>: <function Set2Str at 0xddd050>, <type 'datetime.datetime'>: <function DateTime2literal at 0xdd0320>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0xdd0398>, <type 'array.array'>: <function array2Str at 0xddd410>, <type 'bool'>: <function Bool2Str at 0xddd488>, <type 'instance'>: <function Instance2Str at 0xddd320>, <type 'float'>: <function Float2Str at 0xddd1b8>, <type 'int'>: <function Thing2Str at 0xddd0c8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0xddd0c8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0xddd230>, <type 'str'>: <function Thing2Literal at 0xddd2a8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0xddd320>, <type 'unicode'>: <function Unicode2Str at 0xddd140>}
      k 	
      254
      kwargs 	
      {'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <class 'sets.Set'>: <function Set2Str at 0xddd050>, <type 'datetime.datetime'>: <function DateTime2literal at 0xdd0320>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0xdd0398>, <type 'array.array'>: <function array2Str at 0xddd410>, <type 'bool'>: <function Bool2Str at 0xddd488>, <type 'instance'>: <function Instance2Str at 0xddd320>, <type 'float'>: <function Float2Str at 0xddd1b8>, <type 'int'>: <function Thing2Str at 0xddd0c8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0xddd0c8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0xddd230>, <type 'str'>: <function Thing2Literal at 0xddd2a8>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0xddd320>, <type 'unicode'>: <function Unicode2Str at 0xddd140>}, 'db': 'webwean', 'host': 'localhost', 'passwd': 'l1ghtn1ng', 'port': 3306, 'use_unicode': True, 'user': 'root'}
      kwargs2 	
      {'client_flag': 196608, 'conv': {0: <function typecast_decimal at 0xda7f50>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0xdd0410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0xdd02a8>, 11: <function typecast_time at 0xda7de8>, 12: <function DateTime_or_None at 0xdd0140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0xda7f50>, 248: <function Str2Set at 0xddbf50>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)]}, 'db': 'webwean', 'host': 'localhost', 'passwd': 'l1ghtn1ng', 'port': 3306, 'user': 'root'}
      n 	
      '0'
      proxy 	
      <built-in function proxy>
      self 	
      <_mysql.connection closed at 14f0b940>
      sql_mode 	
      ''
      types 	
      <module 'types' from '/usr/lib/python2.5/types.pyc'>
      use_unicode 	
      True
      v 	
      [(128, <type 'str'>)]

Environment: Request Method: GET Request URL: http://8aweek.com/stats/ Django Version: 0.97-pre-SVN-7127 Python Version: 2.5.1 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.markup', 'django.contrib.comments', 'tagging', 'blog', 'webwean.schemes', 'webwean.profiles', 'webwean.toolbar', 'webwean.q', 'webwean.debug', 'webwean.stats', 'webwean.feedback'] Installed Middleware: ('django.middleware.http.ConditionalGetMiddleware', 'django.middleware.cache.CacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') Traceback: File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response 82. response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.5/site-packages/django/contrib/auth/decorators.py" in __call__ 61. if self.test_func(request.user): File "/usr/lib/python2.5/site-packages/django/contrib/auth/middleware.py" in __get__ 5. request._cached_user = get_user(request) File "/usr/lib/python2.5/site-packages/django/contrib/auth/__init__.py" in get_user 80. user_id = request.session[SESSION_KEY] File "/usr/lib/python2.5/site-packages/django/contrib/sessions/backends/base.py" in __getitem__ 31. return self._session[key] File "/usr/lib/python2.5/site-packages/django/contrib/sessions/backends/base.py" in _get_session 126. self._session_cache = self.load() File "/usr/lib/python2.5/site-packages/django/contrib/sessions/backends/db.py" in load 18. expire_date__gt=datetime.datetime.now() File "/usr/lib/python2.5/site-packages/django/db/models/manager.py" in get 69. return self.get_query_set().get(*args, **kwargs) File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in get 261. obj_list = list(clone) File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in __iter__ 114. return iter(self._get_data()) File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in _get_data 483. self._result_cache = list(self.iterator()) File "/usr/lib/python2.5/site-packages/django/db/models/query.py" in iterator 188. cursor = connection.cursor() File "/usr/lib/python2.5/site-packages/django/db/backends/__init__.py" in cursor 33. cursor = self._cursor(settings) File "/usr/lib/python2.5/site-packages/django/db/backends/mysql/base.py" in _cursor 182. self.connection = Database.connect(**kwargs) File "/var/lib/python-support/python2.5/MySQLdb/__init__.py" in Connect 74. return Connection(*args, **kwargs) File "/var/lib/python-support/python2.5/MySQLdb/connections.py" in __init__ 170. super(Connection, self).__init__(*args, **kwargs2) Exception Type: OperationalError at /stats/ Exception Value: (1040, 'Too many connections')

Request information
GET

No GET data
POST

No POST data
COOKIES
Variable 	Value
__utma 	
'175096811.1674486744.1203112062.1203355399.1203359888.7'
__utmz 	
'175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
__utmc 	
'175096811'
EIGHTAWEEK 	
'app1inst1'
sessionid 	
'149f501bcf979e5751da1dfc34fc2b03'
META
Variable 	Value
AUTH_TYPE 	
None
CONTENT_LENGTH 	
0L
CONTENT_TYPE 	
None
GATEWAY_INTERFACE 	
'CGI/1.1'
HTTP_ACCEPT 	
'text/xml,application/xml,application/xhtml+xml,text/html;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,deflate'
HTTP_ACCEPT_LANGUAGE 	
'en-us,en;q=0.5'
HTTP_CACHE_CONTROL 	
'max-age=0'
HTTP_CONNECTION 	
'keep-alive'
HTTP_COOKIE 	
'__utmz=175096811.1203112062.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=175096811.1674486744.1203112062.1203355399.1203359888.7; sessionid=149f501bcf979e5751da1dfc34fc2b03; EIGHTAWEEK=app1inst1; __utmc=175096811'
HTTP_HOST 	
'8aweek.com'
HTTP_KEEP_ALIVE 	
'300'
HTTP_USER_AGENT 	
'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12'
PATH_INFO 	
'/'
PATH_TRANSLATED 	
None
QUERY_STRING 	
None
REMOTE_ADDR 	
'10.251.86.191'
REMOTE_HOST 	
None
REMOTE_IDENT 	
None
REMOTE_USER 	
None
REQUEST_METHOD 	
'GET'
SCRIPT_NAME 	
None
SERVER_NAME 	
'8aweek.com'
SERVER_PORT 	
0
SERVER_PROTOCOL 	
'HTTP/1.1'
SERVER_SOFTWARE 	
'mod_python'
Settings
Using settings module webwean.settings
Setting 	Value
ABSOLUTE_URL_OVERRIDES 	
{}
ADMINS 	
()
ADMIN_FOR 	
()
ADMIN_MEDIA_PREFIX 	
'/admin_media/'
ALLOWED_INCLUDE_ROOTS 	
()
APPEND_SLASH 	
True
AUTHENTICATION_BACKENDS 	
('django.contrib.auth.backends.ModelBackend',)
AUTH_PROFILE_MODULE 	
'profiles.Profile'
BANNED_IPS 	
()
BETA_LIST_MAX 	
500000000
CACHE_BACKEND 	
'memcached://127.0.0.1:112211/'
CACHE_MIDDLEWARE_KEY_PREFIX 	
''
CACHE_MIDDLEWARE_SECONDS 	
300
COMMENTS_ALLOW_PROFANITIES 	
False
COMMENTS_BANNED_USERS_GROUP 	
None
COMMENTS_FIRST_FEW 	
0
COMMENTS_MODERATORS_GROUP 	
None
COMMENTS_SKETCHY_USERS_GROUP 	
None
DATABASE_ENGINE 	
'mysql'
DATABASE_HOST 	
'localhost'
DATABASE_NAME 	
'webwean'
DATABASE_OPTIONS 	
{}
DATABASE_PASSWORD 	
'********************'
DATABASE_PORT 	
'3306'
DATABASE_USER 	
'root'
DATETIME_FORMAT 	
'N j, Y, P'
DATE_FORMAT 	
'N j, Y'
DEBUG 	
True
DEFAULT_CHARSET 	
'utf-8'
DEFAULT_CONTENT_TYPE 	
'text/html'
DEFAULT_EMAIL 	
'nobody@8aweek.com'
DEFAULT_FROM_EMAIL 	
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE 	
''
DEFAULT_PW 	
'AUB93a(CX3)12'
DEFAULT_TABLESPACE 	
''
DISALLOWED_USER_AGENTS 	
()
EMAIL_HOST 	
'localhost'
EMAIL_HOST_PASSWORD 	
'********************'
EMAIL_HOST_USER 	
''
EMAIL_PORT 	
25
EMAIL_SUBJECT_PREFIX 	
'[Django] '
EMAIL_USE_TLS 	
False
FILE_CHARSET 	
'utf-8'
FIXTURE_DIRS 	
()
IGNORABLE_404_ENDS 	
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS 	
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS 	
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.markup', 'django.contrib.comments', 'tagging', 'blog', 'webwean.schemes', 'webwean.profiles', 'webwean.toolbar', 'webwean.q', 'webwean.debug', 'webwean.stats', 'webwean.feedback']
INTERNAL_IPS 	
('71.141.250.127',)
JING_PATH 	
'/usr/bin/jing'
LANGUAGES 	
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI 	
('he', 'ar', 'fa')
LANGUAGE_CODE 	
'en-us'
LOCALE_PATHS 	
()
LOGIN_REDIRECT_URL 	
'/profile/sites/'
LOGIN_URL 	
'/accounts/login/'
LOGOUT_URL 	
'/accounts/logout/'
MANAGERS 	
()
MEDIA_ROOT 	
'/mnt/src/webwean/../media/'
MEDIA_URL 	
'http://8aweek.com/media'
MIDDLEWARE_CLASSES 	
('django.middleware.http.ConditionalGetMiddleware', 'django.middleware.cache.CacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
MONTH_DAY_FORMAT 	
'F j'
PREPEND_WWW 	
False
PROFANITIES_LIST 	
'********************'
ROOT_URLCONF 	
'webwean.urls'
SECRET_KEY 	
'********************'
SEND_BROKEN_LINK_EMAILS 	
False
SERVER_EMAIL 	
'root@localhost'
SESSION_COOKIE_AGE 	
31536000
SESSION_COOKIE_DOMAIN 	
None
SESSION_COOKIE_NAME 	
'sessionid'
SESSION_COOKIE_PATH 	
'/'
SESSION_COOKIE_SECURE 	
False
SESSION_ENGINE 	
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE 	
False
SESSION_FILE_PATH 	
'/tmp/'
SESSION_SAVE_EVERY_REQUEST 	
False
SETTINGS_MODULE 	
'webwean.settings'
SITE_EMAIL 	
'support@8aweek.com'
SITE_ID 	
1
SITE_NAME 	
'8aweek'
SITE_URL 	
'http://8aweek.com/'
TEMPLATE_CONTEXT_PROCESSORS 	
('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'webwean.context_processors.prefixes')
TEMPLATE_DEBUG 	
True
TEMPLATE_DIRS 	
('/mnt/src/webwean/templates/', '/usr/lib/python2.5/site-packages/djtrunk/django/contrib/comments/templates/')
TEMPLATE_LOADERS 	
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID 	
''
TEST_DATABASE_CHARSET 	
None
TEST_DATABASE_COLLATION 	
None
TEST_DATABASE_NAME 	
None
TEST_RUNNER 	
'django.test.simple.run_tests'
TIME_FORMAT 	
'P'
TIME_ZONE 	
'US/Pacific'
TRANSACTIONS_MANAGED 	
False
URL_VALIDATOR_USER_AGENT 	
u'Django/0.97-pre-SVN-7127 (http://www.djangoproject.com)'
USE_ETAGS 	
False
USE_I18N 	
True
YEAR_MONTH_FORMAT 	
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.