Source: dask
Followup-For: Bug #942235
Control: tags -1 + help

On 2019-10-27 10:03, Drew Parsons wrote:
Fixed upstream, latest version is pushed to the experimental branch.

Needs sphinx-click, which is in the NEW queue.


sphinx-click is now available.

The dask 2.6.0 build from experimental proceeds, but runs into an error when buildings docs with sphinx:

  PYTHONPATH=/home/projects/python/build/dask /usr/bin/make -C docs html
  make[2]: Entering directory '/home/projects/python/build/dask/docs'
  sphinx-build -b html -d build/doctrees   source build/html
  Running Sphinx v1.8.5
  making output directory...
loading intersphinx inventory from /usr/share/doc/python-pandas-doc/html/objects.inv...

  Exception occurred:
File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx.py", line 224, in load_mappings
      name, (uri, inv) = key, value
  ValueError: too many values to unpack (expected 2)


The accompanying error log does not give me more illumination:

# Sphinx version: 1.8.5
# Python version: 3.7.5 (CPython)
# Docutils version: 0.15.2 release
# Jinja2 version: 2.10.1
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 303, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 263, in __init__
    self._init_builder()
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 325, in _init_builder
    self.emit('builder-inited')
File "/usr/lib/python3/dist-packages/sphinx/application.py", line 510, in emit
    return self.events.emit(event, self, *args)
File "/usr/lib/python3/dist-packages/sphinx/events.py", line 80, in emit
    results.append(callback(*args))
File "/usr/lib/python3/dist-packages/sphinx/ext/intersphinx.py", line 224, in load_mappings
    name, (uri, inv) = key, value
ValueError: too many values to unpack (expected 2)


I can't tell if it's an internal error in sphinx, or triggered by dask, so need help with the bug (cc:ing Diane, the dask uploader).

The last output in the build log refers to python-pandas-doc/html/objects.inv. I'm not sure if it means pandas-doc passed successfully, or if it indicates pandas is triggering the ValueError. cc:ing Rebecca (pandas uploader) to ask if she's seen this problem with pandas elsewhere.

Drew

Reply via email to