← Back to team overview

touch-packages team mailing list archive

[Bug 1451533] Re: python-docutils fails to build in trusty with python 2.7.9

 

** Changed in: python2.7 (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1451533

Title:
  python-docutils fails to build in trusty with python 2.7.9

Status in Python:
  Fix Released
Status in python2.7 package in Ubuntu:
  Fix Released
Status in python2.7 package in Debian:
  Fix Released

Bug description:
  seen in a test rebuild with python 2.7.9
  https://launchpad.net/ubuntu/+archive/test-rebuild-20150317/+build/7080449

  ======================================================================
  ERROR: test_invalid_raw_xml (test_writers.test_docutils_xml.DocutilsXMLTestCase)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/build/buildd/python-docutils-0.11/test/test_writers/test_docutils_xml.py", line 181, in test_invalid_raw_xml
      result = publish_xml(settings, invalid_raw_xml_source)
    File "/build/buildd/python-docutils-0.11/test/test_writers/test_docutils_xml.py", line 127, in publish_xml
      settings_overrides=settings)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/core.py", line 414, in publish_string
      enable_exit_status=enable_exit_status)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/core.py", line 662, in publish_programmatically
      output = pub.publish(enable_exit_status=enable_exit_status)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/core.py", line 219, in publish
      output = self.writer.write(self.document, self.destination)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/writers/__init__.py", line 80, in write
      self.translate()
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/writers/docutils_xml.py", line 74, in translate
      self.document.walkabout(visitor)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/nodes.py", line 174, in walkabout
      if child.walkabout(visitor):
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/nodes.py", line 174, in walkabout
      if child.walkabout(visitor):
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/nodes.py", line 166, in walkabout
      visitor.dispatch_visit(self)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/nodes.py", line 1882, in dispatch_visit
      return method(node)
    File "/build/buildd/python-docutils-0.11/build/py2/docutils/writers/docutils_xml.py", line 184, in visit_raw
      col_num, line_num, node.astext())
  TypeError: %d format: a number is required, not NoneType

  ----------------------------------------------------------------------
  Ran 1239 tests in 6.543s

  FAILED (errors=1)
  Elapsed time: 7.075 seconds
  make: *** [build-stamp] Error 123

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