Hi all,
I just compiled GRASS 6.3.0RC5 on Windows using MinGW; I report the following errors:
- grass63.bat doesn’t work! it says:
ERROR: LOCATION_NAME not set
where should I set it?
my grass63.bat is configured as follows:
@echo off
rem #########################################################################
rem #
rem # GRASS Initialization
rem #
rem #########################################################################
rem Environment variables****
rem Uncomment and set the following values if they differ from the indicated default
rem Directory where your .grassrc6 file will be stored
set HOME=%USERPROFILE%
rem Name of the wish (Tk) executable
set GRASS_WISH=wish.exe
rem Path to the shell command
rem (adjust to where you installed msys or another shell)
set GRASS_SH=c:\msys\bin\sh.exe
rem Path to utilities used by some scripts, such as awk, sed, etc
rem (adjust to where you installed msys, gnuwin32, or other similar utilises)
set PATH=%PATH%;c:\msys\bin;c:\msys\lib;c:\devtools\python
rem Path to your web browser
set GRASS_HTML_BROWSER=%PROGRAMFILES%\Mozilla Firefox\firefox.exe
rem Path to the proj files (notably the epsg projection list)
set GRASS_PROJSHARE=c:\msys\local\share\proj
set WINGISBASE=c:\msys\local\grass-6.3.0RC5
“%WINGISBASE%\etc\init.bat” %*
- If I start grass63 from MSYS it’s ok, while if I start with -wxpython it says
$ grass63 -wxpython
WELCOME TO GRASS Version 6.3.0RC5 2008
- Have at your side all available GRASS tutorials
- When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
- Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
Hit RETURN to continue
Starting GRASS …
Traceback (most recent call last):
File “C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py”, line 688, in
import gui_modules.gcmd as gcmd
File “C:\MSYS\local\grass-6.3.0RC5\etc\wxpython\gui_modules\gcmd.py”, line 38, in
from win32file import ReadFile, WriteFile
ImportError: No module named win32file
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue…
Redirection is not supported.
Marco@NOTEBOOKMARCO /usr/local/bin
Thanks for your help
Marco