[GRASS-dev] GRASS 6.6 trunk GUI doesn't open

Martin Landa landa.martin at gmail.com
Mon Jun 21 04:43:51 EDT 2010


Hi,

2010/6/21 Paulo <pvanbmail-guard at yahoo.com>:

[...]

> line 278, in __createMenu
>     self.__createMenuItem(menu, *eachItem)
>   File "/usr/local/grass6.4.current/grass-6.4.0svn/etc/wxpython/wxgui.py",
> line 302, in __createMenuItem
>     rhandler = eval(handler)
>   File "<string>", line 1, in <module>
> AttributeError: 'GMFrame' object has no attribute 'DispMapCalculator'

you are probably using out-dated code (try to run `svn up`).
DispMapCalculator has been renamed to OnMapCalculator, see
http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/gui/wxpython/xml/menudata.xml#L860
and http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py#L1073.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list