[GRASS-dev] [GRASS GIS] #889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%

#889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%
---------------------+------------------------------------------------------
Reporter: lponti | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Keywords: | Platform: MSWindows Vista
      Cpu: x86-32 |
---------------------+------------------------------------------------------
Current standalone winGRASS installer (I used that of 20 Jan 2010 on
Windows 7) defaults to %ProgramFiles% and this seems to prevent all sh.
exe-based commands to work properly. E.g. d.shadedmap and r.shaded.relief
fail with the following error message:

{{{
r.shaded.relief map=dem
/c/Program: Files\GRASS-64-SVN\msys\bin\sh.exe: No such file
or directory
}}}

This should be related to
http://trac.osgeo.org/grass/ticket/714
http://lists.osgeo.org/pipermail/grass-dev/2010-January/048199.html

Also see this post:
http://n2.nabble.com/GUI-with-python-scripts-tp4435076p4440590.html

which says that installing 6.4.0-SVN snapshots in %ProgramFiles% won't
work until the recent changes to the G_spawn* functions have been back-
ported. The current 6.4.0 code is known not to work with spaces in
$GISBASE. 6.5 should work (although based upon recent comments, MSys might
need to be installed in C:\msys).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/889&gt;
GRASS GIS <http://grass.osgeo.org>

#889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%
------------------------------+---------------------------------------------
  Reporter: lponti | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by hamish):

  * keywords: => wingrass

Comment:

please use the 'wingrass' keyword for wingrass bugs, thanks. H

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/889#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%
------------------------------+---------------------------------------------
  Reporter: lponti | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords: wingrass
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Comment (by hamish):

hi, could you try the latest nightly wingrass build? I think this is now
fixed.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/889#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#889: Msys-based commands fail when winGRASS is installed in %ProgramFiles%
------------------------------+---------------------------------------------
  Reporter: lponti | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: fixed | Keywords: wingrass
  Platform: MSWindows Vista | Cpu: x86-32
------------------------------+---------------------------------------------
Changes (by lponti):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:2 hamish]:
> hi, could you try the latest nightly wingrass build? I think this is now
fixed.
>

Hi, I tried r.shaded.relief with WinGRASS-6.4.SVN-r41137 and it works
perfectly fine.[[BR]]
I changed the ticket to fixed: is this OK?[[BR]]
Thanks,[[BR]]
Luigi

>
> Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/889#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>