[GRASS-dev] [GRASS GIS] #3309: Avoid errors in parallel creation of tempfiles

GRASS GIS trac at osgeo.org
Fri Mar 24 10:51:11 PDT 2017


#3309: Avoid errors in parallel creation of tempfiles
--------------------------+---------------------------------
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.2.1
 Component:  LibGIS       |    Version:  svn-releasebranch72
Resolution:               |   Keywords:  G_tempfile()
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by sbl):

 For the record:

 Running
 {{{
 rm -f "`g.tempfile pid=$$`"
 }}}
 in advance works around the issue.

 Using GRASS 7.2.1svn (r70188) in BATCH mode I do get the error message
 above. But if I run g.tempfile and make sure that the tmp directory is
 created before I run r.in.gdal through xargs, everything works just fine!

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



More information about the grass-dev mailing list