Hi Markus,

On Tue, Nov 3, 2015 at 6:18 PM, Markus Neteler <[email protected]> wrote:
> Hi devs:
>
> any suggestions how to fix those here properly?
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-02-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/lib/python/script/test_start_command_functions_nc/index.html
>   File "lib/python/script/testsuite/test_start_command_functions_nc.py",
> line 32, in test_prefixed_underscore
>     msg="Underscore as prefix was not accepted")
> AssertionError: Underscore as prefix was not accepted

This should be fix with the new dataset that contains the raster map:
"elevation"



> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-02-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/lib/python/pygrass/test_doctests/index.html
> File "etc/python/grass/pygrass/utils.py", line 230, in
> grass.pygrass.utils.get_raster_for_points
>    AttributeError: 'VectorTopo' object has no attribute 'table'

Looking at the complete stderr:
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-02-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/lib/python/pygrass/test_doctests/stderr.html

it seems like the map test_vect_2 is not found:

{{{
Failed example:
    fire.open(mode='r')
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest grass.pygrass.utils.get_raster_for_points[9]>",
line 1, in <module>
        fire.open(mode='r')
      File "etc/python/grass/pygrass/vector/abstract.py", line 328, in open
        raise OpenError("Map <%s> not found." % self._name)
    OpenError: Map <test_vect_2> not found.
}}}



> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-02-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/lib/python/pygrass/modules/grid/test_doctests/index.html
> AssertionError: Failed doctest test for
> grass.pygrass.modules.shortcuts.MetaModule
> File "etc/python/grass/pygrass/modules/shortcuts.py", line 28, in
> grass.pygrass.modules.shortcuts.MetaModule
> Failed example:
>     g_list.outputs.stdout                         # doctest: +ELLIPSIS
> Expected:
>     '...basin...soils...'
> Got:
> 'gmted2010\ngmted2010.shade\nlandsat.blue\nlandsat.green\nlandsat.red\nlst_2010_01_average_piemonte\nlst_2010_02_average_piemonte\nlst_2010_03_average_piemonte\nlst_2010_04_average_piemonte\nlst_2010_05_average_piemonte\nlst_2010_06_average_piemonte\nlst_2010_07_average_piemonte\nlst_2010_08_average_piemonte\nlst_2010_09_average_piemonte\nlst_2010_10_average_piemonte\nlst_2010_11_average_piemonte\nlst_2010_12_average_piemonte\norbassano_orto.blue\norbassano_orto.green\norbassano_orto.red\norbassano_orto.rgb\nsrtm\nsrtm_grezzo\nuso_suolo2007\n'
>

Here we can change the test to found some other raster maps instead of
basins and soils, since both maps seem not available in the Piedmont
dataset.

Best regards

Pietro
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to