[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to stat() stream file on Windows

GRASS GIS trac at osgeo.org
Thu Jul 8 03:41:33 EDT 2010


#1006: r.terraflow fails to stat() stream file on Windows
-----------------------------------+----------------------------------------
 Reporter:  marisn                 |       Owner:  grass-dev@…              
     Type:  defect                 |      Status:  new                      
 Priority:  major                  |   Milestone:  6.4.1                    
Component:  Raster                 |     Version:  svn-releasebranch64      
 Keywords:  wingrass, r.terraflow  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                 |  
-----------------------------------+----------------------------------------
Changes (by mmetz):

  * priority:  critical => major
  * milestone:  6.4.0 => 6.4.1


Comment:

 Replying to [comment:30 marisn]:
 > Tested with WinGRASS-6.4.SVN-r42668-1 on Vista. It's better now, as in
 CLI it fails with same message as in wxGUI (stats.out: Permission denied).
 No more assertion errors. Horray! Still r.terraflow is not working for
 windows users.

 Still getting the same assertion error on 6.4 r42714:


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

 About stats.out: Permission denied, stats.out is not written to STREAM_DIR
 because everything in STREAM_DIR is deleted after successful completion,
 stats.out is written to the current working directory and remains there
 for inspection. On my test Windows system, the current directory is
 /c/Dokumente und Einstellungen/Markus and I can write to it.

 r.terraflow is on windows crippled by missing LFS in GRASS. Its strength
 is its performance with massive datasets, but these can't be processed on
 windows because of the 2GB file size limit. Grass with LFS on windows will
 likely only be available in grass 7, planned for next month, but not in
 grass 6. r.terraflow is working fine on Linux and its functionality is
 covered by other modules, therefore it is IMHO not critical to have a
 working r.terraflow on windows. It would be very nice though.

 Considering this as well as previous comments, I think it's more realistic
 to get it fixed in 6.4.1 or 6.5, but under windows it will be really
 useful only in grass 7.0 with LFS.

 Markus M

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



More information about the grass-dev mailing list