[New-bugs-announce] [issue17709] http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`

Russell Stuart report at bugs.python.org
Sat Apr 13 09:18:44 CEST 2013


New submission from Russell Stuart:

.. 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:

----------
assignee: docs at python
components: Documentation
files: bug.rst
messages: 186697
nosy: docs at python, ras
priority: normal
severity: normal
status: open
title: http://docs.python.org/2.7/objects.inv doesn't support :func:`repr` or :exc:`Exception`
versions: Python 2.7
Added file: http://bugs.python.org/file29794/bug.rst

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17709>
_______________________________________


More information about the New-bugs-announce mailing list