← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 1068493] Re: Can't build html with footnotes when using i18n

 

It seems that the issue described in comment 20 is (at least partially)
caused by the patch. We have discussed this with Jakub Wilk (Debian
maintainer of Sphinx) and decided to not apply the patch until that
issue is resolved. I've commented on the upstream bug already.

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/1068493

Title:
  Can't build html with footnotes when using i18n

Status in Sphinx:
  Fix Committed
Status in Ubuntu Packaging Guide:
  Triaged
Status in “sphinx” package in Ubuntu:
  Triaged

Bug description:
  To reproduce the issue, first do the following:

   - ./debian/scripts/add-languages
   - bzr unknowns | xargs bzr add
   - bzr bd

  You should get the following sphinx crash at the end:
  Exception occurred:
    File "/usr/lib/python2.7/dist-packages/sphinx/builders/html.py", line 419, in write_doc
      self.docwriter.write(doctree, destination)
    File "/usr/lib/python2.7/dist-packages/docutils/writers/__init__.py", line 77, in write
      self.translate()
    File "/usr/lib/python2.7/dist-packages/sphinx/writers/html.py", line 38, in translate
      self.document.walkabout(visitor)
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 173, in walkabout
      if child.walkabout(visitor):
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 165, in walkabout
      visitor.dispatch_visit(self)
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 1604, in dispatch_visit
      return method(node)
    File "/usr/lib/python2.7/dist-packages/docutils/writers/html4css1/__init__.py", line 957, in visit_footnote_reference
      href = '#' + node['refid']
    File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 534, in __getitem__
      return self.attributes[key]
  KeyError: 'refid'

  Status in    PPA    / Ubuntu:

   - Raring:   Broken / Broken
   - Quantal:  Fixed  / Broken
   - Precise:  Fixed  / Broken
   - Oneiric:  Broken / Broken

  We will need to put some work into backporting the Upstream fix to PPA
  and Ubuntu to get Spanish translations (and others) in.

  Upstream bug: https://bitbucket.org/birkenfeld/sphinx/issue/955/cant-
  build-html-with-footnotes-when-using

To manage notifications about this bug go to:
https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions


References