-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
MkDocs build fails, AttributeError: module 'jinja2' has no attribute 'contextfilter' #9064
Comments
Hi, this is a problem with your dependencies, you need to pin Jinja2 or update your mkdocs version. mkdocs/mkdocs#2799 https://twitter.com/readthedocs/status/1507388916013314048 |
I'm seeing this same message after just having installed Docker on Win11 and running the Tutorial. I recognize this is not the Docker repository, but it is the place that a Bing search for the error message turns up first. For anyone else, it seems the place to look if you are running Docker is The workaround documented there worked for me. |
error: AttributeError: module 'jinja2' has no attribute 'contextfilter' trial solution: readthedocs/readthedocs.org#9064 (comment) made requirements.txt with: https://github.com/bndr/pipreqs
this fixes an issue when building on readthedocs see readthedocs/readthedocs.org#9064
this fixes an issue when building on readthedocs see readthedocs/readthedocs.org#9064
this fixes an issue when building on readthedocs see readthedocs/readthedocs.org#9064
To workaround a known issue with mkdocs: https://linaro.atlassian.net/browse/TFC-306 readthedocs/readthedocs.org#9064 Signed-off-by: Paul Sokolovsky <[email protected]> Change-Id: I9707e4ab692b3357d68c6bcbf3f2f626378dc701
Details
Expected Result
Build should succeed, using the bare minimum configuration for an MkDocs documentation site.
Build has worked previously in the past (2 weeks ago) using the same configuration.
Actual Result
Build using MkDocs fails.
Build logs:
This seems related to #9052 (and maybe pallets/jinja/pull/1544) when doing a search on this repo for
contextfilter
.Some project settings:
This does not appear to impact Sphinx.
The text was updated successfully, but these errors were encountered: