[GRASS-dev] GRASS GIS 6.4.4 r.li modules

Helmut Kudrnovsky hellik at web.de
Wed Aug 13 01:58:00 PDT 2014


Martin Landa wrote
> Hi,
> 
> 2014-08-13 10:10 GMT+02:00 Helmut Kudrnovsky <

> hellik@

> >:
>> r.li.setup seems to be empty, see attached screenshot.
>>
>> <http://osgeo-org.1560.x6.nabble.com/file/n5156085/WinGrass645svncapture_13082014_100649.png>
> 
> I am getting the same dialog on Linux when launching the module from
> menu. When launching the module from wxGUI command line I am getting
> different dialog (Tcl/Tk configuration tool). Martin
> 
> -- 
> Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
> _______________________________________________
> grass-dev mailing list

> grass-dev at .osgeo

> http://lists.osgeo.org/mailman/listinfo/grass-dev

now conf-file generated in winGRASS7.1svn and the conf file stored e.g. 

C:\Users\normal\AppData\Roaming\GRASS6\movwindow7

some test:

r.li.mps --verbose map=myforest at user1
conf=C:\Users\normal\AppData\Roaming\GRASS6\movwindow7
output=myforest_mean_patch_size
ERROR: Cannot find configuration file
<C:\Users\normal\.r.li\history\C:\Users\normal\AppData\Roaming\GRASS6\movwindow7>

r.li.padrange --verbose map=myforest at user1
conf=C:\Users\normal\AppData\Roaming\GRASS6\movwindow7
output=myforest_padrange
ERROR: Cannot find configuration file
<C:\Users\normal\.r.li\history\C:\Users\normal\AppData\Roaming\GRASS6\movwindow7>

r.li.padsd --verbose map=myforest at user1
conf=C:\Users\normal\AppData\Roaming\GRASS6\movwindow7 output=myforest_padsd
ERROR: Cannot find configuration file
<C:\Users\normal\.r.li\history\C:\Users\normal\AppData\Roaming\GRASS6\movwindow7>

although the path to the conf file is given, it seems it's hard coded where
the r.li.*-module looks for the conf file (see doubling the path in the
error message)

manually creating the .r.li-folder where the module looks for and manually
putting there the conf file, the r.li.*-module is working:

r.li.padsd --verbose map=myforest at user1
conf=C:\Users\normal\.r.li\history\movwindow7 output=myforest_padsd
r.li.padsd komplett. Raster map <myforest_padsd> created.



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GRASS-GIS-6-4-4-r-li-modules-tp5148344p5156099.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list