| TemplateDoesNotExist | Python 2.4.1: /usr/bin/python2.4 Thu Mar 18 10:27:32 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/www/05/welvic.org.au/data/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
| 558 """Runs the handler, flushes the streams, and ends the request.""" |
| 559 try: |
| 560 protocolStatus, appStatus = self.server.handler(self) |
| 561 except: |
| 562 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi_fork.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi_fork.WSGIServer object>> |
| /home/www/05/welvic.org.au/data/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
| 1096 self._appLock.acquire() |
| 1097 try: |
| 1098 result = self.application(environ, start_response) |
| 1099 try: |
| 1100 for data in result: |
| result = None, self = <flup.server.fcgi_fork.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler instance>, environ = {'DOCUMENT_ROOT': '/home/www/05/welvic.org.au/www', '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': 'www.welvic.org.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response> |
| /home/www/05/welvic.org.au/data/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler instance>, environ={'DOCUMENT_ROOT': '/home/www/05/welvic.org.au/www', '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': 'www.welvic.org.au', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response>) |
| 153 try: |
| 154 request = WSGIRequest(environ) |
| 155 response = self.get_response(request.path, request) |
| 156 finally: |
| 157 db.db.close() |
| response undefined, self = <django.core.handlers.wsgi.WSGIHandler instance>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler instance>>, request = <DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, request.path = '/robots.txt' |
| /home/www/05/welvic.org.au/data/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler instance>, path='/robots.txt', request=<DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 93 else: |
| 94 callback, param_dict = resolver.resolve404() |
| 95 return callback(request, **param_dict) |
| 96 except db.DatabaseError: |
| 97 db.db.rollback() |
| callback = <function page_not_found>, request = <DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {} |
| /home/www/05/welvic.org.au/data/django/views/defaults.py in page_not_found(request=<DjangoRequest GET:{}, POST:{}, COOKIES:{}, META...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, template_name='404') |
| 56 Context: None |
| 57 """ |
| 58 t = loader.get_template(template_name) |
| 59 return httpwrappers.HttpResponseNotFound(t.render(Context())) |
| 60 |
| t undefined, global loader = <module 'django.core.template.loader' from '/hom...vic.org.au/data/django/core/template/loader.pyc'>, loader.get_template = <function get_template>, template_name = '404' |
| /home/www/05/welvic.org.au/data/django/core/template/loader.py in get_template(template_name='404') |
| 71 handling template inheritance recursively. |
| 72 """ |
| 73 return get_template_from_string(*find_template_source(template_name)) |
| 74 |
| 75 def get_template_from_string(source, origin=None ): |
| global get_template_from_string = <function get_template_from_string>, global find_template_source = <function find_template_source>, template_name = '404' |
| /home/www/05/welvic.org.au/data/django/core/template/loader.py in find_template_source(name='404', dirs=None) |
| 64 except TemplateDoesNotExist: |
| 65 pass |
| 66 raise TemplateDoesNotExist, name |
| 67 |
| 68 def get_template(template_name): |
| global TemplateDoesNotExist = <class django.core.template.TemplateDoesNotExist>, name = '404' |
TemplateDoesNotExist: 404
args =
('404',)