[GRASS-dev] [GRASS GIS] #2326: Command functions in grass.script.core miss a correct error reporting

GRASS GIS trac at osgeo.org
Sun Jun 29 03:41:48 PDT 2014


#2326: Command functions in grass.script.core miss a correct error reporting
--------------------------------+-------------------------------------------
 Reporter:  wenzeslaus          |       Owner:  grass-dev@…              
     Type:  enhancement         |      Status:  new                      
 Priority:  major               |   Milestone:  7.1.0                    
Component:  Python              |     Version:  svn-trunk                
 Keywords:  script, exceptions  |    Platform:  All                      
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by glynn):

 Replying to [comment:16 wenzeslaus]:

 > They say that ''The data read is buffered in memory, so do not use this
 method if the data size is large or unlimited.''

 If the data would otherwise be sent to the terminal, memory consumption
 won't be an issue. But there are a few modules which can produce vast
 amounts of data on stdout (e.g. r.out.ascii, r.stats).

 Apart from memory consumption, many modules print progress output, and you
 want that to appear as it's generated, not all at once when the module
 terminates.

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



More information about the grass-dev mailing list