R: [GRASS-dev] winGRASS 6.3.0RC5 errors
Marco Pasetti
marco.pasetti at alice.it
Thu Feb 28 15:56:45 EST 2008
OK,
I intalled Python Extensions (pywin32-210.win32-py2.5.exe) for Windows from
http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe
<http://downloads.sourceforge.net/pywin32/>
Relaunched grass63 -wxpython
Now the new error is:
Starting GRASS ...
Traceback (most recent call last):
File "C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 690, in
<module>
GRASSStartUp = StartUp(0)
File
"C:\DevTools\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line
7836, in __init__
self._BootstrapApp()
File
"C:\DevTools\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line
7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 674, in
OnInit
StartUp = GRASSStartup()
File "C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 45, in
__init__
self.grassrc = self._read_grassrc()
File "C:/MSYS/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line 356, in
_read_grassrc
key, val = line.split(":")
ValueError: too many values to unpack
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now.
Hit RETURN to continue...
Ideas? Suggestions?
Thanks
Marco
_____
Da: grass-dev-bounces at lists.osgeo.org
[mailto:grass-dev-bounces at lists.osgeo.org] Per conto di
marco.pasetti at alice.it
Inviato: giovedì 28 febbraio 2008 18.43
A: grass-dev at lists.osgeo.org
Oggetto: [GRASS-dev] winGRASS 6.3.0RC5 errors
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.
<mailto:Marco at NOTEBOOKMARCO> Marco at NOTEBOOKMARCO /usr/local/bin
Thanks for your help
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080228/4c0b5a7f/attachment-0001.html
More information about the grass-dev
mailing list