Venus Run Tests fails with error in Foaf Test

Sam Ruby rubys at intertwingly.net
Thu Jan 8 00:27:55 EST 2009


Dave Levy wrote:
> I have tried to install Venus on Ubuntu Linux 8.04 running on a Sun's 
> xVM Virtual Box with a Windows host.
> 
> I realise there's a lot to go wrong but the error messages come from 
> runtests.py so I think I need to start here.
> 
> I get an Assertion Error test_recursive (tests.test_foaf.py.FoafTest). 
> It identifies the last line of the function as the failing statement.
> 
> .......................................................................................................................................................................................F......................................
> ======================================================================
> FAIL: test_recursive (tests.test_foaf.FoafTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/planet/tests/test_foaf.py", line 116, in test_recursive
>     'http://torrez.us/feed/rdf'], feeds)
> AssertionError: 
> ['http://api.flickr.com/services/feeds/photos_public.gne?id=77366516@N00', 
> 'http://del.icio.us/rss/eliast', 'http://del.icio.us/rss/leef', 
> 'http://del.icio.us/rss/rubys', 'http://intertwingly.net/blog/atom.xml', 
> 'http://thefigtrees.net/lee/life/atom.xml', 'http://torrez.us/feed/rdf'] 
> != 
> ['http://api.flickr.com/services/feeds/photos_public.gne?id=77366516@N00', 
> 'http://del.icio.us/rss/eliast', 'http://torrez.us/feed/rdf']
> 
> ----------------------------------------------------------------------
> Ran 222 tests in 9.501s
> 
> FAILED (failures=1)
> 
> I got the Venus Code from intertwingly, 
> http://www.intertwingly.net/code/venus.zip by downloading the ZIP file, 
> for some reason bzr wouldn't work or was taking huge amounts of time and 
> I got impatient.
> Python Version 2.5.2
> I installed Redland RDF using the Package Manager, I think the source is 
> Ubuntu, not the redland repository.
> 
> Any ideas?

When I run, I get

> $ python runtests.py 
> Redland RDF is not available => can't test FOAF reading lists
> ......................................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 214 tests in 5.673s

(translation: since I don't currently have Redland RDF installed, I 
don't run that test).

At this point, I'm tempted to remove or at least disable the FOAF 
functionality as it is unmaintained.

- Sam Ruby


More information about the devel mailing list