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
{{ message }}
Repository navigation
[Regression] sphinx shows an EOF error when using python2.7 from the trunk #75199
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:
assignee=Noneclosed_at=<Date2017-09-16.17:35:58.196>created_at=<Date2017-07-24.15:05:43.075>labels= ['invalid', 'library', 'release-blocker']
title='[Regression] sphinx shows an EOF error when using python2.7 from the trunk'updated_at=<Date2017-09-18.06:56:47.362>user='https://github.com/doko42'
[forwarded from https://bugs.debian.org/869098 and]
sphinx shows an EOF error when using python2.7 from the trunk. Last successful build was with the 2.7.13 release.
It looks like this is triggered only when using the parallel mode in sphinx. I haven't yet worked on this issue, Sphinx is v1.4.9.
sphinx-build -b html -d _build/doctrees -n -j 4 . _build/html
Running Sphinx v1.4.9
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests
waiting for workers...
Exception occurred:
File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
exc, result = pipe.recv()
EOFError
This seems like a bug, or least poor design, in Sphinx. It tries to read from pipes from processes that it knows are already dead (because it joined them!).
FYI The bug has been fixed in the Sphinx development branch (HEAD of master): sphinx-doc/sphinx#4061 (comment) I validated that Sphinx master now works as expected on Python 2.7.14.
Activity
doko42 commentedon Jul 24, 2017
[forwarded from https://bugs.debian.org/869098 and]
sphinx shows an EOF error when using python2.7 from the trunk. Last successful build was with the 2.7.13 release.
It looks like this is triggered only when using the parallel mode in sphinx. I haven't yet worked on this issue, Sphinx is v1.4.9.
sphinx-build -b html -d _build/doctrees -n -j 4 . _build/html
Running Sphinx v1.4.9
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests
waiting for workers...
Exception occurred:
File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
exc, result = pipe.recv()
EOFError
vstinner commentedon Sep 15, 2017
Using git bisect, I identified that Sphinx started to fail since the commit 12536bd which comes from bpo-30775.
I reported the bug to Sphinx:
sphinx-doc/sphinx#4061
benjaminp commentedon Sep 16, 2017
This seems like a bug, or least poor design, in Sphinx. It tries to read from pipes from processes that it knows are already dead (because it joined them!).
benjaminp commentedon Sep 16, 2017
wontfixing since Sphinx has fixed their code.
vstinner commentedon Sep 18, 2017
FYI The bug has been fixed in the Sphinx development branch (HEAD of master): sphinx-doc/sphinx#4061 (comment) I validated that Sphinx master now works as expected on Python 2.7.14.