| <class 'django.template.TemplateDoesNotExist'> | Python 2.6.2: /home/volsched/soft/bin/python Sat Mar 13 06:16:58 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/.deceive/volsched/volsched.com/fcgi.py in run(self=<fcgi.Request object at 0xaf75dc4c>) |
| 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 0xaf75dc4c>, self.server = <fcgi.WSGIServer object at 0xb0535dcc>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0xb0535dcc>> |
| /home/.deceive/volsched/volsched.com/fcgi.py in handler(self=<fcgi.WSGIServer object at 0xb0535dcc>, req=<fcgi.Request object at 0xaf75dc4c>) |
| 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 0xb0535dcc>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0xb0535dac>, environ = {'DH_USER': 'volsched', 'DOCUMENT_ROOT': '/home/volsched/volsched.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_COOKIE': 'sessionid=983d5ddda92dbd9bba6779b7479da639', ...}, start_response = <function start_response at 0xaf75b80c> |
| /home/volsched/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0xb0535dac>, environ={'DH_USER': 'volsched', 'DOCUMENT_ROOT': '/home/volsched/volsched.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_COOKIE': 'sessionid=983d5ddda92dbd9bba6779b7479da639', ...}, start_response=<function start_response at 0xaf75b80c>) |
| 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 at 0xb0535dac>, self.get_response = <bound method WSGIHandler.get_response of <djang....handlers.wsgi.WSGIHandler object at 0xb0535dac>>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
| /home/volsched/django_src/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0xb0535dac>, request=<WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 101 else: |
| 102 callback, param_dict = resolver.resolve404() |
| 103 return callback(request, **param_dict) |
| 104 except exceptions.PermissionDenied: |
| 105 return http.HttpResponseForbidden('<h1>Permission denied</h1>') |
| callback = <function page_not_found at 0xaf7cba04>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, param_dict = {} |
| /home/volsched/django_src/django/views/defaults.py in page_not_found(request=<WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, template_name='404.html') |
| 76 The path of the requested URL (e.g., '/app/pages/bad_page/') |
| 77 """ |
| 78 t = loader.get_template(template_name) # You need to create a 404.html template. |
| 79 return http.HttpResponseNotFound(t.render(RequestContext(request, {'request_path': request.path}))) |
| 80 |
| t undefined, global loader = <module 'django.template.loader' from '/home/volsched/django_src/django/template/loader.pyc'>, loader.get_template = <function get_template at 0xaf843994>, template_name = '404.html' |
| /home/volsched/django_src/django/template/loader.py in get_template(template_name='404.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 0xaf84395c>, template_name = '404.html' |
| /home/volsched/django_src/django/template/loader.py in find_template_source(name='404.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 = '404.html' |
<class 'django.template.TemplateDoesNotExist'>: 404.html
args =
('404.html',)
message =
'404.html'