sphinx-build breaks after adding i18n support to project

Anonymous avatarAnonymous created an issue

Our project just added i18n support and now sphinx-build is blowing up with:

[ 53%] SPHINX build finished. The message catalogs are in /home/woodbri/work/pgrouting/doc/i18n/pot.
Running Sphinx v1.1.3
loading translations [en]... locale not available
building [gettext]: all source files
updating environment: 46 added, 0 changed, 0 removed
reading sources... [  2%] doc/index
Exception occurred:
  File "/usr/lib/pymodules/python2.7/sphinx/cmdline.py", line 189, in main
    app.build(force_all, filenames)
  File "/usr/lib/pymodules/python2.7/sphinx/application.py", line 200, in build
    self.builder.build_all()
  File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py", line 159, in build_all
    self.build(None, summary='all source files', method='all')
  File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py", line 216, in build
    purple, length):
  File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py", line 120, in status_iterator
    for item in iterable:
  File "/usr/lib/pymodules/python2.7/sphinx/environment.py", line 613, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/lib/pymodules/python2.7/sphinx/environment.py", line 804, in read_doc
    old_doctree, doctree, self.versioning_condition))
  File "/usr/lib/pymodules/python2.7/sphinx/versioning.py", line 63, in merge_doctrees
    new_node.uid = old_node.uid
AttributeError: 'comment' object has no attribute 'uid'

I have not idea what to look for to resolve this issue.

Comments (1)

  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.