[AstroPy] Fail to build documentation for astropy 1.3

Masato Onodera masato.onodera at gmail.com
Wed Jan 25 22:00:16 EST 2017


Hello, 

I'd like to build a documentation of astropy-1.3 to look at it when I'm not connected to the internet.  I followed the instruction (http://docs.astropy.org/en/stable/install.html#building-documentation), but either ways do not work for me producing the following error message (this is for the case of "python setup.py build_docs").  I also tried both python 2.7 and 3.5 and got the same error.   Are there any ideas how to fix this?

Best regards,
Masato Onodera


Running Sphinx v1.5.1
loading pickled environment... not yet created
loading intersphinx inventory from http://docs.python.org/2/objects.inv...
intersphinx inventory has moved: http://docs.python.org/2/objects.inv -> https://docs.python.org/2/objects.inv
loading intersphinx inventory from http://matplotlib.org/objects.inv...
loading intersphinx inventory from http://pandas.pydata.org/pandas-docs/stable/objects.inv...
loading intersphinx inventory from http://ipython.readthedocs.io/en/stable/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/scipy/reference/objects.inv...
intersphinx inventory has moved: http://docs.scipy.org/doc/scipy/reference/objects.inv -> https://docs.scipy.org/doc/scipy/reference/objects.inv
loading intersphinx inventory from http://pytest.org/latest/objects.inv...
intersphinx inventory has moved: http://pytest.org/latest/objects.inv -> http://docs.pytest.org/en/latest/objects.inv
loading intersphinx inventory from http://docs.h5py.org/en/latest/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/numpy/objects.inv...
intersphinx inventory has moved: http://docs.scipy.org/doc/numpy/objects.inv -> https://docs.scipy.org/doc/numpy/objects.inv
loading intersphinx inventory from /Users/monodera/packages/astropy-1.3/astropy_helpers/astropy_helpers/sphinx/local/python2_local_links.inv...
[autosummary] generating autosummary for: analytic_functions/index.rst, changelog.rst, config/config_0_4_transition.rst, config/index.rst, constants/index.rst, convolution/index.rst, convolution/kernels.rst, convolution/using.rst, coordinates/angles.rst, coordinates/definitions.rst, ..., wcs/relax.rst, whatsnew/0.1.rst, whatsnew/0.2.rst, whatsnew/0.3.rst, whatsnew/0.4.rst, whatsnew/1.0.rst, whatsnew/1.1.rst, whatsnew/1.2.rst, whatsnew/1.3.rst, whatsnew/index.rst
[automodsumm] vo/conesearch/index.rst: found 27 automodsumm entries to generate
[automodsumm] time/index.rst: found 30 automodsumm entries to generate
[automodsumm] io/ascii/index.rst: found 55 automodsumm entries to generate
[automodsumm] convolution/index.rst: found 22 automodsumm entries to generate
[automodsumm] stats/index.rst: found 34 automodsumm entries to generate
[automodsumm] vo/samp/index.rst: found 11 automodsumm entries to generate
[automodsumm] constants/index.rst: found 2 automodsumm entries to generate
[automodsumm] nddata/utils.rst: found 9 automodsumm entries to generate
[automodsumm] units/index.rst: found 86 automodsumm entries to generate
[automodsumm] logging.rst: found 3 automodsumm entries to generate
[automodsumm] cosmology/index.rst: found 11 automodsumm entries to generate
[automodsumm] visualization/wcsaxes/index.rst: found 10 automodsumm entries to generate
[automodsumm] io/votable/index.rst: found 33 automodsumm entries to generate
[automodsumm] config/index.rst: found 10 automodsumm entries to generate
[automodsumm] io/misc.rst: found 9 automodsumm entries to generate
[automodsumm] utils/index.rst: found 91 automodsumm entries to generate
[automodsumm] io/registry.rst: found 11 automodsumm entries to generate
[automodsumm] testhelpers.rst: found 13 automodsumm entries to generate
[automodsumm] wcs/index.rst: found 30 automodsumm entries to generate
[automodsumm] table/index.rst: found 22 automodsumm entries to generate
[automodsumm] visualization/index.rst: found 27 automodsumm entries to generate
[automodsumm] coordinates/index.rst: found 69 automodsumm entries to generate
[automodsumm] modeling/index.rst: found 189 automodsumm entries to generate
[automodsumm] nddata/index.rst: found 33 automodsumm entries to generate
[automodsumm] analytic_functions/index.rst: found 2 automodsumm entries to generate
________________________________________________________________________________
Example directory ../examples does not have a README.txt file
Skipping this directory
________________________________________________________________________________
Traceback (most recent call last):
  File "<stdin>", line 39, in <module>
NameError: name 'self' is not defined
Sphinx Documentation subprocess failed with return code 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20170125/7a71d4ff/attachment.html>


More information about the AstroPy mailing list