I forgot to attach the config file for reproducibility. Here is it :) It should be stored in .grass7/r.li/ and according to manual, no full path should be used for the config file.
Thanks in advance, Vero El vie., 5 oct. 2018 a las 3:40, Veronica Andreo (<veroand...@gmail.com>) escribió: > Hi devs, > > I'm trying to use r.li.* modules to develop an example for a course. I am > currently working in trunk, though I had to create the config files in 74 > rel branch because I get an error in trunk (reported already in [0]). > > Now, when I try to use r.li.shannon for example (though it happens with > other modules as well), I get the following error: > > r.li.shannon --overwrite input=landclass96@PERMANENT > config=forest_mov_win output=forest_mov_win_sh > munmap_chunk(): invalid pointer <<<--- THIS > > The map is created but not displayed, with errors related to decompression > in the GUI console: > > Failed to run command 'd.rast map=forest_mov_win_sh@user1'. > Details: > > > GRASS_INFO_WARNING(12641,1): LZ4 decompression > error > GRASS_INFO_END(12641,1) > > > > GRASS_INFO_ERROR(12641,2): Error uncompressing null data for row 474 of > <forest_mov_win_sh> > GRASS_INFO_END(12641,2) > > > Also... > > GRASS 7.7.svn (nc_spm_08_grass7):~ > r.univar forest_mov_win_sh > WARNING: LZ4 decompression error > ERROR: Error uncompressing null data for row 474 of <forest_mov_win_sh> > > Why is this? I didn't set any env var for compression. > > A different case is: > > GRASS 7.7.svn (nc_spm_08_grass7):~ > r.mapcalc "forest = if(landclass96 == > 5, 1, null())" > GRASS 7.7.svn (nc_spm_08_grass7):~ > r.li.edgedensity input=forest > config=forest_mov_win output=forest_edge_mw > double free or corruption (!prev) <<<--- THIS > Aborted (core dumped) > ... but map is created and no error related to compression. > > Doing something equivalent, I get a different error (same as the first > one): > > r.li.edgedensity --verbose input=landclass96@PERMANENT > config=forest_mov_win output=forest_edge patch_type=5 > munmap_chunk(): invalid pointer <<<--- THIS > Aborted (core dumped) > > GRASS 7.7.svn (nc_spm_08_grass7):~ > r.univar forest_edge > WARNING: LZ4 decompression error > ERROR: Error uncompressing null data for row 474 of <forest_edge> > > What am I doing wrong? Does anyone know the trick to use these modules? > > Thanks much in advance, > Vero > > [0] https://trac.osgeo.org/grass/ticket/3675 >
forest_mov_win
Description: Binary data
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev