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
AssertionError: Tried to resolve a name to a reference that was unknown to the frame #1427
Milestone
Comments
@amy-lei want to take a look at this one? |
colmjude
added a commit
to digital-land/brownfield-site
that referenced
this issue
May 13, 2021
There is an issue with [Jinja 3](pallets/jinja#1427)
matthew-shaw
added a commit
to LandRegistry/govuk-frontend-jinja
that referenced
this issue
May 21, 2021
psd
added a commit
to digital-land/frontend
that referenced
this issue
Jun 3, 2021
There is an issue with [Jinja 3](pallets/jinja#1427)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi folks! Thanks for shipping a new release with fantastic type annotations - very much looking forward to that. :)
I've just tried upgrading, but I'm running in the following regression on the way:
repro.jinja2
Jinja 2.11.3
Jinja 3.0.0
I've skimmed the Changelog, but couldn't identify anything that may point me in the right direction. The traceback is a bit above my head. Please let me know if I can help with anything else! 😃
Edit: Workaround
It's possible to convince Jinja2 that everything is ok by first defining the inner loop variable:
Environment:
The text was updated successfully, but these errors were encountered: