[traceback] jinja2.exceptions:UndefinedError: 'bedrock.mozorg.forums.ForumsFile object' has no attribute 'ordered'

VERIFIED FIXED

Status

--
major
VERIFIED FIXED
3 years ago
3 years ago

People

(Reporter: stephend, Unassigned)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fromAutomation], URL)

(Reporter)

Description

3 years ago
https://www-dev.allizom.org/en-US/about/forums/ throws a 500:

Error message

jinja2.exceptions:UndefinedError: 'bedrock.mozorg.forums.ForumsFile object' has no attribute 'ordered'
Stack trace
Traceback (most recent call last):
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/api/web_transaction.py", line 1329, in _nr_wsgi_application_wrapper_
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/whitenoise/base.py", line 62, in __call__
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/api/web_transaction.py", line 1215, in _nr_wsgi_application_wrapper_
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/hooks/framework_django.py", line 499, in wrapper
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/decorators.py", line 21, in inner
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/views/decorators/http.py", line 148, in inner
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/views/decorators/http.py", line 41, in inner
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/views.py", line 524, in forums_view
File "/data/www/www-dev.allizom.org-django/bedrock/lib/l10n_utils/__init__.py", line 101, in render
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/shortcuts.py", line 50, in render
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/django/template/loader.py", line 178, in render_to_string
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/jingo/__init__.py", line 195, in render
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/newrelic-2.50.0.39/newrelic/api/function_trace.py", line 98, in dynamic_wrapper
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/templates/mozorg/about/forums/forums.html", line 5, in top-level template code
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/templates/mozorg/about-base.html", line 8, in top-level template code
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/templates/mozorg/base-resp.html", line 5, in top-level template code
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/base/templates/base-resp.html", line 149, in top-level template code
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/templates/mozorg/about-base.html", line 26, in block "content"
File "/data/www/www-dev.allizom.org-django/bedrock/bedrock/mozorg/templates/mozorg/about/forums/forums.html", line 51, in block "article"
File "/data/www/www-dev.allizom.org-django/venv/lib/python2.7/site-packages/jinja2/environment.py", line 397, in getattr

New Relic: https://rpm.newrelic.com/accounts/263620/applications/2634040/traced_errors/283139-b10b3f79-6892-11e5-871a-c81f66b8ceca
(Reporter)

Updated

3 years ago
Flags: needinfo?(jmize)
This was another issue due to recent changes to the dev DBs. we have a workaround in place now and the page is working on dev again.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(jmize)
Resolution: --- → FIXED
(Reporter)

Comment 2

3 years ago
Verified FIXED; thanks - 200 OK and the page loads and displays just fine, now.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.