[GRASS-dev] [GRASS GIS] #2392: GRASS GIS 6.4.5 svn r.li modules - issues with hard coded path to conf files

GRASS GIS trac at osgeo.org
Wed Aug 13 02:23:11 PDT 2014


#2392: GRASS GIS 6.4.5 svn r.li modules - issues with hard coded path to conf
files
----------------------+-----------------------------------------------------
 Reporter:  hellik    |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  6.4.5                    
Component:  Raster    |     Version:  svn-releasebranch64      
 Keywords:            |    Platform:  MSWindows 7              
      Cpu:  x86-32    |  
----------------------+-----------------------------------------------------
 from the ML

 http://lists.osgeo.org/pipermail/grass-dev/2014-August/070384.html

 {{{
 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.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2392>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list