#594: wx GUI won't start (Mac OS X 10.5.6) / Python 2.6 / wxWidgets 2.8.10 / wxPyhton 2.8.9.2 ---------------------+------------------------------------------------------ Reporter: vince | Owner: grass-dev@lists.osgeo.org Type: defect | Status: reopened Priority: major | Milestone: 6.4.0 Component: wxGUI | Version: 6.4.0 RCs Resolution: | Keywords: wxGUI does not load Platform: MacOSX | Cpu: x86-64 ---------------------+------------------------------------------------------ Comment (by hamish):
Replying to [comment:3 vince]: > Ok, I have a fix. > In g.gui main.c, the "python" string should be replaced by the > full path leading to pythonw-32. > Next, the Python function reexec_with_pythonw should be > emptied, and replaced by a pass. > It then works. ok, so for g.gui it should use G_getenv("GRASS_PYTHON") instead of hardcoding "python", just like it does for GRASS_WISH. {{{ - G_spawn("python", "wxgui", progname, NULL); + G_spawn(G_getenv("GRASS_PYTHON"), "wxgui", progname, NULL); }}} shouldn't GRASS_WISH use G_getenv() there instead of getenv() directly? Hamish -- Ticket URL: <https://trac.osgeo.org/grass/ticket/594#comment:5> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev