[Python-Dev] Buildbot failure puzzle
Terry Reedy
tjreedy at udel.edu
Sun Aug 11 02:25:04 CEST 2013
At least the following 3.4 buildbots have failed today with an error I
do not understand: AMD64 FreeBSD, PPC64, x86Ubuntu, x86 WinServer 2003.
Except for the Windows BB, it was the only failure and hence the only
reason to not be green.
ERROR: test_xmlcharnamereplace (test.test_codeccallbacks.CodecCallbackTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/test_codeccallbacks.py",
line 112, in test_xmlcharnamereplace
self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
File
"/home/shager/cpython-buildarea/3.x.edelsohn-powerlinux-ppc64/build/Lib/test/test_codeccallbacks.py",
line 102, in xmlcharnamereplace
l.append("&%s;" % html.entities.codepoint2name[ord(c)])
AttributeError: 'module' object has no attribute 'entities'
test_codeccallbacks.py: lines from 2008-05-17
line 002: import html.entities
...
line 102: l.append("&%s;" % html.entities.codepoint2name[ord(c)])
I checked with an editor and these are the only two appearances of
'html' (so it was not rebound to anything else) and the spellings in the
file are the same. Indeed, the same code has worked on at least some of
the same machines.
--
Terry Jan Reedy
More information about the Python-Dev
mailing list