Documentation building fails
See original GitHub issueDescription
make html
and make html-noplot
fails on docs/
Steps/Code to Reproduce
cd docs
make html
Expected Results
Should build without errors
Actual Results
Sphinx version: 1.4.4 Python version: 2.7.6 (CPython) Docutils version: 0.11 release Jinja2 version: 2.7.2 Last messages:
Loaded extensions: Traceback (most recent call last): File “/usr/local/lib/python2.7/dist-packages/sphinx/cmdline.py”, line 243, in main opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File “/usr/local/lib/python2.7/dist-packages/sphinx/application.py”, line 204, in init self._init_builder(self.buildername) File “/usr/local/lib/python2.7/dist-packages/sphinx/application.py”, line 280, in _init_builder self.emit(‘builder-inited’) File “/usr/local/lib/python2.7/dist-packages/sphinx/application.py”, line 552, in emit results.append(callback(self, *args)) File “/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_gallery.py”, line 119, in generate_gallery_rst File “/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py”, line 464, in generate_dir_rst File “/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py”, line 669, in generate_file_rst File “/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py”, line 441, in save_thumbnail File “/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/gen_rst.py”, line 379, in scale_image File “/usr/local/lib/python2.7/dist-packages/PIL/Image.py”, line 2410, in open fp = builtins.open(filename, “rb”) IOError: [Errno 2] No such file or directory: ‘/home/rameshwar/Open-Source/scikit-learn/doc/sphinxext/sphinx_gallery/_static/no_image.png’
Versions
Linux-3.19.0-42-generic-x86_64-with-Ubuntu-14.04-trusty ‘Python’, ‘2.7.6 (default, Oct 26 2016, 20:30:19) \n[GCC 4.8.4]’ ‘NumPy’, ‘1.11.1’ ‘SciPy’, ‘0.13.3’ ‘Scikit-Learn’, ‘0.19.0’
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
Glad you got it working, closing.
doc/sphinxext/numpy_ext
anddoc/sphinxext/sphinx_gallery
folders don’t exist in master any more so there is no point deleting them inmake clean
.The problem @lesteve is that if there are files left in those directories, git won’t remove them upon checkout. They can then interfere with doc building.
We’ve previously cleaned up reminded directories in sklearn for this reason. Could do same for doc. To be safe could only remove pyc and similar files.