← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[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 <mitya57@xxxxxxxxxx>   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
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:
  Fix Released

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