<class 'django.template.TemplateDoesNotExist'>
Python 2.5.2: /home/moronicbajebus/local/bin/python
Sat Jul 4 15:48:51 2009

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/.kazak/moronicbajebus/django.moronicbajebus.com/fcgi.py in run(self=<fcgi.Request object at 0x4074764c>)
  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 0x4074764c>, self.server = <fcgi.WSGIServer object at 0x40490f2c>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0x40490f2c>>
 /home/.kazak/moronicbajebus/django.moronicbajebus.com/fcgi.py in handler(self=<fcgi.WSGIServer object at 0x40490f2c>, req=<fcgi.Request object at 0x4074764c>)
 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 0x40490f2c>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, environ = {'DH_USER': 'moronicbajebus', 'DOCUMENT_ROOT': '/home/moronicbajebus/moronicbajebus.com', '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': 'moronicbajebus.com', ...}, start_response = <function start_response at 0x40b60b1c>
 /home/moronicbajebus/local/lib/python2.5/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, environ={'DH_USER': 'moronicbajebus', 'DOCUMENT_ROOT': '/home/moronicbajebus/moronicbajebus.com', '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': 'moronicbajebus.com', ...}, start_response=<function start_response at 0x40b60b1c>)
  237                 response = http.HttpResponseBadRequest()
  238             else:
  239                 response = self.get_response(request)
  240 
  241                 # Apply response middleware
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, self.get_response = <bound method WSGIHandler.get_response of <djang....handlers.wsgi.WSGIHandler object at 0x40490f4c>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /home/moronicbajebus/local/lib/python2.5/site-packages/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
  114                 except:
  115                     try:
  116                         return self.handle_uncaught_exception(request, resolver, sys.exc_info())
  117                     finally:
  118                         receivers = signals.got_request_exception.send(sender=self.__class__, request=request)
self = <django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except....handlers.wsgi.WSGIHandler object at 0x40490f4c>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver my_cms.urls ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info>
 /home/moronicbajebus/local/lib/python2.5/site-packages/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object at 0x40490f4c>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver my_cms.urls ^/>, exc_info=(<class 'django.template.TemplateDoesNotExist'>, TemplateDoesNotExist('404.html',), <traceback object at 0x40b5ea54>))
  158         # Return an HttpResponse that displays a friendly error message.
  159         callback, param_dict = resolver.resolve500()
  160         return callback(request, **param_dict)
  161 
  162     def _get_traceback(self, exc_info=None):
callback = <function server_error at 0x4074eca4>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {}
 /home/moronicbajebus/local/lib/python2.5/site-packages/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')
   85     Templates: `500.html`
   86     Context: None
   87     """
   88     t = loader.get_template(template_name) # You need to create a 500.html template.
   89     return http.HttpResponseServerError(t.render(Context({})))
t undefined, global loader = <module 'django.template.loader' from '/home/mor...hon2.5/site-packages/django/template/loader.pyc'>, loader.get_template = <function get_template at 0x40a044fc>, template_name = '500.html'
 /home/moronicbajebus/local/lib/python2.5/site-packages/django/template/loader.py in get_template(template_name='500.html')
   78     handling template inheritance recursively.
   79     """
   80     source, origin = find_template_source(template_name)
   81     template = get_template_from_string(source, origin, template_name)
   82     return template
source undefined, origin undefined, global find_template_source = <function find_template_source at 0x40a044c4>, template_name = '500.html'
 /home/moronicbajebus/local/lib/python2.5/site-packages/django/template/loader.py in find_template_source(name='500.html', dirs=None)
   71         except TemplateDoesNotExist:
   72             pass
   73     raise TemplateDoesNotExist, name
   74 
   75 def get_template(template_name):
global TemplateDoesNotExist = <class 'django.template.TemplateDoesNotExist'>, name = '500.html'

<class 'django.template.TemplateDoesNotExist'>: 500.html
      args = ('500.html',)
      message = '500.html'