#4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 5 years, 2 months ago by Luc Saffre about #4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html) : adapted docs/specs/ajax.rst because now we no longer use our own 400.html
- 5 years, 2 months ago by Sharif Mehedi about #4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html) : Indeed, removing the 4*.html, 500.html also removes the meaningless log about bootstrap3/base.html.
- 5 years, 2 months ago by Sharif Mehedi about #4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html) : To reproduce something like this, after trying a few situations I figured that putting the following line of code: `f = open('non-existing-file.txt', 'r')` where we want the server to break does the trick.
- 5 years, 2 months ago by Luc Saffre about #4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html) : We can reproduce this problem (or at least something similar) by setting DEBUG=False in the the demo noi1r settings. The solution might be to simply remove our files lino/config/500.html and 4*.html. We should have, in the "manual tests" suite of the developers docs, a list of ways how to intentiona...
- 5 years, 2 months ago by Luc Saffre about #4287 (jinja2.exceptions.TemplateNotFound: bootstrap3/base.html) : The original problem is unrelated, but here it's about that the rerror isn't being reported.