ubuntu-packaging-guide-team team mailing list archive
-
ubuntu-packaging-guide-team team
-
Mailing list archive
-
Message #01203
[Bug 1068493] Re: Spanish translation FTBFS
Unfortunately raring is not easy to be fixed. Just adding python3.3
won't fix it. For now I'll go ahead with the 12.04 and 12.10 builds of
sphinx which have the i18n fix included, so we can offer PPA users of
those releases a nicely translated packaging guide and also offer it
online on developer.u.c
Any help with fixing 13.04 and 11.10 is appreciated.
--
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 Sphinx:
New
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'
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/sphinx/+bug/1068493/+subscriptions
Follow ups
References