<class 'django.template.TemplateDoesNotExist'>
Python 2.6.6: /usr/bin/python
Wed Aug 23 21:43:57 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
  556         """Runs the handler, flushes the streams, and ends the request."""
  557         try:
  558             protocolStatus, appStatus = self.server.handler(self)
  559         except:
  560             traceback.print_exc(file=self.stderr)
 /build/bdist.linux-x86_64/egg/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
 1116         try:
 1117             try:
 1118                 result = self.application(environ, start_response)
 1119                 try:
 1120                     for data in result:
 /usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'DOCUMENT_ROOT': '/data/web//rank2011/web', 'DOCUMENT_URI': '/\xe5\xa4\xa9\xe6\xb4\xa5\xe8\xb4\xa2\xe7\xbb\x8f\xe5\xa4\xa7\xe5\xad\xa6', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'rank2011.netbig.com', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
  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>, 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)}>
 /usr/lib/python2.6/site-packages/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)}>)
  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>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...f <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver urls (None:None) ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info>
 /usr/lib/python2.6/site-packages/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver urls (None:None) ^/>, exc_info=(<class 'django.template.TemplateDoesNotExist'>, TemplateDoesNotExist('404.html',), <traceback object>))
  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>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {}
 /usr/lib/python2.6/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')
   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 '/usr/lib/python2.6/site-packages/django/template/loader.pyc'>, loader.get_template = <function get_template>, template_name = '500.html'
 /usr/lib/python2.6/site-packages/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>, template_name = '500.html'
 /usr/lib/python2.6/site-packages/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'