[GRASS-dev] Re: [GRASS GIS] #1286: clean_temp can not be called before LCATION_NAME is set

GRASS GIS trac at osgeo.org
Tue Mar 1 14:51:45 EST 2011


#1286: clean_temp can not be called before LCATION_NAME is set
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  blocker      |   Milestone:  6.4.1                    
Component:  Startup      |     Version:  6.4.1 RCs                
 Keywords:               |    Platform:  MSWindows Vista          
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1286 marisn]:

 > There are two possible solutions for this problem:
   * do not use clean_temp in init.bat
   * do not use G_gisinit() in clean_temp

 There is only one possible solution: the first one. The purpose of
 clean_temp is to clean up the mapset's temp directory
 (<database>/<location>/<mapset>/.tmp/<hostname>). If you don't have a
 database/location/mapset set, clean_temp can't work.

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



More information about the grass-dev mailing list