Closed
Bug 1810787
Opened 3 years ago
Closed 3 years ago
[traceback] "dict object has no attribute 'build'" in report view
Categories
(Socorro :: Webapp, defect, P2)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
Sentry: https://sentry.io/organizations/mozilla/issues/3829547890/
Traceback:
UndefinedError: 'dict object' has no attribute 'build'
File "django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "crashstats/crashstats/decorators.py", line 151, in inner
response = view(request, *args, **kwargs)
File "csp/decorators.py", line 19, in _wrapped
r = f(*a, **kw)
File "crashstats/crashstats/decorators.py", line 101, in inner
return view(request, *args, **kwargs)
File "crashstats/crashstats/views.py", line 297, in report_index
content = loader.render_to_string("crashstats/report_index.html", context, request)
File "django/template/loader.py", line 62, in render_to_string
return template.render(context, request)
File "django_jinja/backend.py", line 59, in render
return mark_safe(self._process_template(self.template.render, context, request))
File "django_jinja/backend.py", line 105, in _process_template
return handler(context)
File "jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/app/webapp-django/crashstats/crashstats/jinja2/crashstats/report_index.html", line 14, in top-level template code
{% extends "crashstats_base.html" %}
File "/app/webapp-django/crashstats/crashstats/jinja2/crashstats_base.html", line 150, in top-level template code
{% block content %}{% endblock %}
File "/app/webapp-django/crashstats/crashstats/jinja2/crashstats/report_index.html", line 203, in block 'content'
<span class="humanized">({{ report.build | buildid_to_date }})</span>
Example: https://crash-stats.mozilla.org/report/index/2dcd0877-00cb-4b48-8a80-8f8370221214
| Assignee | ||
Updated•3 years ago
|
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•3 years ago
|
||
Here's another one: 277035a0-76d4-4c30-a6ec-bbdb30230113
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
I deployed this just now in bug #1819758. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•