make gettext: 'title' object has no attribute 'uid'

Anonymous avatarAnonymous created an issue

I'm using Sphinx tip, Python 2.7.1, Docutils 0.7, Jinja 2.5.5

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sphinx/", line 173, in main, filenames)
  File "/usr/lib/python2.7/site-packages/sphinx/", line 203, in build
  File "/usr/lib/python2.7/site-packages/sphinx/builders/", line 193, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/site-packages/sphinx/builders/", line 249, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/", line 288, in write
    self.write_doc(docname, doctree)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/", line 70, in write_doc
    self.handle_versioning(docname, doctree, nodes.TextElement)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/", line 64, in handle_versioning
    list(merge_doctrees(old_doctree, doctree, condition))
  File "/usr/lib/python2.7/site-packages/sphinx/", line 64, in merge_doctrees
    new_node.uid = old_node.uid
AttributeError: 'title' object has no attribute 'uid'

Comments (4)

  1. Anonymous

    Removing _build/doctrees fixed it.

    However if I use ``make html`` first and then ``make gettext`` the error appears again. The other way round works. The doctrees are different in either case (dunno whether that's intentional though).

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