New issue
Advanced search Search tips

Issue 730113 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 725720
Owner: ----
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

AFE is missing template for 500 errors.

Project Member Reported by dgarr...@chromium.org, Jun 6 2017

Issue description

error.log on cautotest is full of these errors:

[Sun Jun 04 09:55:38.285275 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535] mod_wsgi (pid=20134): Exception occurred processing WSGI script '/usr/local/autotest/frontend/frontend.wsgi'.
[Sun Jun 04 09:55:38.285441 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535] Traceback (most recent call last):
[Sun Jun 04 09:55:38.285504 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/frontend/frontend.wsgi", line 23, in application
[Sun Jun 04 09:55:38.285659 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     return _application(environ, start_response)
[Sun Jun 04 09:55:38.285734 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/site-packages/django/core/handlers/wsgi.py", line 255, in __call__
[Sun Jun 04 09:55:38.286049 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     response = self.get_response(request)
[Sun Jun 04 09:55:38.286091 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/site-packages/django/core/handlers/base.py", line 178, in get_response
[Sun Jun 04 09:55:38.286149 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Sun Jun 04 09:55:38.286182 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/site-packages/django/core/handlers/base.py", line 224, in handle_uncaught_exception
[Sun Jun 04 09:55:38.286232 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     return callback(request, **param_dict)
[Sun Jun 04 09:55:38.286264 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/frontend/afe/views.py", line 85, in handler500
[Sun Jun 04 09:55:38.286429 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     t = loader.get_template('500.html')
[Sun Jun 04 09:55:38.286467 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/site-packages/django/template/loader.py", line 146, in get_template
[Sun Jun 04 09:55:38.286726 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     template, origin = find_template(template_name)
[Sun Jun 04 09:55:38.286766 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]   File "/usr/local/autotest/site-packages/django/template/loader.py", line 139, in find_template
[Sun Jun 04 09:55:38.286838 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535]     raise TemplateDoesNotExist(name)
[Sun Jun 04 09:55:38.286884 2017] [:error] [pid 20134:tid 140671457064704] [remote 172.24.26.29:58535] TemplateDoesNotExist: 500.html


Creating the template file is easy, and would fix this exception, and probably lead to a more useful error message in the log.
 
Mergedinto: 725720
Status: Duplicate (was: Untriaged)
Duplicate of 725720

Sign in to add a comment