[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to create temp file on Windows when launched from wxgui

GRASS GIS trac at osgeo.org
Thu Mar 18 07:58:40 EDT 2010


#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org 
      Type:  defect           |      Status:  new                       
  Priority:  normal           |   Milestone:  6.4.0                     
 Component:  Raster           |     Version:  svn-releasebranch64       
Resolution:                   |    Keywords:  wxgui, wingrass, terraflow
  Platform:  MSWindows Vista  |         Cpu:  x86-32                    
------------------------------+---------------------------------------------
Comment (by marisn):

 Replying to [comment:5 hamish]:
 > could you clean out the temp dir? in the original report you had:
 > {{{
 > stats.out: Permission denied
 > }}}
 >
 > at that stage. does your user account have write permission in that dir?

 This isn't Slashdot where You don't have to read original report before
 replying.

 {{{
 (Thu Mar 18 13:55:51 2010)
 r.terraflow elevation=elevation.dem at PERMANENT filled=flo1 direction=dir1
 swatershed=sink1 accumulation=accu1 tci=tci1
 stats.out: Permission denied
 raster elevation.dem is of type CELL_TYPE --you should use
 r.terraflow.short
 STREAM temporary files in C:/Users/Maris/AppData/Local/Temp
 (THESE INTERMEDIATE STREAMS WILL NOT BE DELETED IN CASE OF
 ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE SPACE PLEASE
 DELETE THESE FILES MANUALLY!)
 (Thu Mar 18 13:55:51 2010) Command finished (0 sec)
 (Thu Mar 18 13:55:58 2010)
 r.terraflow --verbose elevation=elevation.dem at PERMANENT filled=flo1
 direction=dir1 swatershed=sink1 accumulation=accu1 tci=tci1
 cell elevation.dem header compatible with region header
 stats.out: Permission denied
 Elevation stored as FLOAT (4B)
 raster elevation.dem is of type CELL_TYPE --you should use
 r.terraflow.short
 Region size is 466 x 633
 STREAM temporary files in C:/Users/Maris/AppData/Local/Temp
 (THESE INTERMEDIATE STREAMS WILL NOT BE DELETED IN CASE OF
 ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE SPACE PLEASE
 DELETE THESE FILES MANUALLY!)
 (Thu Mar 18 13:55:58 2010) Command finished (0 sec)
 }}}

 {{{
 GRASS 6.4.0svn (Spearfish60)> cd C:/Users/Maris/AppData/Local/Temp

 GRASS 6.4.0svn (Spearfish60)> pwd
 /tmp

 GRASS 6.4.0svn (Spearfish60)> echo "11111">stats.out

 GRASS 6.4.0svn (Spearfish60)> ls
 Comodo         plugtmp        tmp8dmank      tmphq36zm.ppm  tmpu1igd0.ppm
 Low            stats.out      tmp8dmank.pgm  tmpjwcn5a      tmpulgzoq.ppm
 Maris.bmp      tmp38qqbr.ppm  tmp8dmank.ppm  tmpmvlbga      tmpv1ri6t.ppm
 STREAM_a03888  tmp6qna7p      tmp_qcrpo.ppm  tmpqnwipi      tmpx9g0rx.ppm
 WPDNSE         tmp6qna7p.pgm  tmpg45dva.ppm  tmpqnwipi.pgm  tmpyxrqeo.ppm
 jusched.log    tmp6qna7p.ppm  tmpghekic.ppm  tmpqnwipi.ppm  ~nsu.tmp

 GRASS 6.4.0svn (Spearfish60)> cat stats.out
 "11111"
 }}}

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


More information about the grass-dev mailing list