[GRASS-dev] [GRASS GIS] #1574: v.to.rast in python loop: Error raster already exists

GRASS GIS trac at osgeo.org
Mon Feb 13 11:39:57 EST 2012


#1574: v.to.rast in python loop: Error raster already exists
-----------------------+----------------------------------------------------
 Reporter:  jradinger  |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  normal     |   Milestone:  6.5.0                    
Component:  wxGUI      |     Version:  svn-develbranch6         
 Keywords:             |    Platform:  MacOSX                   
      Cpu:  OSX/Intel  |  
-----------------------+----------------------------------------------------
 When I try to launch a python script via File -> lauch Script
 that calls v.to.rast in loop, I get the error that the raster file already
 exists.
 This is although no such raster exists before running the script (deleted
 before with g.remove and cross checked with g.list)

 I attached a sample script for the North Carolina dataset also including
 g.list command and time.sleep()...
 This was also reproduced by Moritz Lennert. His comment on this:

 "This is a bit over my head as I don't have a good view of how the GUI
 works (CC to Martin), but AFAICT the script is run through RunCmd on
 line 599 in gui/wxpython/gui_core/goutput.py [1].
 So it quite definitely seems a wxgui problem, but I don't know how to go
 further with this...
 [1]
 http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py#L599
 ___"

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1574>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list