On Mon, Jan 5, 2015 at 4:15 PM, Martin Landa <[email protected]> wrote:
> 2015-01-05 21:21 GMT+01:00 Markus Neteler <[email protected]>: > > No problem. The only remaining thing which I don't understand how to > > fix it is this: > > > > File "./lib/gis/testsuite/gis_lib_env_test.py", line 31, in test_gisrc > > libgis.G__read_gisrc_env() > > AttributeError: 'module' object has no attribute 'G__read_gisrc_env' > > done in r63960 (and backported). Martin On Wed, Jan 7, 2015 at 10:37 AM, Pietro <[email protected]> wrote: > Il 07/gen/2015 16:11 "Vaclav Petras" wrote: > > Thanks but the tests are failing with different error now: > > > > > > Traceback (most recent call last): > > File "lib/python/pygrass/raster/testsuite/test_raster.py", line 6, in > <module> > > from grass.pygrass.raster import RasterRow > > File "etc/python/grass/pygrass/raster/__init__.py", line 24, in > <module> > > from grass.pygrass.gis.region import Region > > File "etc/python/grass/pygrass/gis/__init__.py", line 22, in <module> > > 'icon': libgis.G_ELEMENT_ICON, > > AttributeError: 'module' object has no attribute 'G_ELEMENT_ICON' > > I saw the error this morning. Should be fixed in r63972. > > Pietro > To see if the tests are successful before you commit anything use inside GRASS session: python -m grass.gunittest.main --location nc_spm_grass7 --location-type nc where "nc_spm_grass7" is your GRASS GIS sample NC SPM location. Read more about running tests here: http://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#testing-with-gunittest-package-in-general I went through the tests and there is still several issues (ignoring the once caused by different maps in NC full and basic): http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/testfiles.html http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/test_doctests/index.html NameError: name 'Region' is not defined http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/raster/test_history/index.html OpenError: The map does not exist, I can't open in 'r' mode (probably missing map but the error message should be better) http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/modules/test_doctests/index.html AttributeError: 'module' object has no attribute 'grid' http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/shell/test_doctests/index.html AttributeError: 'module' object has no attribute 'conversion' http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/gis/test_doctests/index.html AttributeError: 'module' object has no attribute 'region' http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/temporal/t.rast.to.rast3/test_strds_to_rast3/index.html RuntimeError: Module call r3.univar(...) ended successfully but we were expecting output and got nothing. There were no error messages. (see #2269, http://trac.osgeo.org/grass/ticket/2269) http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-09-08-00/report_for_nc_spm_08_grass7_nc/temporal/t.rast.accumulate/test.t.rast.accumulate/index.html (hard to tell, it is an bash script)
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
