Hi all,
I reinstalled Python (2.5.2) + Python Extensions for Windows (Build 210 - py2.5) + WxPython (2.8.7.1 - unicode - py25) but I still have the same errror (follows):
http://www.webalice.it/marco.pasetti/temp/grass_bugs/bug002.png
Then, after pressing ok button, reports as follows in MSYS console:
Marco@NOTEBOOKMARCO /usr/local/bin
$ grass63 -wxpython
Cleaning up temporary files…
Starting GRASS …
WARNING: Attention!
WARNING: Locking is not supported on Windows!
GRASS GUI should be wxpython
/ / __ / | / / / / __/ / /
/ / __/ // / /| | _ \ \ / / __ / / _
/ // / , / ___ |/ // / / // // / / /
_// |// |/// _///_/
Welcome to GRASS 6.3.0RC6 (2008)
GRASS homepage: http://grass.osgeo.org/
This version running thru: Bourne Shell (/bin/sh)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit
GRASS 6.3.0RC6 (SIT-Lombardia):C:/MSYS/local/bin >
profile.py:
This module requires the NumPy module,
which could not be imported. It probably is not installed
(it’s not part of the standard Python distribution). See the
Numeric Python site (http://numpy.scipy.org) for information on
downloading source or binaries.
Traceback (most recent call last):
File “C:/MSYS/local/grass-6.3.0RC6/etc/wxpython/wxgui.py”, line 1358, in
sys.exit(main())
File “C:/MSYS/local/grass-6.3.0RC6/etc/wxpython/wxgui.py”, line 1351, in main
app = GMApp(workspaceFile)
File “C:/MSYS/local/grass-6.3.0RC6/etc/wxpython/wxgui.py”, line 1273, in init
wx.App.init(self, False)
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.0RC6/etc/wxpython/wxgui.py”, line 1289, in OnInit
workspace = self.workspaceFile)
File “C:/MSYS/local/grass-6.3.0RC6/etc/wxpython/wxgui.py”, line 158, in init
self.NewDisplay(show=False)
File “C:/MSYS/local/grass-6.3.0RC6/etc/wxpython/wxgui.py”, line 1025, in NewDisplay
auimgr=self._auimgr, showMapDisplay=show)
File “C:\MSYS\local\grass-6.3.0RC6\etc\wxpython\gui_modules\wxgui_utils.py”, line 76, in init
self.Map = render.Map() # instance of render.Map to be associated with display
File “C:\MSYS\local\grass-6.3.0RC6\etc\wxpython\gui_modules\render.py”, line 210, in init
self.InitRegion()
File “C:\MSYS\local\grass-6.3.0RC6\etc\wxpython\gui_modules\render.py”, line 244, in InitRegion
self.SetRegion()
File “C:\MSYS\local\grass-6.3.0RC6\etc\wxpython\gui_modules\render.py”, line 462, in SetRegion
self.region = self.__adjustRegion()
File “C:\MSYS\local\grass-6.3.0RC6\etc\wxpython\gui_modules\render.py”, line 296, in __adjustRegion
mapwidth = abs(self.region[“e”] - self.region[“w”])
KeyError: ‘e’
Martin, I really don’t know why it works for you and not for me! There’s something frustrating in that, because you followed the guide I wrote… and that I, obviously, followed too!
Marco