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

GRASS GIS trac at osgeo.org
Tue Jun 4 03:44:06 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.3                    
Component:  Display                     |     Version:  6.4.0 RCs                
 Keywords:  v.digit ppm temp, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32                      |  
----------------------------------------+-----------------------------------

Comment(by hamish):

 ok so for the wxGUI temporary image files:

  * {$TMPDIR|%TEMP%}/ is where we are (spamming) now
  * $MAPSET/.tmp/ is out as it might be NFS'd and too laggy for GUI needs
  * `dirname $GISRC` is out as $GISRC might be custom set to anything
  * {$TMPDIR|%TEMP%}/grass$VER-$USER/ is out since can't safely clear
 during concurrent sessions

 how about {$TMPDIR|%TEMP%}/grass$VER-$USER-$PID.gui/, falling back to
 {$TMPDIR|%TEMP%}/ if that wasn't set during init.sh/init.bat? (I'd rather
 not have the additional enviro variable just for it)

 or check what `dirname $GISRC` looks like, and if it begins with
 $TEMPDIR/grass$VER-$USER-$PID/, use that, if not fall back to $TEMPDIR?


 Hamish

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



More information about the grass-dev mailing list