throws an error
Summary
Details (only available in development environment, add query argument ‘traceback’ to url to get in production)
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/cherrypy/_cprequest.py”, line 670, in respond
response.body = self.handler()
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/cherrypy/lib/encoding.py”, line 217, in call
self.body = self.oldhandler(*args, **kwargs)
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/cherrypy/_cpdispatch.py”, line 61, in call
return self.callable(*self.args, **self.kwargs)
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/newrelic-2.54.0.41/newrelic/hooks/framework_cherrypy.py”, line 70, in handler_wrapper
return wrapped(*args, **kwargs)
File “/home/sc-staging/suttacentral/sc/root.py”, line 64, in default
return show.default(*args, **kwargs)
File “/home/sc-staging/suttacentral/sc/show.py”, line 186, in default
return TextView(uid, lang_code, canonical).render()
File “/home/sc-staging/suttacentral/sc/views.py”, line 249, in render
string = template.render(dict(context))
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/newrelic-2.54.0.41/newrelic/api/function_trace.py”, line 98, in dynamic_wrapper
return wrapped(*args, **kwargs)
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/jinja2/environment.py”, line 989, in render
return self.environment.handle_exception(exc_info, True)
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/jinja2/environment.py”, line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/jinja2/_compat.py”, line 37, in reraise
raise value.with_traceback(tb)
File “/home/sc-staging/suttacentral/templates/text.html”, line 1, in top-level template code
{% extends “base.html” -%}
File “/home/sc-staging/suttacentral/templates/base.html”, line 59, in top-level template code
{% block content %}{% endblock %}
File “/home/sc-staging/suttacentral/templates/text.html”, line 17, in block “content”
{% include “sidebar.html” with context %}
File “/home/sc-staging/suttacentral/templates/sidebar.html”, line 87, in top-level template code
{% set classes = ([‘offsite’] if offsite else )
File “/home/sc-staging/.pyenv/versions/suttacentral/lib/python3.5/site-packages/jinja2/environment.py”, line 408, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: ‘None’ has no attribute ‘collection’
browser returns
Summary
unreachable code after return statement core-f704ccdc.js:149
unreachable code after return statement core-f704ccdc.js:284
unreachable code after return statement core-f704ccdc.js:457:166
unreachable code after return statement core-f704ccdc.js:493
Hiding dropdowns core-f704ccdc.js:116:34
Panel Data : 11645 core-f704ccdc.js:452:130