From david-levy at btconnect.com Wed Jan 7 05:57:49 2009
From: david-levy at btconnect.com (Dave Levy)
Date: Tue, 06 Jan 2009 18:57:49 +0000
Subject: Venus Run Tests fails with error in Foaf Test
Message-ID: <4963A9AD.9010102@btconnect.com>
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 at 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 at 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?
--
--
Dave
David Levy
Private & Confidential: This e-mail is intended for the addressee only.
If you are not an addressee, you have no rights to use the information
contained in this letter. Please destroy and notify me that an error
delivery has occurred.
From rubys at intertwingly.net Thu Jan 8 00:27:55 2009
From: rubys at intertwingly.net (Sam Ruby)
Date: Wed, 07 Jan 2009 08:27:55 -0500
Subject: Venus Run Tests fails with error in Foaf Test
In-Reply-To: <4963A9AD.9010102@btconnect.com>
References: <4963A9AD.9010102@btconnect.com>
Message-ID: <4964ADDB.8090404@intertwingly.net>
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 at 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 at 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
From david-levy at btconnect.com Fri Jan 9 11:19:24 2009
From: david-levy at btconnect.com (Dave Levy)
Date: Fri, 09 Jan 2009 00:19:24 +0000
Subject: Venus Run Tests fails with error in Foaf Test
In-Reply-To: <4964ADDB.8090404@intertwingly.net>
References: <4963A9AD.9010102@btconnect.com>
<4964ADDB.8090404@intertwingly.net>
Message-ID: <4966980C.3090205@btconnect.com>
As I said I there's a lot to go wrong in what I am trying so I got a
friend, Dave Edmondsen to run the same tests on his native Ubuntu
machine and he got the same result.
He proposed a change to test/data/config/eliast.foaf, which I have now
tested
this is the output of diff new old
21c21
<
---
>
28c28
<
---
>
we made the subdirectory path to the test data explicit. I may think
about how to keep this as abstracted but the test log now looks like this
..............................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 222 tests in 9.451s
OK
Looks like a bug in the test programs.
Sam Ruby wrote:
> 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 at 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 at 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
>
--
--
Dave
David Levy
Private & Confidential: This e-mail is intended for the addressee only.
If you are not an addressee, you have no rights to use the information
contained in this letter. Please destroy and notify me that an error
delivery has occurred.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20090109/7f101a48/attachment.htm
From rubys at intertwingly.net Sat Jan 10 01:50:43 2009
From: rubys at intertwingly.net (Sam Ruby)
Date: Fri, 09 Jan 2009 09:50:43 -0500
Subject: Venus Run Tests fails with error in Foaf Test
In-Reply-To: <4966980C.3090205@btconnect.com>
References: <4963A9AD.9010102@btconnect.com>
<4964ADDB.8090404@intertwingly.net>
<4966980C.3090205@btconnect.com>
Message-ID: <49676443.8080504@intertwingly.net>
Dave Levy wrote:
>
> we made the subdirectory path to the test data explicit. I may think
> about how to keep this as abstracted but the test log now looks like this
>
> ..............................................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 222 tests in 9.451s
>
> OK
>
> Looks like a bug in the test programs.
When I run with python-librdf installed on Ubuntu (two separate
machines, one Hardy, one Intrepid), I get the following
.................................................................raptor
error - XML parser error: xmlParseCharRef: invalid xmlChar value 12
...............raptor error - XML parser error: Opening and ending tag
mismatch: encoded line 0 and content
.....................................................................................raptor
error - XML parser error: Opening and ending tag mismatch: encoded line
0 and content
..........raptor error - XML namespace error: Namespace prefix planet on
name is not defined
.raptor error - XML parser error: Entity 'ntilde' not defined
........raptor error - XML namespace error: Namespace prefix planet on
message is not defined
.raptor error - XML namespace error: Namespace prefix planet on name is
not defined
.........................raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Opening and ending tag mismatch:
channel line 0 and feed
.raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Document is empty
raptor error - XML parser error: Opening and ending tag mismatch:
channel line 0 and feed
.....
----------------------------------------------------------------------
That issue seems to be unrelated, so I went ahead and committed your
patch. Thanks!
- Sam Ruby
From sdibb at wonkabar.org Wed Jan 14 05:11:57 2009
From: sdibb at wonkabar.org (Steve Dibb)
Date: Tue, 13 Jan 2009 11:11:57 -0700
Subject: venus: add description tag to template [PATCH]
Message-ID: <20090113111157.9620bc6a.sdibb@wonkabar.org>
On Planet Gentoo[1] we have a description tag in our config file that we use to give a short blurb at the top of the page.
We're looking to move to Venus, and I wrote a small patch[2] to duplicate the feature. I hope it's right, it seems to work.
Steve
1. http://planet.gentoo.org/
2. http://bugs.gentoo.org/attachment.cgi?id=178408&action=view
From dncarreira at gmail.com Tue Jan 20 05:04:55 2009
From: dncarreira at gmail.com (Duarte Carreira)
Date: Mon, 19 Jan 2009 18:04:55 +0000
Subject: translating post dates
Message-ID: <6717b0ac0901191004t1935ca85qecf0282f629969fe@mail.gmail.com>
Hi.
I'm trying to show post dates in Portuguese, and can't find a way...
Should I change planet.py or the xlst template, and how??
Thanks.
Duarte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20090119/eaf31b99/attachment.htm
From nick at zork.net Wed Jan 28 03:41:53 2009
From: nick at zork.net (Nick Moffitt)
Date: Tue, 27 Jan 2009 16:41:53 +0000
Subject: output_theme and the timing of config file merging
Message-ID: <20090127164151.GH10742@zork.net>
http://intertwingly.net/code/venus/docs/config.html says:
> output_theme
> Directory containing a config.ini file which is merged with this
> one. This is typically used to specify templating and bill of
> material information.
Does this merging happen only during HTML generation, or does it affect
spidering as well? That is, could I set (say) spider_threads in two
different themes and have that setting affect all sites and configs that
use them?
If so, can I rely on this behavior?
--
"These people program the way Victorians dress. Nick Moffitt
It takes two hours and three assistants to put on nick at zork.net
your clothes, and you have to change before dinner.
But everything is modular." -- Miles Nordin, on PAM
From marcelo at dzestudio.com.br Fri Jan 30 08:29:14 2009
From: marcelo at dzestudio.com.br (Marcelo Oliveira)
Date: Thu, 29 Jan 2009 18:29:14 -0300
Subject: Question about Date
Message-ID: <633BB1E4E83CBB48BB5C074EFE398B5102861E@SERVER1.dzestudio.local>
Hi there,
I'm new here... and I'm trying to undertand this stuff.
So, which command I can use to date format?
[]'s
Marcelo Oliveira
marcelo at dzestudio.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20090129/6af4a545/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4683 bytes
Desc: logo_dzestudio.jpg
Url : /archives/devel/attachments/20090129/6af4a545/attachment.jpeg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 5869 bytes
Desc: assinatura_dz.jpg
Url : /archives/devel/attachments/20090129/6af4a545/attachment-0001.jpeg