[GRASS-dev] missing GetToolEnabled for digitizer in GRASS 6.4.2
Michael Barton
Michael.Barton at asu.edu
Mon Feb 27 13:26:14 EST 2012
I think I've found the reason that you cannot stop digitizing with a right click in GRASS 6.4.2.
A right click ultimately makes a call to GetToolEnabled. Either this method was never backported to 6.4.2 or the module that contains it is not imported. Because of the reorganized structure in 6.4.3, I can't tell where this is supposed to be in 6.4.2. Hopefully one of you recognize it and can find it.
Michael
======== error =========
self.toolbar.EnableUndo()
File "/Users/Shared/grass_dev/grass64stable/dist.i386
-apple-darwin11.3.0/etc/wxpython/gui_modules/toolbars.py",
line 735, in EnableUndo
if self.GetToolEnabled(self.undo) is False:
File "/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc
/python/wx/_controls.py", line 3892, in GetToolEnabled
wx._core
.
PyAssertionError
:
C++ assertion "tool" failed at /BUILD/wxPython-
src-2.8.12.1/src/common/tbarbase.cpp(543) in
GetToolEnabled(): no such tool
_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20120227/72b8ef0a/attachment.html
More information about the grass-dev
mailing list