[GRASS-dev] [GRASS GIS] #1425: error in python _core.py from wxNVIZ

GRASS GIS trac at osgeo.org
Sun Aug 21 13:24:19 EDT 2011


#1425: error in python _core.py from wxNVIZ
---------------------------+------------------------------------------------
 Reporter:  cmbarton       |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  7.0.0                    
Component:  wxGUI          |     Version:  svn-trunk                
 Keywords:  mouse, wxNVIZ  |    Platform:  Unspecified              
      Cpu:  Unspecified    |  
---------------------------+------------------------------------------------
 The following code raises an error when a mouse click is registered in
 wxNVIZ

 {{{

 Create folder...

 /usr/local/tcltk_active/lib/...

 make links to the ActiveTcl framework binaries

 libtcl.dylib -> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
 libtcl8.5.dylib -> /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
 libtclstub8.5.a ->
 /Library/Frameworks/Tcl.framework/Versions/8.5/libtclstub8.5.a
 libtk.dylib -> /Library/Frameworks/Tk.framework/Versions/8.5/Tk
 libtk8.5.dylib -> /Library/Frameworks/Tk.framework/Versions/8.5/Tk
 libtkstub8.5.a ->
 /Library/Frameworks/Tk.framework/Versions/8.5/libtkstub8.5.a


 Then configure grass with:

 --with-tcltk-includes="/Library/Frameworks/Tcl.framework/Headers /
 Library/Frameworks/Tk.framework/Headers /Library/Frameworks/
 Tk.framework/PrivateHeaders" --with-tcltk-libs=/usr/local/tcltk_active/
 lib

 }}}

 The error is

 {{{

 Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/nviz_mapdisp.py",
 line 341, in OnMouseAction

 self.OnLeftUp(event)
   File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-
 darwin10.8.0/etc/gui/wxpython/gui_modules/nviz_mapdisp.py",
 line 475, in OnLeftUp

 self.ReleaseMouse()
   File "/Users/Shared/grass_dev/grass70_dev/macosx/dist/GRAS
 S-7.0.app/Contents/MacOS/etc/python/wx/_core.py", line 9744,
 in ReleaseMouse

 return _core_.Window_ReleaseMouse(*args, **kwargs)
 wx._core
 .
 PyAssertionError
 :
 C++ assertion "GetCapture() == this" failed at /BUILD
 /wxPython-src-2.8.12.0/src/common/wincmn.cpp(2536) in
 ReleaseMouse(): attempt to release mouse, but this window
 hasn't captured it

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1425>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list