[GRASS-windows] GRASS 6.3.0RC5

Adam Baker adamb924 at gmail.com
Tue Mar 18 19:52:09 EDT 2008


Hello,
    Today I installed ActiveTcl 8.5.1.0, and then the installable
Windows binary for GRASS 6.3RC5. When I run the desktop icon or
grass63.bat directly, the console window flashes and nothing happens.
I commented the echo-off commands from grass63.bat and init.bat to see
if it was anything I could identify, but without success. The console
output is provided below. Any help is appreciated.

Thanks,
Adam

C:\GRASS>rem ###################################################################
######

C:\GRASS>rem #

C:\GRASS>rem # File dynamically created by NSIS installer script;

C:\GRASS>rem # Written by Marco Pasetti;

C:\GRASS>rem #

C:\GRASS>rem ###################################################################
######

C:\GRASS>rem #

C:\GRASS>rem # GRASS Initialization

C:\GRASS>rem #

C:\GRASS>rem # Modified by Marco Pasetti on March 8th, 2008

C:\GRASS>rem #

C:\GRASS>rem ###################################################################
######

C:\GRASS>rem Set GRASS Installation Directory Variable

C:\GRASS>set GRASSDIR=C:\GRASS

C:\GRASS>rem Directory where your .grassrc6 file will be stored

C:\GRASS>set HOME=C:\Documents and Settings\Adam Baker

C:\GRASS>rem Name of the wish (Tk) executable

C:\GRASS>set GRASS_WISH=wish.exe

C:\GRASS>rem Path to the shell command

C:\GRASS>set GRASS_SH=C:\GRASS\msys\bin\sh.exe

C:\GRASS>rem Set Path to extra libraries and bynaries used by GRASS

C:\GRASS>set PATH=C:\Tcl\bin;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Program F
iles\Common Files\SIL;C:\Program Files\SIL\FieldWorks\;C:\Program Files\PHP\;c:\
ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R2007b\
bin\win32;c:\matlab\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGR
A~1\ATT\Graphviz\bin;C:\Program Files\ImageJ\jre\bin;C:\Program Files\QuickTime\
QTSystem\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Qt\4.3.3\bin;C:\WINDOWS
\System32;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\
WINDOWS\System32;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Documents a
nd Settings\Adam Baker\My Documents\C\myutilities;c:\gmt\BIN;C:\netcdf;C:\GRASS\
msys\bin;C:\GRASS\extrabin;C:\GRASS\extralib

C:\GRASS>set PATH=C:\Tcl\bin;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Program F
iles\Common Files\SIL;C:\Program Files\SIL\FieldWorks\;C:\Program Files\PHP\;c:\
ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R2007b\
bin\win32;c:\matlab\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGR
A~1\ATT\Graphviz\bin;C:\Program Files\ImageJ\jre\bin;C:\Program Files\QuickTime\
QTSystem\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Qt\4.3.3\bin;C:\WINDOWS
\System32;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\
WINDOWS\System32;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Documents a
nd Settings\Adam Baker\My Documents\C\myutilities;c:\gmt\BIN;C:\netcdf;C:\GRASS\
msys\bin;C:\GRASS\extrabin;C:\GRASS\extralib;C:\GRASS\tcl-tk\bin;C:\GRASS\sqlite
\bin

C:\GRASS>rem Set Path to MSIE web browser

C:\GRASS>set GRASS_HTML_BROWSER=C:\Program Files/Internet Explorer/iexplore.exe


C:\GRASS>rem Path to the proj files (notably the epsg projection list)

C:\GRASS>set GRASS_PROJSHARE=C:\GRASS\proj

C:\GRASS>set WINGISBASE=C:\GRASS

C:\GRASS>"C:\GRASS\etc\init.bat"

C:\GRASS>rem @echo off

C:\GRASS>rem ###################################################################
######

C:\GRASS>rem

C:\GRASS>rem  MODULE:           GRASS Initialization

C:\GRASS>rem  AUTHOR(S):        Paul Kelly

C:\GRASS>rem

C:\GRASS>rem  PURPOSE:          The source file for this batch script is lib/ini
t/init.bat.

C:\GRASS>rem             It sets up some environment variables, default GISRC fi
le

C:\GRASS>rem             if necessary, etc. prior to starting GRASS proper.

C:\GRASS>rem             It is intended to be a native Windows replacement for I
nit.bat,

C:\GRASS>rem             but does not (yet) contain all the same functionality.


C:\GRASS>rem

C:\GRASS>rem             In particular also, GUI mode prints nothing to the term
inal

C:\GRASS>rem             and does not expect or provide an interactive terminal


C:\GRASS>rem             running in addition to the GUI display.

C:\GRASS>rem

C:\GRASS>rem  COPYRIGHT: (C) 2006 by the GRASS Development Team

C:\GRASS>rem

C:\GRASS>rem             This program is free software under the GNU General Pub
lic

C:\GRASS>rem            License (>=v2). Read the file COPYING that comes with GR
ASS

C:\GRASS>rem            for details.

C:\GRASS>rem

C:\GRASS>rem ###################################################################
######

C:\GRASS>set SAVEPATH=C:\Tcl\bin;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Progr
am Files\Common Files\SIL;C:\Program Files\SIL\FieldWorks\;C:\Program Files\PHP\
;c:\ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WIND
OWS\System32\Wbem;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R20
07b\bin\win32;c:\matlab\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;C:\P
ROGRA~1\ATT\Graphviz\bin;C:\Program Files\ImageJ\jre\bin;C:\Program Files\QuickT
ime\QTSystem\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Qt\4.3.3\bin;C:\WIN
DOWS\System32;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin
;C:\WINDOWS\System32;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Documen
ts and Settings\Adam Baker\My Documents\C\myutilities;c:\gmt\BIN;C:\netcdf;C:\GR
ASS\msys\bin;C:\GRASS\extrabin;C:\GRASS\extralib;C:\GRASS\tcl-tk\bin;C:\GRASS\sq
lite\bin

C:\GRASS>rem DON'T include scripts directory in PATH - .bat files in bin directo
ry

C:\GRASS>rem are used to run scripts on Windows

C:\GRASS>if "" == "" set PATH=C:\GRASS\bin;C:\GRASS\lib;C:\Tcl\bin;C:\Program Fi
les\MiKTeX 2.7\miktex\bin;C:\Program Files\Common Files\SIL;C:\Program Files\SIL
\FieldWorks\;C:\Program Files\PHP\;c:\ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\W
INDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\MATLAB\R200
7b\bin;C:\Program Files\MATLAB\R2007b\bin\win32;c:\matlab\bin\win32;C:\Program F
iles\Common Files\GTK\2.0\bin;C:\PROGRA~1\ATT\Graphviz\bin;C:\Program Files\Imag
eJ\jre\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Ser
ver 5.0\bin;c:\Qt\4.3.3\bin;C:\WINDOWS\System32;C:\cygwin\bin;C:\cygwin\usr\X11R
6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Qt\4.3.3\bin;C:\MinGW\
bin;C:\WINDOWS\System32;C:\Documents and Settings\Adam Baker\My Documents\C\myut
ilities;c:\gmt\BIN;C:\netcdf;C:\GRASS\msys\bin;C:\GRASS\extrabin;C:\GRASS\extral
ib;C:\GRASS\tcl-tk\bin;C:\GRASS\sqlite\bin

C:\GRASS>if not "" == "" set PATH=C:\GRASS\bin;C:\GRASS\lib;;C:\GRASS\bin;C:\GRA
SS\lib;C:\Tcl\bin;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Program Files\Common
 Files\SIL;C:\Program Files\SIL\FieldWorks\;C:\Program Files\PHP\;c:\ruby\bin;C:
\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wb
em;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R2007b\bin\win32;c
:\matlab\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGRA~1\ATT\Gra
phviz\bin;C:\Program Files\ImageJ\jre\bin;C:\Program Files\QuickTime\QTSystem\;C
:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Qt\4.3.3\bin;C:\WINDOWS\System32;C
:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\Sys
tem32;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Documents and Settings
\Adam Baker\My Documents\C\myutilities;c:\gmt\BIN;C:\netcdf;C:\GRASS\msys\bin;C:
\GRASS\extrabin;C:\GRASS\extralib;C:\GRASS\tcl-tk\bin;C:\GRASS\sqlite\bin

C:\GRASS>set GRASS_VERSION=6.3.0RC5

C:\GRASS>if "C:\Documents and Settings\Adam Baker" == "" set HOME=C:\Documents a
nd Settings\Adam Baker

C:\GRASS>set WINGISRC=C:\Documents and Settings\Adam Baker\.grassrc6

C:\GRASS>rem Make sure  is set so g.dirseps will work

C:\GRASS>rem (not actually used)

C:\GRASS>set GISRC=junk

C:\GRASS>rem Generate GISBASE by converting dirsep characters from \ to /

C:\GRASS>FOR /F "usebackq delims==" %i IN (`g.dirseps -g "C:\GRASS"`) DO @set GI
SBASE=%i

C:\GRASS>set GRASS_PAGER=more

C:\GRASS>if "wish.exe" == "" set GRASS_WISH=wish.exe

C:\GRASS>if "C:\GRASS\msys\bin\sh.exe" == "" set GRASS_SH=c:\msys\1.0\bin\sh.exe


