This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ras
Recipients docs@python, ras
Date 2013-04-13.07:18:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365837524.98.0.624427340429.issue17709@psf.upfronthosting.co.za>
In-reply-to
Content
.. topic:: http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

  A bug report for Python 2.7's docs.

.. _intro:

Bug
===

Running::

  sphinx-build -c conf2.7 -n -b html -E . html

Produces::

  Running Sphinx v1.1.3
  loading intersphinx inventory from http://docs.python.org/2.7/objects.inv...
  building [html]: targets for 1 source files that are out of date
  updating environment: 1 added, 0 changed, 0 removed
  reading sources... [100%] bug                                                                             
  looking for now-outdated files... none found
  pickling environment... done
  checking consistency... done
  preparing documents... done
  writing output... [100%] bug                                                                              
  /home/rstuart/zzz/bug.rst:1: WARNING: py:exc reference target not found: Exception
  /home/rstuart/zzz/bug.rst:1: WARNING: py:func reference target not found: repr
  writing additional files... genindex search
  copying static files... done
  dumping search index... done
  dumping object inventory... done
  build succeeded, 2 warnings.

Note the ``WARNING`` lines.  They should not be there.

Running::

  sphinx-build -c conf3.2 -b html -n -E . html

Produces::

  Running Sphinx v1.1.3
  loading intersphinx inventory from http://docs.python.org/3.2/objects.inv...
  building [html]: targets for 1 source files that are out of date
  updating environment: 1 added, 0 changed, 0 removed
  reading sources... [100%] bug                                                                             
  looking for now-outdated files... none found
  pickling environment... done
  checking consistency... done
  preparing documents... done
  writing output... [100%] bug                                                                              
  writing additional files... genindex search
  copying static files... done
  dumping search index... done
  dumping object inventory... done
  build succeeded.

I presume this means something is wrong with 
http://docs.python.org/2.7/objects.inv it downloads.

``conf2.7.py``:

  .. include:: conf2.7/conf.py
    :literal:

``conf3.2.py``:

  .. include:: conf3.2/conf.py
    :literal:
History
Date User Action Args
2013-04-13 07:18:45rassetrecipients: + ras, docs@python
2013-04-13 07:18:44rassetmessageid: <1365837524.98.0.624427340429.issue17709@psf.upfronthosting.co.za>
2013-04-13 07:18:44raslinkissue17709 messages
2013-04-13 07:18:44rascreate