New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encountered unknown tag 'end' #5493
Milestone
Comments
It seems |
Note: It would be nice if we handle the exception and emit better error message. |
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Oct 10, 2018
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Oct 10, 2018
tk0miya
added a commit
that referenced
this issue
Oct 12, 2018
…n_tmpl Fix #5493: gettext: crashed with broken template
Now #5521 is merged. It simply warns about broken templates. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/jinja2/parser.py", line 59, in fail
raise exc(msg, lineno, self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'end'. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.
Procedure to reproduce the problem
Error logs / results
Environment info
The text was updated successfully, but these errors were encountered: