<class 'django.template.TemplateDoesNotExist'>
Python 2.5.2: /usr/bin/python2.5
Fri Sep 3 05:34:33 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/orangetulip/orangetulipconspiracy.com/fcgi.py in run(self=<fcgi.Request object at 0xa59150>)
  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 0xa59150>, self.server = <fcgi.WSGIServer object at 0xa59090>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0xa59090>>
 /home/orangetulip/orangetulipconspiracy.com/fcgi.py in handler(self=<fcgi.WSGIServer object at 0xa59090>, req=<fcgi.Request object at 0xa59150>)
 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 0xa59090>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, environ = {'DH_USER': 'orangetulip', 'DOCUMENT_ROOT': '/home/orangetulip/orangetulipconspiracy.com', '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': 'orangetulipconspiracy.com', ...}, start_response = <function start_response at 0x73f203acec80>
 /var/lib/python-support/python2.5/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, environ={'DH_USER': 'orangetulip', 'DOCUMENT_ROOT': '/home/orangetulip/orangetulipconspiracy.com', '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': 'orangetulipconspiracy.com', ...}, start_response=<function start_response at 0x73f203acec80>)
  239                 response = http.HttpResponseBadRequest()
  240             else:
  241                 response = self.get_response(request)
  242 
  243                 # Apply response middleware
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, self.get_response = <bound method WSGIHandler.get_response of <djang...re.handlers.wsgi.WSGIHandler object at 0xa52fd0>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
 /var/lib/python-support/python2.5/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>)
  128                     except:
  129                         try:
  130                             return self.handle_uncaught_exception(request, resolver, sys.exc_info())
  131                         finally:
  132                             receivers = signals.got_request_exception.send(sender=self.__class__, request=request)
self = <django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...re.handlers.wsgi.WSGIHandler object at 0xa52fd0>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver OTC.urls (None:None) ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info>
 /var/lib/python-support/python2.5/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object at 0xa52fd0>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver OTC.urls (None:None) ^/>, exc_info=(<class 'django.template.TemplateDoesNotExist'>, TemplateDoesNotExist('404.html',), <traceback object at 0x1041200>))
  179         # Return an HttpResponse that displays a friendly error message.
  180         callback, param_dict = resolver.resolve500()
  181         return callback(request, **param_dict)
  182 
  183     def _get_traceback(self, exc_info=None):
callback = <function server_error at 0x1042320>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {}
 /var/lib/python-support/python2.5/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')
   21     Context: None
   22     """
   23     t = loader.get_template(template_name) # You need to create a 500.html template.
   24     return http.HttpResponseServerError(t.render(Context({})))
   25 
t undefined, global loader = <module 'django.template.loader' from '/var/lib/python-support/python2.5/django/template/loader.py'>, loader.get_template = <function get_template at 0x10a3d70>, template_name = '500.html'
 /var/lib/python-support/python2.5/django/template/loader.py in get_template(template_name='500.html')
  155     handling template inheritance recursively.
  156     """
  157     template, origin = find_template(template_name)
  158     if not hasattr(template, 'render'):
  159         # template needs to be compiled
template undefined, origin undefined, global find_template = <function find_template at 0x10a3c80>, template_name = '500.html'
 /var/lib/python-support/python2.5/django/template/loader.py in find_template(name='500.html', dirs=None)
  136         except TemplateDoesNotExist:
  137             pass
  138     raise TemplateDoesNotExist(name)
  139 
  140 def find_template_source(name, dirs=None):
global TemplateDoesNotExist = <class 'django.template.TemplateDoesNotExist'>, name = '500.html'

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