[GRASS-dev] Re: [GRASS GIS] #1042: winGRASS: r.statistics complains if path to grassdb has spaces

GRASS GIS trac at osgeo.org
Wed Apr 21 15:30:29 EDT 2010


#1042: winGRASS: r.statistics complains if path to grassdb has spaces
---------------------------+------------------------------------------------
  Reporter:  ege           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Raster        |     Version:  svn-releasebranch64      
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by glynn):

 Replying to [ticket:1042 ege]:
 > Running r.statistics using a path to GRASS DATABASE folder containing
 blank spaces (e.g. C:\Documents and Settings\OCU\Desktop\grassdata)
 produces the following error:

 > After moving "grassdata" to C:\ r.statistics works.

 This should only affect the sum, average and distribution aggregates; the
 others use popen() rather than a temporary file.

 Hopefully fixed in 6.5 by r41957. Suggest back-porting to 6.4 for RC7.

 Not applicable to 7.0, which doesn't use temporary files.

 It might be worthwhile someone doing an exhaustive analysis of calls to
 system() and popen() (and the G_* versions) in case any similar issues
 remain.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1042#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list