<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Daniel,<br>
<br>
I have a one-month-old (apologize) wingrass 6.4.svn installed from
<a class="moz-txt-link-freetext" href="http://josef.fsv.cvut.cz/wingrass/">http://josef.fsv.cvut.cz/wingrass/</a> on windows7.<br>
<br>
<blockquote type="cite">
  <pre wrap="">Date: Mon, 5 Jul 2010 17:11:39 -0300
From: Daniel Victoria <a class="moz-txt-link-rfc2396E"
 href="mailto:daniel.victoria@gmail.com">&lt;daniel.victoria@gmail.com&gt;</a>


[...] Opening a separate MSys console
and executing /grass/bin/grass64svn will start the Select location
window and after I click on Start, Grass crashes with the following
error:



------------------------------------------------------------------------------------------------------------
$ grass64svn
Cleaning up temporary files ...
Starting GRASS ...
ATEN&Ccedil;&Atilde;O: Attention!
ATEN&Ccedil;&Atilde;O: Locking is not supported on Windows!
          __________  ___   __________    _______________
         / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
        / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
       \____/_/ |_/_/  |_/____/____/   \____/___//____/

Welcome to GRASS 6.4.0svn (2010)
GRASS homepage:                          <a
 class="moz-txt-link-freetext" href="http://grass.osgeo.org/">http://grass.osgeo.org/</a>
This version running thru:               GNU Bash (Cygwin) (/usr/bin/bash.exe)
  </pre>
</blockquote>
sounds like you are running through Cygwin ("GNU Bash (Cygwin)
(/usr/bin/bash.exe)") -- on my machine the MSys desktop link triggers a
welcome screen that at the same line says "Bourne Shell (/bin/sh)" (and
everything works as expected including the wxpython GUI):<br>
<br>
<blockquote><tt>Cleaning up temporary files ...</tt><br>
  <tt>Starting GRASS ...</tt><br>
  <tt>ATTENZIONE: Attention!</tt><br>
  <tt>ATTENZIONE: Locking is not supported on Windows!</tt><br>
  <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __________&nbsp; ___&nbsp;&nbsp; __________&nbsp;&nbsp;&nbsp; _______________</tt><br>
  <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / ____/ __ \/&nbsp;&nbsp; | / ___/ ___/&nbsp;&nbsp; / ____/&nbsp; _/ ___/</tt><br>
  <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / / __/ /_/ / /| | \__ \\_&nbsp; \&nbsp;&nbsp; / / __ / / \__ \ </tt><br>
  <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; / /_/ / _, _/ ___ |___/ /__/ /&nbsp; / /_/ // / ___/ / </tt><br>
  <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \____/_/ |_/_/&nbsp; |_/____/____/&nbsp;&nbsp; \____/___//____/&nbsp; </tt><br>
  <br>
  <tt>Welcome to GRASS 6.4.0svn (2010) </tt><br>
  <tt>GRASS homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://grass.osgeo.org/">http://grass.osgeo.org/</a></tt><br>
  <tt>This version running thru:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bourne Shell (/bin/sh)</tt><br>
  <tt>Help is available with the command:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g.manual -i</tt><br>
  <tt>See the licence terms with:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g.version -c</tt><br>
  <tt>If required, restart the GUI with:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g.gui wxpython</tt><br>
  <tt>When ready to quit enter:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit</tt><br>
</blockquote>
<tt><br>
GRASS 6.4&gt; </tt><br>
<br>
Do you by any chance have Cygwin bash.exe on your %PATH% environmental
variable?<br>
<br>
As for the Python errors you mention, I am not sure but it may again be
a problem related to %PATH% settings. It is indeed possible to have
heritage Cygwin/GRASS and the new native Wingrass running on the same
machine, but care must be taken to avoid messing with the global %PATH%.<br>
<br>
As for running R from GRASS, an approach I have found useful is to
follow the advice by Glynn Clements, i.e. not running GRASS from MSys
but instead use a simple DOS box started via a batch file that sets
required environmental variables to run GRASS, and then call the shell
executable sh.exe (shell scripts designed for Cygwin/GRASS run with
minimal adjustments -- mostly to cope with MSys path conventions
issues). Glynn has taken on this topic in a growing (thanks for your
patience, Glynn!) number of posts -- see for example:<br>
<a class="moz-txt-link-freetext" href="http://osgeo-org.1803224.n2.nabble.com/grass-start-bat-in-windows-tp4492202p4492202.html">http://osgeo-org.1803224.n2.nabble.com/grass-start-bat-in-windows-tp4492202p4492202.html</a><br>
<br>
Finally, when I have my GRASS-enabled DOS box, I just type R (of course
R needs to be in the %PATH%) and I am pretty much done.<br>
<br>
I hope this helps and sorry if I misunderstood your questions,<br>
<br>
Luigi<br>
<br>
</body>
</html>