Test failure in test_raster_no_projection

Bernhard Herzog bh at intevation.de
Mon Feb 7 15:00:02 CET 2005


Bernhard Reiter <bernhard at intevation.de> writes:

> ======================================================================
> ERROR: test_baserenderer.TestBaseRenderer.test_raster_no_projection
> ----------------------------------------------------------------------
[...]
>     data = (width, height, apply(ProjectRasterFile, project_params))
> TypeError: function takes exactly 6 arguments (7 given)

Have you rebuilt the extension modules?  This is most like due to a
change in gdalwarp.cpp.

After recompiling you should get a little farther, but the test probably
will still fail.  It fails for me, anyway, with an AssertionError:


======================================================================
FAIL: test_baserenderer.TestBaseRenderer.test_raster_no_projection
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_baserenderer.py", line 326, in test_raster_no_projection
    self.assertEquals(renderer.raster_data, (20,20,(raw_data, raw_mask)))
  File "/usr/lib/python2.2/unittest.py", line 286, in failUnlessEqual
    raise self.failureException, \
AssertionError: (20, 20, ('Rf\xe6Rf[...]\xe6Rf\xe6', None)) != (20, 20, ('Rf\xe6Rf[...]\x00\x00'))



   Bernhard


-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                           http://skencil.org/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)