On Mon, Sep 7, 2009 at 1:28 AM, William Kyngesburye<[email protected]> wrote: > I had some problems getting wxpython GUI to run after upgrading to OSX 10.6 > Snow Leopard. I thought I might need to rebuild (I was using the Leopard > binaries), but that doesn't help. > > When I got GRASS to execute to correct Python (another issue I know how to > workaround), starting the GUI does nothing. With DEBUG level 5, I get: > > GRASS 6.5.svn (spearfish60):~ > g.gui wxpython > D1/5: Attempting to start 'wxpython' GUI ... > D3/5: forking 'python' ... > re-executing using pythonw > GRASS 6.5.svn (spearfish60):~ > > > And the GUI never appears.
I have tried here on Mandriva 64bit GRASS 6.5.svn (patUTM32):~/grass65 > g.gisenv set=DEBUG=5 GRASS 6.5.svn (patUTM32):~/grass65 > g.gui wxpython D1/5: Attempting to start 'wxpython' GUI ... D3/5: forking 'python' ... GRASS 6.5.svn (patUTM32):~/grass65 > Same thing - old map appears, disappears and that's it. On Mon, Sep 7, 2009 at 5:37 AM, William Kyngesburye<[email protected]> wrote: > After some tinkering, I found that the utils.reexec_with_pythonw() is not > working. I was able to manually run the GUI by commenting the > utils.reexec_with_pythonw() lines in wxgui.py and menuform.py and starting > the gui with > > pythonw "$GISBASE/etc/wxpython/wxgui.py" I see it only in wxgui.py: Index: wxgui.py =================================================================== --- wxgui.py (revision 39055) +++ wxgui.py (working copy) @@ -1608,7 +1608,7 @@ # # reexec for MacOS # - utils.reexec_with_pythonw() + #utils.reexec_with_pythonw() # # process command-line arguments Unfortunately it does not help. I see http://trac.osgeo.org/grass/ticket/594 which seems to be related. Perhaps some more magic is needed (bad URL with spaces)? http://wiki.wxpython.org/Automatically Calling pythonw on Mac OS X Markus _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
