[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
Sun Mar 14 18:08:42 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 hellik):

 Replying to [ticket:1006 marisn]:
 > Temporary file folder (specified as STREAM_DIR) exists and is writeable
 for current user.
 >
 > Run r.terraflow with default STREAM_DIR option within wxgui:
 >
 > {{{
 > Sun Mar 14 18:47:32 2010)
 > r.terraflow elevation=reljefs_rst_t100 at zonde filled=floddeed
 direction=dirrectionss swatershed=sinkss accumulation=akumulacija2
 tci=tcii
 > stats.out: Permission denied
 > 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!)
 > (Sun Mar 14 18:47:32 2010) Command finished (0 sec)
 > }}}
 >
 > Running the same from CLI:
 >
 > {{{
 > GRASS 6.4.0svn (latvija3)> r.terraflow elevation=reljefs_rst_t100
 filled=fffllll
 > l direction=diiiirrr swatershed=siiiknk accumulation=aacccum tci=tttopoc
 > 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!)
 > MFD flow direction
 > D8CUT=999999986991104.000000
 > Memory size: 300.00M (314572800) bytes
 > Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
 > Assertion failed: nrows * ncols == str->stream_len(), file grass2str.h,
 line 144
 >
 >
 > This application has requested the Runtime to terminate it in an unusual
 way.
 > Please contact the application's support team for more information.
 > }}}
 >
 > WinGRASS-6.4.SVN-r41428 on Windows Vista

 I've tried this on my WinVista32-box, from command line and wx-gui, the
 intermediate temp files are partly written in
 C:\Users\syringia\AppData\Local\Temp, but r.terraflow fails with

 {{{
 Assertion failed: nrows * ncols == str->stream_len(), file grass2str.h,
 line 144
 }}}

 Helmut

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


More information about the grass-dev mailing list