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.

classification
Title: :Class: causes exception
Type: Stage:
Components: Documentation tools (Sphinx) Versions:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, ianb
Priority: normal Keywords:

Created on 2008-10-06 19:10 by ianb, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg74385 - (view) Author: Ian Bicking (ianb) * Date: 2008-10-06 19:10
I used a reference like :Class:`something` (note the capitalization) and
got this exception:

Traceback (most recent call last):
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/__init__.py",
line 135, in main
    app.builder.build_update()
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/builder.py", line
201, in build_update
    summary='targets for %d source files that are '
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/builder.py", line
241, in build
    self.write(docnames, updated_docnames, method)
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/builder.py", line
276, in write
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/environment.py",
line 779, in get_and_resolve_doctree
    self.resolve_references(doctree, docname, builder)
  File
"/home/ianb/src/env/lib/python2.4/site-packages/sphinx/environment.py",
line 998, in resolve_references
    raise RuntimeError('unknown xfileref node encountered: %s' % node)
RuntimeError: unknown xfileref node encountered: <pending_xref classname
modname refcaption="False" reftarget="deliverance.rules.Drop"
reftype="Class"><literal
classes="xref">deliverance.rules.Drop</literal></pending_xref>
msg74534 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-10-08 16:45
[Sphinx issues are now tracked at http://code.google.com/p/sphinx --
moved the issue there.]
History
Date User Action Args
2022-04-11 14:56:40adminsetgithub: 48306
2008-10-08 16:45:59georg.brandlsetstatus: open -> closed
resolution: duplicate
messages: + msg74534
2008-10-06 19:10:39ianbcreate