Closed
Bug 979749
Opened 11 years ago
Closed 8 years ago
/favicon.ico results in 500 error
Categories
(Websites :: Nucleus, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgmize, Assigned: jgmize)
Details
This is the result of two problems: we do not have a favicon.ico, and the 404 template has an error that results in the following traceback:
Traceback (most recent call last):
File "/app/app/vendor/lib/python/django/core/handlers/base.py", line 150, in get_response
response = callback(request, **param_dict)
File "/app/app/vendor/lib/python/django/utils/decorators.py", line 91, in _wrapped_view
response = view_func(request, *args, **kwargs)
File "/app/app/vendor/lib/python/django/views/defaults.py", line 21, in page_not_found
return http.HttpResponseNotFound(t.render(RequestContext(request, {'request_path': request.path})))
File "/app/app/vendor/src/jingo/jingo/__init__.py", line 189, in render
return super(Template, self).render(context_dict)
File "/app/python/lib/python2.7/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "./nucleus/base/templates/404.html", line 5, in top-level template code
<title>{{ _('Page not found') }}</title>
File "/app/app/vendor/src/tower/tower/template.py", line 10, in _gettext_alias
context.resolve('gettext')(string, *args, **kw))
UndefinedError: 'gettext' is undefined
Because of this combination of problems, I now get an email with this traceback basically every time someone visits nucleus.mozilla.org.
Assignee | ||
Updated•11 years ago
|
QA Contact: jmize
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmize
QA Contact: jmize
Updated•11 years ago
|
Priority: -- → P5
Assignee | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•