sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.22k stars 2.04k forks source link

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

Open Corin-EU opened 7 years ago

Corin-EU commented 7 years ago

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

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

tk0miya commented 7 years ago

Sorry for inconvenience. Current text builder does not support spanning cells.