sphinx-doc/sphinx

Generation of text documents for Cython 0.25.2 causes Sphinx to crash with NotImplementedError

Open

#3 613 ouverte le 7 avr. 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (1 985 forks)batch import
builder:texthelp wanted

Métriques du dépôt

Stars
 (5 625 stars)
Métriques de merge PR
 (Merge moyen 10j 11h) (11 PRs mergées en 30 j)

Description

When trying to generate the text documents for Cython 0.25.2, Sphinx 1.5.5 crashes with NotImplementedError

Error logs / results

make text
sphinx-build -b text -d build/doctrees -D latex_paper_size=a4  . build/text
Running Sphinx v1.5.5
WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead.
loading pickled environment... not yet created
WARNING: latex_paper_size is deprecated. Use latex_elements['papersize'] instead.
loading intersphinx inventory from http://docs.python.org/3/objects.inv...
intersphinx inventory has moved: http://docs.python.org/3/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [text]: targets for 49 source files that are out of date
updating environment: 49 added, 0 changed, 0 removed
reading sources... [100%] src/userguide/wrapping_CPlusPlus                                                                                                                                   
/usr/src/build/Cython-0.25.2/docs/src/quickstart/install.rst:63: WARNING: duplicate citation Sage, other instance in /usr/src/build/Cython-0.25.2/docs/src/quickstart/build.rst
/usr/src/build/Cython-0.25.2/docs/src/tutorial/related_work.rst:44: WARNING: duplicate citation Pyrex, other instance in /usr/src/build/Cython-0.25.2/docs/src/quickstart/overview.rst
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [ 24%] src/reference/language_basics                                                                                                                                       
Exception occurred:
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.5.5-py2.7.egg/sphinx/writers/text.py", line 515, in visit_entry
    raise NotImplementedError('Column or row spanning cells are '
NotImplementedError: Column or row spanning cells are not implemented.
The full traceback has been saved in /var/tmp/root/sphinx-err-EX9bqM.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!
Makefile:117: recipe for target 'text' failed
make: *** [text] Error 1

Environment info

  • OS: Debian 8.7 Jessie
  • Python version: 2.7.9
  • Sphinx version: 1.5.5
  • Docutils version: 0.12 release
  • Jinja2 version: 2.7.3

The full traceback: sphinx-err-EX9bqM.txt

I have also reported this problem on the Cython GitHub page.

https://github.com/cython/cython/issues/1665

Guide contributeur