[GRASS-dev] Re: [GRASS GIS] #898: WinGrass: r.out.xyz error

GRASS GIS trac at osgeo.org
Sun Feb 21 07:33:53 EST 2010


#898: WinGrass: r.out.xyz error
------------------------------+---------------------------------------------
  Reporter:  hellik           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  closed                   
  Priority:  normal           |   Milestone:  6.4.0                    
 Component:  Raster           |     Version:  svn-releasebranch64      
Resolution:  invalid          |    Keywords:  wingrass, raster, path   
  Platform:  MSWindows Vista  |         Cpu:  x86-32                   
------------------------------+---------------------------------------------
Changes (by hamish):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 {{{
 msys GRASS 6.4> ls C:\Temp\*
 ls: C:Temp*: No such file or directory
 }}}

 the problem is that "\" has special meaning in a bourne shell, so when
 used litterally needs to be quoted. What you have done is quoted the w, m,
 and e characters in your filename and so the resulting string is
 C:wdmgelev.xyz, and apparently you don't have permission to write to your
 C:\ directory from that user account.

 this should work without "quotes":
 {{{
 GRASS 6.4> r.stats -1gn elevation > C:\\wd\\mg\\elev.xyz
 }}}


 Hamish

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


More information about the grass-dev mailing list