[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Branch linked: lp:~mitya57/ubuntu/precise/sphinx/lp1068493 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
Attached two SRU branches. I would prefer to wait for bug 1008537 to be fixed, but this has already been delayed for a long time, so we can upload it now and hope it won't fail to build. ** Description changed: + == Impact == + * Many projects using l10n module are affected. + + == Development Fix == + * Fixed upstream. + * Fixed in Debian experimental (since 1.1.3+dfsg-6). + * Fixed in Ubuntu raring (since 1.1.3+dfsg-7ubuntu1). + + == Stable Fix == + Bzr branches for both quantal and precise are attached. + + == Test Case == + * bzr branch lp:ubuntu-packaging-guide; + * make html-es; + * check that it builds correctly (there may be some warnings though); + * open _build/html/es/python-packaging.html, check that external links work. + + == Regression Potential == + * Upstream test suite added new tests for these issues. + * All existing tests pass as well. + + == + 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 inPPA/ 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 ** Branch linked: lp:~mitya57/ubuntu/quantal/sphinx/lp1068493 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Branch linked: lp:~ubuntu-branches/debian/experimental/ubuntu- packaging-guide/experimental -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
http://developer.ubuntu.com/resources/tools/packaging/ hablo Español! :-D Announce to follow in a bit. Getting this into Ubuntu and backporting it will be a bit harder, but we should look into it. ** Changed in: ubuntu-packaging-guide Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Branch linked: lp:~dholbach/ubuntu-packaging-guide/enable-spanish -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Changed in: ubuntu-packaging-guide Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Changed in: sphinx (Ubuntu) Status: Triaged = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Branch linked: lp:ubuntu/raring-proposed/sphinx -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
This bug was fixed in the package sphinx - 1.1.3+dfsg-5ubuntu1 --- sphinx (1.1.3+dfsg-5ubuntu1) raring; urgency=low * Merge with Debian packaging SVN. - This brings in fix for LP: #1068493. * Remaining Ubuntu changes: - Switch to dh_python2. - debian/rules: export NO_PKG_MANGLE=1 in order to not have translations stripped. - debian/rules: Modify xvfb-run to use auto-servernum flag (fixes FTBFS). - debian/control: Drop the dependency on python-whoosh. - debian/control: Add XS-Testsuite: autopkgtest header. - debian/patches/fix_manpages_generation_with_new_docutils.diff: Fix FTBFS with the new python-docutils package. sphinx (1.1.3+dfsg-6) UNRELEASED; urgency=low [ Jakub Wilk ] * DEP-8 tests: remove “Features: no-build-needed”; it's the default now. * Bump standards version to 3.9.4; no changes needed. [ Dmitry Shachnev ] * debian/patches/l10n_fixes.diff: fix crashes and not working external links in l10n mode (closes: #691719). sphinx (1.1.3+dfsg-5) experimental; urgency=low [ Jakub Wilk ] * DEP-8 tests: use $ADTTMP. * dh_sphinxdoc: ignore comments when analysing HTML files (closes: #682850). Thanks to Dmitry Shachnev for the bug report. * Add dvipng to Suggests (closes: #687273). Thanks to Matthias Klose for the bug report. * Set PYTHONHASHSEED=random in debian/rules and in DEP-8 tests. * Backport upstream patch to fix encoding issues in test_build_html. Now that this is fixed, stop running Python 3 tests under LC_ALL=C. * Make “debian/rules binary-arch” no-op. * Update version number in the sphinx-autogen manpage. * Improve dh_sphinxdoc: + Fix the --tmpdir option. Thanks to Andriy Senkovych for the bug report. + Ignore references to JavaScript code that start with an URI scheme. Thanks to Dmitry Shachnev for the bug report. + Strip query (?...) and fragment (#...) components from JavaScript references. Thanks to Dmitry Shachnev for the bug report. * Sort stopwords in searchtools.js. Thanks to Dmitry Shachnev for the bug report. * Fix compatibility with Python 3.3. Thanks to Dmitry Shachnev for the bug report and hunting down the upstream patch. [ Dmitry Shachnev ] * Update Homepage field to point to http://sphinx-doc.org/. * Build-depend of python3-all instead of python3. -- Dmitry Shachnev mity...@ubuntu.com Tue, 27 Nov 2012 19:20:44 +0400 ** Changed in: sphinx (Ubuntu) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1068493] Re: Can't build html with footnotes when using i18n
** Branch linked: lp:~mitya57/ubuntu/raring/sphinx/1.1.3+dfsg-5ubuntu1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1068493 Title: Can't build html with footnotes when using i18n To manage notifications about this bug go to: https://bugs.launchpad.net/sphinx/+bug/1068493/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs