[GRASS-dev] Current state of GUIs on Win32
Benjamin Ducke
benjamin.ducke at ufg.uni-kiel.de
Fri Mar 7 11:13:03 EST 2008
Hi all,
(not sure, but my last email seems to have disappeared somehow,
so here goes another try).
I have been trying the current versions of the GUIs (Tcl/Tk and
WxWidgets) using GRASS 6.3.rc5 on Win32 (MinGW/MSYS Build).
They all have a number of issues that make them less than a
pleasant experience for Windows users right now:
1. Tcl/Tk
Version 8.5.1 (GPL) works fine, NVIZ starts up, can visualize 3D DEM.
Hangs when trying to add a vector points map.
Tk 8.5.1 has new widgets that are closer to the Win native ones.
NVIZ uses those, but the module forms and gis.m don't, resulting in
a strange look and feel.
2. WxPython
I installed Python 2.5 and WxPython 2.8. I found that I also had to
install the Python Extensions for Windows from here:
http://sourceforge.net/project/showfiles.php?group_id=78018
Doing grass63 -wxpython then gave me:
Starting GRASS ...
Traceback (most recent call last):
File "C:/msys/1.0/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line
690, in <module>
GRASSStartUp = StartUp(0)
File
"C:\msys\1.0\local\python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7836, in __init__
self._BootstrapApp()
File
"C:\msys\1.0\local\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/1.0/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line
674, in OnInit
StartUp = GRASSStartup()
File "C:/msys/1.0/local/grass-6.3.0RC5/etc/wxpython/gis_set.py", line
45, in __init__
self.grassrc = self._read_grassrc()
File "C:/msys/1.0/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...
According to some Python forums:
The "too many values to unpack" indicates you don't have enough
variables in the [for (...) in <var>: ] construct.
... so is the WxPython GUI broken in RC5?
Anybody had better luck with WxPython on Win yet?
Cheers,
Benjamin
--
Benjamin Ducke
Senior Applications Support and Development Officer
Oxford Archaeological Unit Limited
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.
Tel.: ++44 (0)1865 263 800
benjamin.ducke at oxfordarch.co.uk
More information about the grass-dev
mailing list