Issue #1229 on hold

sphinx-build breaks after adding i18n support to project

Anonymous 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/", line 189, in main, filenames)
  File "/usr/lib/pymodules/python2.7/sphinx/", line 200, in build
  File "/usr/lib/pymodules/python2.7/sphinx/builders/", line 159, in build_all, summary='all source files', method='all')
  File "/usr/lib/pymodules/python2.7/sphinx/builders/", line 216, in build
    purple, length):
  File "/usr/lib/pymodules/python2.7/sphinx/builders/", line 120, in status_iterator
    for item in iterable:
  File "/usr/lib/pymodules/python2.7/sphinx/", line 613, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/lib/pymodules/python2.7/sphinx/", line 804, in read_doc
    old_doctree, doctree, self.versioning_condition))
  File "/usr/lib/pymodules/python2.7/sphinx/", 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 (5)

  1. Takayuki Shimizukawa

    I tried buiding gettext for pgrouting with:

    • Python2.7
    • Sphinx-1.1.3
    • using gettext builder

    However, I can't reproduce the issue.

    Sphinx-1.2.x has been released and it contains many bug fix and enhancement for about gettext builder. Please try with a newer version of sphinx. If the issue is reproduced, please inform a detail.


  2. Log in to comment