You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For sphinxv6.1.0+ running linkcheck will fail with
Exception occurred:
File ".../lib/python3.10/site-packages/sphinx/util/nodes.py", line 278, in get_node_lineraiseValueError("node line not found")
ValueError: node line not found
For sphinx<6.1.0linkcheck will run as expected and pass without errors.
I don't have a minimal failing example at the moment, so I apologize but I am going to produce a fully reproducible full example, though I know that isn't preferable
How to Reproduce
$ docker run --rm -ti python:3.10 /bin/bashroot@25758314b85b:/# python -m venv venv &&. venv/bin/activate(venv) root@25758314b85b:/# python -m pip --quiet install --upgrade pip setuptools wheel(venv) root@25758314b85b:/# apt-get update && apt-get install -y pandoc(venv) root@25758314b85b:/# git clone https://github.com/scikit-hep/pyhf.git(venv) root@25758314b85b:/# cd pyhf/(venv) root@25758314b85b:/pyhf# python -m pip --quiet install --upgrade .[docs,test](venv) root@25758314b85b:/pyhf# python -m pip list | grep -i sphinxnbsphinx 0.8.11Sphinx 6.1.2sphinx-click 4.4.0sphinx-copybutton 0.5.1sphinx-issues 3.0.1sphinx-rtd-theme 0.5.1sphinx-togglebutton 0.3.2sphinxcontrib.applehelp 1.0.3sphinxcontrib-bibtex 2.5.0sphinxcontrib-devhelp 1.0.2sphinxcontrib-htmlhelp 2.0.0sphinxcontrib-jsmath 1.0.1sphinxcontrib-qthelp 1.0.3sphinxcontrib-serializinghtml 1.1.5(venv) root@25758314b85b:/pyhf# cd docs(venv) root@25758314b85b:/pyhf/docs# make linkcheck...reading sources... [100%] release-notes/v0.7.0 looking for now-outdated files... none foundpickling environment... donechecking consistency... donepreparing documents... donewriting output... [ 91%] index Exception occurred: File "/venv/lib/python3.10/site-packages/sphinx/util/nodes.py", line 280, in get_node_line raise ValueError("node line not found")ValueError: node line not foundThe full traceback has been saved in /tmp/sphinx-err-n3wxneib.log, if you want to report the issue to the developers.Please also report this if it was a user error, so that a better error message can be provided next time.A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!make: *** [Makefile:199: linkcheck] Error 2(venv) root@25758314b85b:/pyhf/docs#
Describe the bug
For
sphinx
v6.1.0+
runninglinkcheck
will fail withwith the following traceback (for Sphinx
v6.1.0
): sphinx-err-is6b_zcu.logFor
sphinx<6.1.0
linkcheck
will run as expected and pass without errors.I don't have a minimal failing example at the moment, so I apologize but I am going to produce a fully reproducible full example, though I know that isn't preferable
How to Reproduce
Environment Information
Sphinx extensions
I haven't produced a minimal set yet, but I can work on it. At the moment the extensions are
Additional context
No response
The text was updated successfully, but these errors were encountered: