sphinx suffers AssertionError and stops

Anonymous avatarAnonymous created an issue

Exception occurred: File "/usr/local/lib/python2.7/dist-packages/docutils/nodes.py", line 692, in replace_self 'Losing "%s" attribute: %s' % (att, self[att]) AssertionError: Losing "ids" attribute: ['nat-ref'] The full traceback has been saved in /tmp/sphinx-err-uq1LjW.log, if you want to report the issue to the developers.

And this is the mentioned file:

# Sphinx version: 1.1.2
# Python version: 2.7.2+
# Docutils version: 0.8.1 release
# Jinja2 version: 2.6
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/cmdline.py", line 189, in main
    app.build(force_all, filenames)
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/application.py", line 204, in build
    self.builder.build_update()
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 196, in build_update
    'out of date' % len(to_build))
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 252, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/builders/__init__.py", line 291, in write
    doctree = self.env.get_and_resolve_doctree(docname, self)
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/environment.py", line 1228, in get_and_resolve_doctree
    self.resolve_references(doctree, docname, builder)
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/environment.py", line 1472, in resolve_references
    self.process_only_nodes(doctree, builder, fromdocname)
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg/sphinx/environment.py", line 1510, in process_only_nodes
    node.replace_self(node.children)
  File "/usr/local/lib/python2.7/dist-packages/docutils/nodes.py", line 692, in replace_self
    'Losing "%s" attribute: %s' % (att, self[att])
AssertionError: Losing "ids" attribute: ['nat-ref']

Comments (3)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.