C:\GRASS>rem Should do something with "assoc .html" and ftype here but would req
uire

C:\GRASS>rem a new g.manual.bat too so leaving it like this for now...

C:\GRASS>if "C:\Program Files/Internet Explorer/iexplore.exe" == "" set GRASS_HT
ML_BROWSER=C:/PROGRA~1/INTERN~1/IEXPLORE.EXE

C:\GRASS>if "C:\GRASS\proj" == "" set GRASS_PROJSHARE=/usr/local/share/proj

C:\GRASS>if "" == "-version" goto displaylicence

C:\GRASS>if "" == "-v" goto displaylicence

C:\GRASS>if "" == "-text" goto settextmode

C:\GRASS>if "" == "-tcltk" goto setguimode

C:\GRASS>if "" == "-gui" goto setguimode

C:\GRASS>if exist "C:\Documents and Settings\Adam Baker\.grassrc6" goto aftercre
ategisrc

C:\GRASS>rem Create an initial GISRC file based on current directory

C:\GRASS>"C:\GRASS\etc\echo" "GISDBASE: C:\GRASS"   | g.dirseps -g  1>"C:\Docume
nts and Settings\Adam Baker\.grassrc6"

C:\GRASS>"C:\GRASS\etc\echo" "LOCATION_NAME: <UNKNOWN>"  1>>"C:\Documents and Se
ttings\Adam Baker\.grassrc6"

C:\GRASS>"C:\GRASS\etc\echo" "MAPSET: <UNKNOWN>"  1>>"C:\Documents and Settings\
Adam Baker\.grassrc6"

C:\GRASS>rem Now set the real GISRC

C:\GRASS>FOR /F "usebackq delims==" %i IN (`g.dirseps -g "C:\Documents and Setti
ngs\Adam Baker\.grassrc6"`) DO @set GISRC=%i

C:\GRASS>rem Set GRASS_GUI

C:\GRASS>if "" == "" (FOR /F "usebackq delims==" %i IN (`g.gisenv "get=GRASS_GUI
"`) DO @set GRASS_GUI=%i )  else (g.gisenv "set=GRASS_GUI=" )

C:\GRASS>rem Set tcltk as default if not specified elsewhere

C:\GRASS>if "" == "" set GRASS_GUI=tcltk

C:\GRASS>"C:\GRASS\etc\clean_temp"  1>NUL:
access: Invalid argument
ERROR: LOCATION << C:/GRASS/<UNKNOWN> >> not available

C:\GRASS>if "tcltk" == "text" goto text

C:\GRASS>if not "wish.exe" == "" ("wish.exe" "C:\GRASS\etc\gis_set.tcl" )  else
("C:\GRASS\etc\gis_set.tcl")

C:\GRASS>rem This doesn't seem to work; don't understand return codes from gis_s
et.tcl PK

C:\GRASS>rem if return ok, gis.m start:

C:\GRASS>if 0 == 2 goto exitinit

C:\GRASS>if not "wish.exe" == "" ("wish.exe" "C:\GRASS\etc\gm\gm.tcl" )  else ("
C:\GRASS\etc\gm\gm.tcl")

C:\GRASS>"C:\GRASS\etc\clean_temp"  1>NUL:
access: Invalid argument
ERROR: LOCATION << C:/GRASS/<UNKNOWN> >> not available

C:\GRASS>goto exitinit

C:\GRASS>set PATH=C:\Tcl\bin;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\Program F
iles\Common Files\SIL;C:\Program Files\SIL\FieldWorks\;C:\Program Files\PHP\;c:\
ruby\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\
System32\Wbem;C:\Program Files\MATLAB\R2007b\bin;C:\Program Files\MATLAB\R2007b\
bin\win32;c:\matlab\bin\win32;C:\Program Files\Common Files\GTK\2.0\bin;C:\PROGR
A~1\ATT\Graphviz\bin;C:\Program Files\ImageJ\jre\bin;C:\Program Files\QuickTime\
QTSystem\;C:\Program Files\MySQL\MySQL Server 5.0\bin;c:\Qt\4.3.3\bin;C:\WINDOWS
\System32;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\
WINDOWS\System32;C:\Qt\4.3.3\bin;C:\MinGW\bin;C:\WINDOWS\System32;C:\Documents a
nd Settings\Adam Baker\My Documents\C\myutilities;c:\gmt\BIN;C:\netcdf;C:\GRASS\
msys\bin;C:\GRASS\extrabin;C:\GRASS\extralib;C:\GRASS\tcl-tk\bin;C:\GRASS\sqlite
\bin

C:\GRASS>set SAVEPATH=

C:\GRASS>exit /b

C:\GRASS>


More information about the grass-windows mailing list