[GRASS-dev] Re: [GRASS GIS] #693: wxGUI menus: i.ortho.photo locks up GUI

GRASS GIS trac at osgeo.org
Tue Dec 15 08:13:45 EST 2009


#693: wxGUI menus: i.ortho.photo locks up GUI
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at 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>


More information about the grass-dev mailing list