-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
[Doc] Doc/tools/extensions/glossary_search.py fails with FileNotFoundError if the _static/ directory doesn't exist #87944
Comments
Doc/tools/extensions/glossary_search.py failed multiple times on my doc PR: The fail is not deterministic (random error, timing issue?), it depends if the directory was already created by something else or not. Error on the Docs PR job of the Azure Pipeline: Error on Travis CI: Extension error: Handler <function on_build_finish at 0x7f6ed4c6abf8> for event 'build-finished' threw an exception (exception: [Errno 2] No such file or directory: '/home/travis/build/python/cpython/Doc/build/html/_static/glossary.json') Makefile:49: recipe for target 'build' failed Attached PR fix the extension: create the directory if it doesn't exists. |
Python 3.9 is not affected, this Sphinx extension is new in Python 3.10. By the way, I like this feature! The new " Glossary: borrowed reference " block in: https://docs.python.org/3.10/search.html?q=borrowed+reference |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: