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

GRASS GIS trac at osgeo.org
Fri Aug 31 20:34:37 PDT 2018


#1286: clean_temp can not be called before LOCATION_NAME is set
--------------------------+--------------------------------------
  Reporter:  marisn       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  major        |  Milestone:  6.4.6
 Component:  Startup      |    Version:  6.4.1 RCs
Resolution:  fixed        |   Keywords:  wingrass clean_temp init
       CPU:  Unspecified  |   Platform:  MSWindows Vista
--------------------------+--------------------------------------
Changes (by wenzeslaus):

 * status:  new => closed
 * keywords:  wingrass => wingrass clean_temp init
 * resolution:   => fixed


Comment:

 In G7 this is solved since `clean_temp` (which is using `G_gisinit()`) is
 called only in `grass.py` and `g.mapset`. `grass.py` calls it only after
 proper setup and before teardown and `g.mapset` itself uses `G_gisinit()`.
 Closing as fixed.

 {{{
 grep --exclude-dir={.svn,OBJ.,dist.*,bin.*} -IrnE clean_temp
 }}}

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



More information about the grass-dev mailing list