Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 167912 Details for
Bug 241156
dev-python/lxml-2.1.1 tests fail with libxml2-2.7.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test failure output
fail.txt (text/plain), 12.97 KB, created by
Rob Cakebread (RETIRED)
on 2008-10-10 20:15:29 UTC
(
hide
)
Description:
Test failure output
Filename:
MIME Type:
Creator:
Rob Cakebread (RETIRED)
Created:
2008-10-10 20:15:29 UTC
Size:
12.97 KB
patch
obsolete
> * Running test > >TESTED VERSION: 2.1.2 > Python: (2, 5, 2, 'final', 0) > lxml.etree: (2, 1, 2, 0) > libxml used: (2, 7, 2) > libxml compiled: (2, 7, 2) > libxslt used: (1, 1, 24) > libxslt compiled: (1, 1, 24) > >====================================================================== >ERROR: test_iterparse_attrib_ns (lxml.tests.test_elementtree.ETreeTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python2.5/unittest.py", line 260, in run > testMethod() > File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/src/lxml/tests/test_elementtree.py", line 2658, in test_iterparse_attrib_ns > for event, elem in iterator: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) >XMLSyntaxError: xmlns: URI ns1 is not absolute, line 1, column 9 > >====================================================================== >ERROR: test_xpath_compile_unicode (lxml.tests.test_xpathevaluator.ETreeETXPathClassTestCase) >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python2.5/unittest.py", line 260, in run > testMethod() > File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/src/lxml/tests/test_xpathevaluator.py", line 560, in test_xpath_compile_unicode > ).decode("unicode_escape")) > File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/src/lxml/tests/common_imports.py", line 121, in parse > return etree.parse(f, parser=parser) > File "lxml.etree.pyx", line 2578, in lxml.etree.parse (src/lxml/lxml.etree.c:25269) > File "parser.pxi", line 1483, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:63922) > File "parser.pxi", line 1511, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:64170) > File "parser.pxi", line 1383, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:63041) > File "parser.pxi", line 892, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:59878) > File "parser.pxi", line 538, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:56751) > File "parser.pxi", line 624, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:57595) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) >XMLSyntaxError: <unprintable XMLSyntaxError object> > >====================================================================== >FAIL: Doctest: parsing.txt >---------------------------------------------------------------------- >Traceback (most recent call last): > File "/usr/lib/python2.5/unittest.py", line 260, in run > testMethod() > File "/usr/lib/python2.5/doctest.py", line 2128, in runTest > raise self.failureException(self.format_failure(new.getvalue())) >AssertionError: Failed doctest test for parsing.txt > File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 0, in txt > >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 413, in parsing.txt >Failed example: > for action, elem in context: > print("%s: %s" % (action, elem.tag)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[66]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 424, in parsing.txt >Failed example: > context.root.tag >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[67]>", line 1, in <module> > context.root.tag > AttributeError: 'NoneType' object has no attribute 'tag' >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 433, in parsing.txt >Failed example: > for action, elem in context: > print("%s: %s" % (action, elem.tag)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[70]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 463, in parsing.txt >Failed example: > for action, elem in context: > if action in ('start', 'end'): > print("%s: %s" % (action, elem.tag)) > elif action == 'start-ns': > print("%s: %s" % (action, elem)) > else: > print(action) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[74]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 492, in parsing.txt >Failed example: > for action, elem in context: > print("%s: %s" % (action, elem.tag)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[76]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 500, in parsing.txt >Failed example: > for action, elem in context: > print("%s: %s" % (action, elem.tag)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[79]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 528, in parsing.txt >Failed example: > for action, elem in context: > if action in ('start', 'end'): > print("%s: %s" % (action, elem.tag)) > elif action == 'pi': > print("%s: -%s=%s-" % (action, elem.target, elem.text)) > else: # 'comment' > print("%s: -%s-" % (action, elem.text)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[83]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 7, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 547, in parsing.txt >Failed example: > print(context.root.tag) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[84]>", line 1, in <module> > print(context.root.tag) > AttributeError: 'NoneType' object has no attribute 'tag' >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 561, in parsing.txt >Failed example: > for action, elem in context: > print(len(elem)) > elem.clear() >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[86]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 568, in parsing.txt >Failed example: > context.root.getchildren() >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[87]>", line 1, in <module> > context.root.getchildren() > AttributeError: 'NoneType' object has no attribute 'getchildren' >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 585, in parsing.txt >Failed example: > for event, element in etree.iterparse(StringIO(xml)): > # ... do something with the element > element.clear() # clean up children > while element.getprevious() is not None: > del element.getparent()[0] # clean up preceding siblings >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[88]>", line 1, in <module> > for event, element in etree.iterparse(StringIO(xml)): > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 >---------------------------------------------------------------------- >File "/var/tmp/portage/dev-python/lxml-2.1.2/work/lxml-2.1.2/doc/parsing.txt", line 623, in parsing.txt >Failed example: > for action, elem in context: > print("%s: %s" % (action, elem.tag)) >Exception raised: > Traceback (most recent call last): > File "/usr/lib/python2.5/doctest.py", line 1228, in __run > compileflags, 1) in test.globs > File "<doctest parsing.txt[94]>", line 1, in <module> > for action, elem in context: > File "iterparse.pxi", line 498, in lxml.etree.iterparse.__next__ (src/lxml/lxml.etree.c:77134) > File "parser.pxi", line 564, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:56993) > XMLSyntaxError: xmlns: URI testns is not absolute, line 4, column 23 > > >---------------------------------------------------------------------- >Ran 971 tests in 25.775s > >FAILED (failures=1, errors=2) > * > * ERROR: dev-python/lxml-2.1.2 failed. > * Call stack: > * ebuild.sh, line 49: Called src_test > * environment, line 2368: Called die > * The specific snippet of code: > * "${python}" test.py || die "tests failed"; > * The die message: > * tests failed > * > * If you need support, post the topmost build error, and the call stack if relevant. > * A complete build log is located at '/var/log/portage/dev-python:lxml-2.1.2:20081010-200644.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/lxml-2.1.2/temp/environment'. > * This ebuild is from an overlay: '/home/rob/overlay/' > * > >>>> Failed to emerge dev-python/lxml-2.1.2, Log file: > >>>> '/var/log/portage/dev-python:lxml-2.1.2:20081010-200644.log' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 241156
: 167912