[Python-modules-team] Bug#784270: python-docutils: FTBFS: test_invalid_raw_xml fails with TypeError
Dmitry Shachnev
mitya57 at debian.org
Mon May 4 19:04:13 UTC 2015
Source: python-docutils
Version: 0.12+dfsg-1
Severity: serious
python-docutils FTBFS with Python 2.7.9:
======================================================================
ERROR: test_invalid_raw_xml (test_writers.test_docutils_xml.DocutilsXMLTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/python-docutils-0.12+dfsg/test/test_writers/test_docutils_xml.py", line 181, in test_invalid_raw_xml
result = publish_xml(settings, invalid_raw_xml_source)
File "/tmp/buildd/python-docutils-0.12+dfsg/test/test_writers/test_docutils_xml.py", line 127, in publish_xml
settings_overrides=settings)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/core.py", line 414, in publish_string
enable_exit_status=enable_exit_status)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/core.py", line 662, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/writers/__init__.py", line 80, in write
self.translate()
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/writers/docutils_xml.py", line 74, in translate
self.document.walkabout(visitor)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/nodes.py", line 166, in walkabout
visitor.dispatch_visit(self)
File "/tmp/buildd/python-docutils-0.12+dfsg/build/py2/docutils/nodes.py", line 1882, in dispatch_visit
return method(node)
File "/tmp/buildd/python-docutils-0.12+dfsg/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
Full log is available here:
http://mitya57.me/builds/python-docutils_0.12+dfsg-1_amd64.build
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150504/ae3d6224/attachment.sig>
More information about the Python-modules-team
mailing list