| <class 'django.template.TemplateDoesNotExist'> | Python 2.5.1: /usr/local/python2.5.1/bin/python2.5 Tue Jan 6 14:16:02 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.
| /usr/local/church_website-prod/build/bdist.freebsd-6.2-RELEASE-amd64/egg/flup/server/scgi_base.py in run(self=<flup.server.scgi_base.Request object at 0x2a9a75ef10>) |
| 183 |
| 184 try: |
| 185 self._conn.server.handler(self) |
| 186 except: |
| 187 self.logger.exception('Exception caught from handler') |
| /usr/local/church_website-prod/build/bdist.freebsd-6.2-RELEASE-amd64/egg/flup/server/scgi_base.py in handler(self=<flup.server.scgi_fork.WSGIServer object at 0x2a9715ea10>, request=<flup.server.scgi_base.Request object at 0x2a9a75ef10>) |
| 454 try: |
| 455 try: |
| 456 result = self.application(environ, start_response) |
| 457 try: |
| 458 for data in result: |
| /usr/local/python2.5.1/lib/python2.5/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0x2a9715e9d0>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/var/www/html/bridgewaysv', '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': 'www.bridgewaysv.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0x2a9a75f2a8>) |
| 195 try: |
| 196 request = WSGIRequest(environ) |
| 197 response = self.get_response(request) |
| 198 |
| 199 # Apply response middleware |
| response undefined, self = <django.core.handlers.wsgi.WSGIHandler object at 0x2a9715e9d0>, self.get_response = <bound method WSGIHandler.get_response of <djang...andlers.wsgi.WSGIHandler object at 0x2a9715e9d0>>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
| /usr/local/python2.5.1/lib/python2.5/site-packages/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0x2a9715e9d0>, request=<WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 124 # Return an HttpResponse that displays a friendly error message. |
| 125 callback, param_dict = resolver.resolve500() |
| 126 return callback(request, **param_dict) |
| 127 |
| 128 def _get_traceback(self, exc_info=None): |
| callback = <function server_error at 0x2a99085e60>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {} |
| /usr/local/python2.5.1/lib/python2.5/site-packages/django/views/defaults.py in server_error(request=<WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, template_name='500.html') |
| 86 Templates: `500.html` |
| 87 Context: None |
| 88 """ |
| 89 t = loader.get_template(template_name) # You need to create a 500.html template. |
| 90 return http.HttpResponseServerError(t.render(Context({}))) |
| t undefined, global loader = <module 'django.template.loader' from '/usr/loca...hon2.5/site-packages/django/template/loader.pyc'>, loader.get_template = <function get_template at 0x2a986c78c0>, template_name = '500.html' |
| /usr/local/python2.5.1/lib/python2.5/site-packages/django/template/loader.py in get_template(template_name='500.html') |
| 77 handling template inheritance recursively. |
| 78 """ |
| 79 source, origin = find_template_source(template_name) |
| 80 template = get_template_from_string(source, origin, template_name) |
| 81 return template |
| source undefined, origin undefined, global find_template_source = <function find_template_source at 0x2a986c6ed8>, template_name = '500.html' |
| /usr/local/python2.5.1/lib/python2.5/site-packages/django/template/loader.py in find_template_source(name='500.html', dirs=None) |
| 70 except TemplateDoesNotExist: |
| 71 pass |
| 72 raise TemplateDoesNotExist, name |
| 73 |
| 74 def get_template(template_name): |
| global TemplateDoesNotExist = <class 'django.template.TemplateDoesNotExist'>, name = '500.html' |
<class 'django.template.TemplateDoesNotExist'>: 500.html