[GRASS-dev] [GRASS GIS] #560: WinGRASS not deleting temp ppm files from map display

GRASS GIS trac at osgeo.org
Mon Mar 18 14:29:27 PDT 2013


#560: WinGRASS not deleting temp ppm files from map display
----------------------------------------+-----------------------------------
 Reporter:  isaacullah                  |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  critical                    |   Milestone:  6.4.2                    
Component:  Display                     |     Version:  6.4.0 RCs                
 Keywords:  v.digit ppm temp, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32                      |  
----------------------------------------+-----------------------------------

Comment(by neteler):

 Replying to [comment:13 glynn]:
 > Replying to [comment:12 wenzeslaus]:
 ...
 > > Now, mkstemp is used for files which will be combined to resulting and
 then os.remove (grass.try_remove) is called. So, I'm not sure where is the
 problem (why temporary files are not removed).
 > On Windows, you can't remove a file if any process has it open.

 Could the removal be put into the shutdown sequence? Perhaps by putting
 the files
 in question into a (file based) list?

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



More information about the grass-dev mailing list