<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>V.digit issues with TCL</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>
<DIV dir=ltr align=left><SPAN class=639292114-09112007><FONT face=Arial
color=#0000ff size=2>One other message I get is a "Error is startup script"
dialogue</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=639292114-09112007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=639292114-09112007><FONT face=Arial
color=#0000ff size=2>can't find package BWidget 1.2.1 while
executing</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=639292114-09112007><FONT face=Arial
color=#0000ff size=2>"package require -exact BWidget 1.2.1"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=639292114-09112007><FONT face=Arial
color=#0000ff size=2>(file
"c:\GRASS\grass\grass-6.3.cvs/etc/v.digit/toolbox.tcl" line
2)</FONT></SPAN></DIV></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> wingrass-bounces@grass.itc.it
[mailto:wingrass-bounces@grass.itc.it] <B>On Behalf Of </B>Sampson,
David<BR><B>Sent:</B> Friday, November 09, 2007 09:14<BR><B>To:</B>
wingrass@grass.itc.it<BR><B>Subject:</B> [winGRASS] V.digit issues with
TCL<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-ca><FONT face=Arial size=2>Hey Folks,</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>Trying some new functions with the
GRASS win binary.</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>I can use the GUI no problem, but
todays issue is with v.digit.</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>I have one vector file of a road
network loaded. I wanted to do some edits to find nodes and such manualy
as v.to.points for nodes and vertices returned nothing.</FONT></SPAN></P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>I got a message saying the v.digit
could not find init.tcl</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>My TCL is in
C:\Tcl\lib\tcl8.4</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>And the file exists, but the
directory is never checked….</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>Instead it tries to look in my
apache2triad directory and a bunch of GRASS directories.</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>I tried putting ina shortcut from
the apache2triad directory to connect (sorta line a symbolic link in linux)
but no glory. I also created a TCL env variable and added it to the path,
still nothing.</FONT></SPAN></P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>The message ends "This probably
means that TCL wasn't installed properly"</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>I believe I followed the extra
install steps….</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>The following is my batch
file</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial
size=2>========================</FONT></SPAN> <BR><SPAN lang=en-ca><FONT
face=Arial size=2>@echo off</FONT></SPAN> <BR><SPAN lang=en-ca><FONT
face=Arial size=2>rem
#########################################################################</FONT></SPAN>
<BR><SPAN lang=en-ca><FONT face=Arial size=2>rem #</FONT></SPAN> <BR><SPAN
lang=en-ca><FONT face=Arial size=2>rem #
GRASS Initialization</FONT></SPAN>
<BR><SPAN lang=en-ca><FONT face=Arial size=2>rem #</FONT></SPAN> <BR><SPAN
lang=en-ca><FONT face=Arial size=2>rem
#########################################################################</FONT></SPAN>
</P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem *******Environment
variables***********</FONT></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial
size=2>rem Uncomment and set the following values if they differ from the
indicated default</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem Directory where your .grassrc6
file will be stored</FONT></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial
size=2>rem set HOME=%USERPROFILE%</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem Name of the wish (Tk)
executable</FONT></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial size=2>rem set
GRASS_WISH=wish.exe</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem Path to the shell command
</FONT></SPAN><BR><SPAN lang=en-ca><FONT face=Arial size=2>set
GRASS_SH=c:\msys\1.0\bin\sh.exe</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem Path to your web
browser</FONT></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial size=2>rem set
GRASS_HTML_BROWSER=%SYSTEMDRIVE%\PROGRA~1\INTERN~1\IEXPLORE.EX</FONT></SPAN>
<BR><SPAN lang=en-ca><FONT face=Arial size=2>set GRASS_HTML_BROWSER=C:\Program
Files\Mozilla Firefox\firefox.exe</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>rem Path to the proj files
(notably the epsg projection list)</FONT></SPAN> <BR><SPAN lang=en-ca><FONT
face=Arial size=2>rem set GRASS_PROJSHARE=\c\grass\share\proj</FONT></SPAN>
<BR><SPAN lang=en-ca><FONT face=Arial size=2>set
GRASS_PROJSHARE=C:\GRASS\grass\share\proj</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>set
WINGISBASE=c:\GRASS\grass\grass-6.3.cvs</FONT></SPAN> <BR><SPAN
lang=en-ca><FONT face=Arial size=2>"%WINGISBASE%\etc\init.bat"
%*</FONT></SPAN> <BR><SPAN lang=en-ca><FONT face=Arial
size=2>========================</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>All the regualr windows can find
TCL just fine… am I missing something else?...</FONT></SPAN> </P>
<P><SPAN lang=en-ca><FONT face=Arial size=2>Is this a script thing, a python
thing, an environemnt variable thing</FONT></SPAN><SPAN lang=en-us></SPAN>
</P></BLOCKQUOTE></BODY></HTML>