Puzzling traceback when python -msphinx.ext.intersphinx
is used with an invalid url
#5320
Labels
Milestone
python -msphinx.ext.intersphinx
is used with an invalid url
#5320
Subject: Puzzling traceback when
python -msphinx.ext.intersphinx
is used with an invalid urlProblem
When running e.g.
python -msphinx.ext.intersphinx https://www.sphinx-doc.org/
, one gets a rather puzzling traceback:Yes, I know that the correct invocation is
python -msphinx.ext.intersphinx/objects.inv
, but it looks like something went wrong in the formatting of the error reporting (one would expect an error message ending with something like "intersphinx inventory ... not readable due to ..." but not and error while formatting that message...).Procedure to reproduce the problem
See above.
Error logs / results
See above.
Expected results
See above. Alternatively, it may be worth trying
url/objects.inv
wheneverurl
fails to be loaded correctly as an intersphinx db (or at least whenever url doesn't end withobjects.inv
, as I think it is expected that it always has that name?), especially as this is consistent with how the url is specified in conf.py (without the trailingobjects.inv
).Reproducible project / your project
N/A
Environment info
The text was updated successfully, but these errors were encountered: