[GRASS-dev] [GRASS GIS] #2741: d.to.rast fails

GRASS GIS trac at osgeo.org
Mon Sep 14 07:08:43 PDT 2015


#2741: d.to.rast fails
----------------------------------+-------------------------
 Reporter:  annakrat              |      Owner:  grass-dev@…
     Type:  defect                |     Status:  new
 Priority:  normal                |  Milestone:  7.1.0
Component:  wxGUI                 |    Version:  svn-trunk
 Keywords:  rendering, d.to.rast  |        CPU:  All
 Platform:  All                   |
----------------------------------+-------------------------
 When typing `d.to.rast output=xxx` in GUI command line, I get:

 {{{
 Failed to run d.to.rast:
 ERROR 4: `/home/anna/grassdata/nc_spm_08_grass7_test/user1/.tmp/anna-
 laptop/7668.0.png' does not exist in the file system,
 and is not recognised as a supported dataset name.
 Unable to open datasource
 </home/anna/grassdata/nc_spm_08_grass7_test/user1/.tmp/anna-
 laptop/7668.0.png>
 }}}

 This is because rendering is now running in parallel, so the current code
 [1] expects the png file, but it's not yet there. I am not sure what
 should be the right fix. Either we must implement some callback similarly
 like in d.out.file toknow when the rendering is finished, or perhaps we
 should be able to specify if rendering should be run in parallel or not?

 [1]
 https://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/mapdisp/frame.py#L684

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2741>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list