Skip to content

[Regression] sphinx shows an EOF error when using python2.7 from the trunk #75199

Closed

Description

@doko42
BPO 31016
Nosy @doko42, @pitrou, @vstinner, @benjaminp

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 = None
closed_at = <Date 2017-09-16.17:35:58.196>
created_at = <Date 2017-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 = <Date 2017-09-18.06:56:47.362>
user = 'https://github.com/doko42'

bugs.python.org fields:

activity = <Date 2017-09-18.06:56:47.362>
actor = 'vstinner'
assignee = 'none'
closed = True
closed_date = <Date 2017-09-16.17:35:58.196>
closer = 'benjamin.peterson'
components = ['Library (Lib)']
creation = <Date 2017-07-24.15:05:43.075>
creator = 'doko'
dependencies = []
files = []
hgrepos = []
issue_num = 31016
keywords = []
message_count = 5.0
messages = ['298980', '302260', '302322', '302346', '302410']
nosy_count = 4.0
nosy_names = ['doko', 'pitrou', 'vstinner', 'benjamin.peterson']
pr_nums = []
priority = 'release blocker'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue31016'
versions = ['Python 2.7']

Activity

  1. doko42 commented on Jul 24, 2017

    @doko42
    MemberAuthor

    [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

  2. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Jul 24, 2017
  3. vstinner commented on Sep 15, 2017

    @vstinner
    Member

    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

  4. benjaminp commented on Sep 16, 2017

    @benjaminp
    Contributor

    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!).

  5. benjaminp commented on Sep 16, 2017

    @benjaminp
    Contributor

    wontfixing since Sphinx has fixed their code.

  6. vstinner commented on Sep 18, 2017

    @vstinner
    Member

    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.

  7. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release-blockerstdlibStandard Library Python modules in the Lib/ directory

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions