Runtest Error Messages

Pat Patterson Andrew.Patterson at Sun.COM
Sun Jul 29 13:14:43 EST 2007


Hi Ben, Sam,

I had exactly this problem with Venus, and found this email thread via 
Google.

Looking closely at the output of python runtests.py -v test_apply.py 
revealed that libxml2 was not installed. I grabbed the latest libxml2 
from http://ftp.acc.umu.se/pub/gnome/sources/libxml2/2.6/, grabbed 
libxslt from http://ftp.acc.umu.se/pub/gnome/sources/libxslt/1.1/, 
configured/made/installed them and it all worked great.

Cheers,

Pat

Sam Ruby wrote:

> Ben Welsh wrote:
> >/ Hey listers,
> />/ 
> />/ Any ideas what's up with these errors that came off my runtests.py?
> />/ 
> />/ ======================================================================
> />/ ERROR: test_apply_filter_html (tests.test_apply.ApplyTest )
> />/ ----------------------------------------------------------------------
> />/ Traceback (most recent call last):
> />/   File "/home/maarten/public_html/planet/tests/test_apply.py", line 62, 
> />/ in test_apply_filter_html
> />/     self.apply_asf()
> />/   File "/home/maarten/public_html/planet/tests/test_apply.py", line 27, 
> />/ in apply_asf
> />/     splice.apply(self.feeddata)
> />/   File "/home/maarten/public_html/planet/planet/splice.py", line 122, in 
> />/ apply
> />/     output = open(output_file).read()
> />/ IOError: [Errno 2] No such file or directory: 'tests/work/apply/index.html'
> />/ 
> />/ ======================================================================
> />/ FAIL: test_apply_filter_mememe ( tests.test_apply.ApplyTest)
> />/ ----------------------------------------------------------------------
> />/ Traceback (most recent call last):
> />/   File "/home/maarten/public_html/planet/tests/test_apply.py", line 72, 
> />/ in test_apply_filter_mememe
> />/     self.apply_fancy()
> />/   File "/home/maarten/public_html/planet/tests/test_apply.py", line 89, 
> />/ in apply_fancy
> />/     self.assertTrue(os.path.exists(path), path)
> />/ AssertionError: tests/work/apply/index.html
> />/ 
> />/ ----------------------------------------------------------------------
> />/ Ran 195 tests in 7.117s
> />/ 
> />/ FAILED (failures=1, errors=1)
> /
> Nothing obvious comes to mind that would cause exactly just those two 
> failures, so perhaps logging will provide a clue.  Could I get you to 
> run the following?
>
> python runtests.py -v test_apply.py
>
> - Sam Ruby
-- 
Pat Patterson - pat.patterson at sun.com
Federation Architect,
Sun Microsystems, Inc.
http://blogs.sun.com/superpat



More information about the devel mailing list