| TemplateDoesNotExist | Python 2.4.1: /usr/bin/python2.4 Sat Sep 6 02:18:56 2008 |
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/.hedy/inerte/imagens-tematicas.inerciasensorial.com.br/fcgi.py in run(self=<fcgi.Request object>) |
| 580 """Runs the handler, flushes the streams, and ends the request.""" |
| 581 try: |
| 582 protocolStatus, appStatus = self.server.handler(self) |
| 583 except: |
| 584 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <fcgi.Request object>, self.server = <fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object>> |
| /home/.hedy/inerte/imagens-tematicas.inerciasensorial.com.br/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.Request object>) |
| 1257 self._app_lock.acquire() |
| 1258 try: |
| 1259 result = self.application(environ, start_response) |
| 1260 try: |
| 1261 for data in result: |
| result = None, self = <fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DOCUMENT_ROOT': '/home/inerte/imagens-tematicas.inerciasensorial.com.br', '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': 'imagens-tematicas.inerciasensorial.com.br', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /home/inerte/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DOCUMENT_ROOT': '/home/inerte/imagens-tematicas.inerciasensorial.com.br', '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': 'imagens-tematicas.inerciasensorial.com.br', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
| 187 try: |
| 188 request = WSGIRequest(environ) |
| 189 response = self.get_response(request) |
| 190 |
| 191 # 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:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
| /home/inerte/django_src/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, 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>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {} |
| /home/inerte/django_src/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') |
| 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/inerte/django_src/django/template/loader.pyc'>, loader.get_template = <function get_template>, template_name = '500.html' |
| /home/inerte/django_src/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>, template_name = '500.html' |
| /home/inerte/django_src/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' |
TemplateDoesNotExist: 500.html
args =
('500.html',)