#547: Raster query in wxGUI ---------------------+------------------------------------------------------ Reporter: hcho | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major | Milestone: 7.0.0 Component: wxGUI | Version: svn-trunk Resolution: | Keywords: raster, query Platform: Linux | Cpu: x86-32 ---------------------+------------------------------------------------------ Comment (by hcho):
OK, I think I figured out why it happens. r.what and v.what run in GMConsole.cmdThread.RunCmd, and cmdThread takes a snapshot of os.environ when it's initialized at goutput.py line 163. No changes made to os.environ afterward can be readable by any GRASS modules running in a thread. I guess this issue can cause other problems somewhere else. Still, I think we shouldn't use GRASS_REGION for r.what. Any comments? -- Ticket URL: <http://trac.osgeo.org/grass/ticket/547#comment:3> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev