Running the tests
Bernhard Reiter
bernhard at intevation.de
Mon Jun 2 17:01:50 CEST 2008
Hi Anthony,
On Thursday 29 May 2008 00:12, Anthony Lenton wrote:
> I checked out thuban's svn today, hopefully to start sending in a
> patch or two or writing an extension.
> After a while I was able to run the tests.
good! Any contribution is welcome! :)
> Those needing gdalwarp were skipped until I realised that I needed to
> compile the extensions, and the ones needing postgis needed a bit of a
> help to figure out where the postgis SQL file was (find_postgis_sql
> wasn't figuring out my Ubuntu Hardy installation).
If you have a suggestion how to improve the documentation
to make this easier for others, please let me know.
> The problem is that most tests in test_save.py still fail. I've
> installed pyRXP from svn (rev 3203), should I use a different version,
> are the tests broken for the time being or am I doing something wrong?
> I'm sending the output of running these tests, sorry for the lengthy post.
Hmm, this seems to be all the same problem:
> File "/home/anthony/svn/thuban/trunk/thuban/test/xmlsupport.py",
> line 41, in validate_data
> parser.parse(data, eoCB = self.rxp_eo_cb)
> AssertionError: Error: Expected whitespace after attribute type
> in unnamed entity at line 180 char 37 of
> file:///home/anthony/svn/thuban/trunk/thuban/test/../Resources/XML/thuban-1
>.2.1.dtd Expected whitespace after attribute type
> Parse Failed!
Which is a failure in parser = pyRXP.Parser().
It barks at the following line
<!ATTLIST classification field CDATA>
looks fine from far away (I do not know XML syntax by heart).
Yes, my hypothesis is a pyXML defect.
(I saw these tests run through a long while ago. I should try them again I
guess.)
Thanks for the report!
Best,
Bernhard
--
Managing Director - Owner: www.intevation.net (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20080602/b423d9ce/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)