#693: wxGUI menus: i.ortho.photo locks up GUI ---------------------+------------------------------------------------------ Reporter: hamish | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major | Milestone: 6.4.0 Component: wxGUI | Version: svn-develbranch6 Resolution: | Keywords: i.ortho.photo Platform: All | Cpu: x86-64 ---------------------+------------------------------------------------------ Comment (by hamish):
it still locked. the problem was that it was waiting for d.mon to return before launching into grass-run.src I've now combined Glynn's fix/explanation with Michael's Mac fix in r40019 for devbr6. I haven't backported to 6.4 yet pending testing. highlights: instead of gcmd.RunCommand() use gcmd.Command([list], wait=False). wait=False was needed allow the GUI to continue. I'm not sure of the RENDER_IMMEDIATE directly after. I assume it just has to be set for the launch of the command, and as soon as it is forked it can be set back. no idea if the WinNT version works or is even meaningful, as d.mon will have failed there ? Or does Cygwin will call its os.environ as Windows_NT so for that it is needed? I guess we could catch the d.mon call but really r.digit, i.ortho.photo, etc should be greyed out on native WinGrass before then. Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/693#comment:14> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev