Closed dstansby closed 2 years ago
An example of the same failure on CI in the aiapy package: https://gitlab.com/wtbarnes/aiapy/-/jobs/594604251#L92
In this case, we're using tox -e build_docs
to invoke sphinx-build
.
This is with:
Sphinx==3.1.1
sphinx-automodapi==0.12
I've opened https://github.com/sphinx-doc/sphinx/issues/7868 to see if there's a way to get sphinx to print any more useful info to debug this.
Quick update, not sure what's causing the crash yet, but I've put in a PR to sphinx to fix a bug that was preventing the original error message being displayed.
I see it too on local Debian but not on Travis CI.
I might have found an answer. I installed the missing dependencies required for the package doc to build (for core astropy, see astropy/sphinx-astropy#21) and then the build process got past this cryptic error.
Given that now Sphinx is 4+ and Sphinx 3.x has gone beyond 3.1, I am closing this as won't fix.
Running
make html
withautomodapi
andsphinx
3.1.0 or 3.1.1 raises the following error:Sorry this isn't more helpful - I'm not sure what else to do/debug. Downgrading sphinx to 3.0.4 fixes the issue.