← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 1068493] Re: Spanish translation FTBFS

 

I don't think that this has to do with href names. Looking around at
similar errors and looking at where the build stops, it seems to me that
this has something to do with the footnote in udd-merging.rst Sure
enough, if you delete the foot note the build is successful.

That said, I still don't really understand the problem. But it is likely
a bug in sphinx. We should be able to work-a-round it though.

-- 
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:
  Spanish translation FTBFS

Status in Ubuntu Packaging Guide:
  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'

  I was able to track down a number of issues in the Spanish
  translation. A diff is available here:
  http://paste.ubuntu.com/1288743/

  Unfortunately I didn't manage to track all of them down.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/1068493/+subscriptions


References