KeyError's for various wiki feeds

Sam Ruby rubys at intertwingly.net
Thu Aug 9 23:35:00 EST 2007


Marc Girod wrote:
> Hi Sam,
> 
> I see. I understood that Venus was the only way for me to update
> Planet, if I found something I needed to fix there...
> Is that correct?

There are no plans to update Planet 2.0.

>> but if you can get to it, you can see the feed as Venus sees it by
>> running:
>  
>> python tests/reconstitute.py
>> "http://wiki.iona.com/icde-wiki/RecentChanges?action=rss_rc&items=50&ddiffs=1&unique=1"
> 
> venus> python tests/reconstitute.py "http://wiki.iona.com/icde-wiki/RecentChanges?action=rss_rc&items=50&ddiffs=1&unique=1"
> Error 500 while updating feed http://wiki.iona.com/icde-wiki/RecentChanges?action=rss_rc&items=50&ddiffs=1&unique=1
> Traceback (most recent call last):
>   File "tests/reconstitute.py", line 85, in <module>
>     os.removedirs(os.path.dirname(work))
>   File "/usr/local/lib/python2.5/os.py", line 185, in removedirs
>     rmdir(name)
> OSError: [Errno 39] Directory not empty: '/home/mgirod/tmp/bzr/venus/venus/tests/work'
> 
> Now, I take it that:
> - my venus installation still seems to lack something (see below for
>   runtests.py)
> - my wiki host had just a peak of unexplained high load...

I can't help with the latter...  :-)

> Marc
> 
> venus> python runtests.py
> Genshi is not available => can't test genshi filters
> Django is not available => can't test django filters
> libxml2 is not available => can't test xpath_sifter
> Redland RDF is not available => can't test FOAF reading lists
> ....sh: -c: line 1: unexpected EOF while looking for matching `"'
> sh: -c: line 2: syntax error: unexpected end of file
> EImportError: No module named libxml2
>   File "/home/mgirod/tmp/bzr/venus/venus/planet/shell/plugin.py", line 41, in run
>     imp.load_module('__main__',handle,plugin_file,description)
>   File "mememe.plugin", line 21, in <module>

The first messages indicate that you don't have a number of optional 
packages installed, and therefore the functions that integrate with 
those features can't be tested.  No biggie.  The only one of any 
significance is libxml2; that's what triggers the "syntax error" above 
and the first two of your failures.  I'd recommend that you install it 
(it is called python-libxml2 on Ubuntu/Debian), but it truly is meant to 
be optional, so this is a bug.

I've pushed up a fix for these two errors.  If you let me know what the 
next error is, I can take a look at it.

- Sam Ruby


More information about the devel mailing list