wxGUI: g.setproj fails
|Reported by:||hamish||Owned by:|
(moved here from #693)
g.setproj fails on wxGUI wingrass 6.4.0.
the error is
Traceback (...): File "c:/Program Files/GRASS-64-SVN/etc/wxpython/wxgui.py", line 991, in OnXterm xmon = xmonlist IndexError : list index out of range
the main problem here is that g.setproj wants a terminal but it doesn't need a Xmon. So the menuform.xml hander should be changed to something new.
Currently OnXterm has a function parameter of NeedXmon = True/False (or something like that) which defaults to True. If we could figure out how to pass that option = False as part of the XML menu tree it would solve it.
Alternatively we could split out a new handler function, but it would mostly be duplication and only used for g.setproj.
Change History (18)
comment:12 by , 12 years ago
|Milestone:||6.4.2 → 6.5.0|
|Priority:||minor → major|
|Version:||svn-releasebranch64 → svn-develbranch6|
comment:13 by , 10 years ago
|Milestone:||6.5.0 → 6.4.4|
|Version:||svn-develbranch6 → svn-releasebranch64|
comment:15 by , 10 years ago
|CPU:||x86-32 → All|
|Platform:||MSWindows XP → All|
|Priority:||major → critical|
|Summary:||wxGUI: g.setproj fails on wingrass → wxGUI: g.setproj fails|