-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Sphinx 3.5 says "copying static files... failed" and "WARNING: cannot copy static file FileNotFoundError(2, 'No such file or directory')" #8882
Comments
I reproduce the issue with Python 3.6.8, but not with 3.7.5 nor with 3.8.7. Also, the issue arises when building for either French or German versions, not English, as I determined by issueing separated build commands directly (rather than via side note: at my old mac os, the build of Pillow fails with missing library error during gcc execution. So I commented out two lines from docs/conf.py. -extensions += ['lino.sphinxcontrib.logo']
-extensions += ['lino.sphinxcontrib.base'] # for tcname
+# extensions += ['lino.sphinxcontrib.logo']
+# extensions += ['lino.sphinxcontrib.base'] # for tcname only to be able to test and as this reproduced the same error message you reported I decided to include this information. |
arrrgggh sorry. In fact my virtual environments for Python 3.7 and 3.8 had an editable install of Sphinx from a clone of the repo. Whereas the Python 3.6 environment has a "pip install sphinx". So maybe there is packaging problem. Sorry again for misleading information. |
The pip packaged Sphinx is lacking sphinx/search/minified-js directory, it only has sphinx/search/non-minified-js. I see now some other issues have been raised to this effect... cf #8886 |
Indeed now that you mentioned it: the error happens in all my non-english doctrees! |
I believe this is fixed now by #8886. Thank you for reporting as always! |
Describe the bug
After upgrading to Sphinx 3.5, sphinx-build says "copying static files... failed" and "WARNING: cannot copy static file FileNotFoundError(2, 'No such file or directory')" in some of my repositories. I guess that something has changed or become more severe and that my configs need some change... but what change? The warning is not helpful.
To Reproduce
Steps to reproduce the behavior:
Output:
Environment info
About this project
I maintain a few dozen of Sphinx doctrees in different repositories. I have similar errors in several (but not all) of my repositories. This particular project is the source code of https://community.lino-framework.org
The text was updated successfully, but these errors were encountered: