[GRASS-dev] winGRASS: 'g.gui wxpython' fails when installed in "Program Files"

Glynn Clements glynn at gclements.plus.com
Tue Jan 19 06:26:09 EST 2010


Markus Neteler wrote:

> >> With winGRASS is installed in "Program Files", g.gui
> >> wxpython bails out with this error:
> >>
> >> GRASS 6.4.0svn (demolocation)> g.gui wxpython
> >> wxgui: can't open file 'C:/Program': [Errno 2] No such file
> >> or directory
> >
> > try with DEBUG=3
> 
> I think I did but it didn't report anything. Glynn suggested to
> substitute spawn.c with the version from GRASS 7.

I've fixed another issue with spawn.c in 7.0 and copied it to 6.5 (not
6.4 yet). I've tested 6.5 on Windows and "g.gui wxpython" works with
spaces in %GISBASE% and/or %GRASS_PYTHON% (all four combinations were
tested).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list