[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 06:30:32 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 hamish):

 {{{
 STREAM temporary files in
 C:/Users/syringia/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!)
 file stats.out exists - renaming.
 }}}

 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 related to the bug AFAIK, but I notice the D8CUT variable can't
 seem to decide if it wants to be an integer, float, or double:

 {{{
 module output: D8CUT=999999986991104.000000
 option.h:  float d8cut;           /* flow value where flow accu comp
 switches to D8 */
 main.cc:  d8cut->type = TYPE_DOUBLE;
 main.cc:    opt->d8cut = atoi(d8cut->answer);
 main.cc:  sprintf(buf, "D8CUT=%f", opt->d8cut);
 types.h:static const flowaccumulation_type MAX_ACCU = 1e+15;
 }}}


 Hamish

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


More information about the grass-dev mailing list