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

#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&gt;
GRASS GIS <https://grass.osgeo.org>