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/cmdline.py", line 173, in main
    app.build(force_all, filenames)
  File "/usr/lib/python2.7/site-packages/sphinx/application.py", line 203, in build
    self.builder.build_update()
  File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 193, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 249, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/__init__.py", line 288, in write
    self.write_doc(docname, doctree)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/intl.py", line 70, in write_doc
    self.handle_versioning(docname, doctree, nodes.TextElement)
  File "/usr/lib/python2.7/site-packages/sphinx/builders/versioning.py", line 64, in handle_versioning
    list(merge_doctrees(old_doctree, doctree, condition))
  File "/usr/lib/python2.7/site-packages/sphinx/versioning.py", 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 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.