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

Markus Neteler neteler at osgeo.org
Wed Jan 27 10:54:48 EST 2010


On Tue, Jan 19, 2010 at 12:26 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> 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).

For the record: backported to 6.4 and it works as well.

Markus


More information about the grass-dev mailing list