<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>OK,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial><FONT
size=2>I intalled Python Extensions
(pywin32-210.win32-py2.5.exe)</FONT><FONT size=2> for Windows from <A
href="http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe">http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe</A></FONT><A
href="http://downloads.sourceforge.net/pywin32/"><FONT color=#000000
size=2></FONT></A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>Relaunched <FONT face="Courier New">grass63
-wxpython</FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>Now the new error is:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face="Courier New"
size=2>Starting GRASS ...<BR>Traceback (most recent call last):<BR> File
"C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 690, in
<module><BR> GRASSStartUp = StartUp(0)<BR> File
"C:\DevTools\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line
7836, in __init__<BR> self._BootstrapApp()<BR> File
"C:\DevTools\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line
7433, in _BootstrapApp<BR> return
_core_.PyApp__BootstrapApp(*args, **kwargs)<BR> File
"C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 674, in
OnInit<BR> StartUp = GRASSStartup()<BR> File
"C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 45, in
__init__<BR> self.grassrc =
self._read_grassrc()<BR> File
"C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 356, in
_read_grassrc<BR> key, val = line.split(":")<BR>ValueError:
too many values to unpack<BR>Error in GUI startup. If necessary,
please<BR>report this error to the GRASS developers.<BR>Switching to text mode
now.<BR>Hit RETURN to continue...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face="Courier New"
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>Ideas? Suggestions?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=687294620-28022008><FONT face=Arial
size=2>Marco</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=it dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Da:</B> grass-dev-bounces@lists.osgeo.org
[mailto:grass-dev-bounces@lists.osgeo.org] <B>Per conto di
</B>marco.pasetti@alice.it<BR><B>Inviato:</B> giovedì 28 febbraio 2008
18.43<BR><B>A:</B> grass-dev@lists.osgeo.org<BR><B>Oggetto:</B> [GRASS-dev]
winGRASS 6.3.0RC5 errors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I just compiled GRASS 6.3.0RC5 on Windows using
MinGW; I report the following errors:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1) grass63.bat doesn't work! it says:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ERROR: LOCATION_NAME not set</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>where should I set it?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>my grass63.bat is configured as
follows:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>@echo off<BR>rem
#########################################################################<BR>rem
#<BR>rem # GRASS Initialization<BR>rem #<BR>rem
#########################################################################</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem *******Environment
variables***********<BR>rem Uncomment and set the following values if they
differ from the indicated default</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Directory where your .grassrc6 file
will be stored<BR>set HOME=%USERPROFILE%</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Name of the wish (Tk) executable<BR>set
GRASS_WISH=wish.exe</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Path to the shell command <BR>rem
(adjust to where you installed msys or another shell)<BR>set
GRASS_SH=c:\msys\bin\sh.exe</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Path to utilities used by some scripts,
such as awk, sed, etc<BR>rem (adjust to where you installed msys, gnuwin32, or
other similar utilises)<BR>set
PATH=%PATH%;c:\msys\bin;c:\msys\lib;c:\devtools\python</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Path to your web browser<BR>set
GRASS_HTML_BROWSER=%PROGRAMFILES%\Mozilla Firefox\firefox.exe</FONT></DIV>
<DIV><FONT face="Courier New" size=2>rem Path to the proj files (notably the
epsg projection list)<BR>set
GRASS_PROJSHARE=c:\msys\local\share\proj</FONT></DIV>
<DIV><FONT face="Courier New" size=2>set
WINGISBASE=c:\msys\local\grass-6.3.0RC5<BR>"%WINGISBASE%\etc\init.bat"
%*</FONT><BR></DIV>
<DIV><FONT face=Arial size=2>2) If I start grass63 from MSYS it's ok, while if I
start with -wxpython it says</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>$ grass63 -wxpython</FONT></DIV>
<DIV><FONT face="Courier New" size=2>WELCOME TO
GRASS
Version 6.3.0RC5
2008</FONT></DIV>
<DIV><FONT face="Courier New" size=2> 1) Have at your side all
available GRASS tutorials</FONT></DIV>
<DIV><FONT face="Courier New" size=2> 2) When working on your
location, the following materials<BR> are
extremely useful:<BR> - A topo map of your
area<BR> - Current catalog of available computer
maps</FONT></DIV>
<DIV><FONT face="Courier New" size=2> 3) Check the GRASS webpages
for feedback mailinglists and more:<BR> </FONT><A
href="http://www.grass-gis.org"><FONT face="Courier New"
size=2>http://www.grass-gis.org</FONT></A><BR><FONT face="Courier New"
size=2> </FONT><A
href="http://grass.osgeo.org"><FONT face="Courier New"
size=2>http://grass.osgeo.org</FONT></A></DIV>
<DIV><FONT face="Courier New" size=2>Hit RETURN to continue</FONT></DIV>
<DIV><FONT face="Courier New" size=2>Starting GRASS ...<BR>Traceback (most
recent call last):<BR> File
"C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 688, in
<module><BR> import gui_modules.gcmd as gcmd<BR>
File "C:\MSYS\local\grass-6.3.0RC5\etc\wxpython\gui_modules\gcmd.py", line 38,
in <module><BR> from win32file import ReadFile,
WriteFile<BR>ImportError: No module named win32file<BR>Error in GUI startup. If
necessary, please<BR>report this error to the GRASS developers.<BR>Switching to
text mode now.<BR>Hit RETURN to continue...</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Redirection is not supported.</FONT></DIV>
<DIV><A href="mailto:Marco@NOTEBOOKMARCO"><FONT face="Courier New"
size=2>Marco@NOTEBOOKMARCO</FONT></A><FONT face="Courier New" size=2>
/usr/local/bin</FONT></DIV>
<P><FONT face=Arial size=2>Thanks for your help</FONT></P>
<P><FONT face=Arial size=2>Marco</FONT></P>
<DIV><BR></DIV></BODY></HTML>