Hi all,
 
I just compiled GRASS 6.3.0RC5 on Windows using MinGW; I report the following 
errors:
 
1) 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" %*

2) 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
   1) Have at your side all available GRASS tutorials
   2) When working on your location, the following materials
      are extremely useful:
      - A topo map of your area
      - Current catalog of available computer maps
   3) Check the GRASS webpages for feedback mailinglists and more:
      http://www.grass-gis.org <http://www.grass-gis.org> 
      http://grass.osgeo.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 
<module>
    import gui_modules.gcmd as gcmd
  File "C:\MSYS\local\grass-6.3.0RC5\etc\wxpython\gui_modules\gcmd.py", line 
38, in <module>
    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.
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  /usr/local/bin

Thanks for your help

Marco


_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to