[GRASS-dev] wxpython not working in GRASS 7 Mac OSX

Michael Barton Michael.Barton at asu.edu
Thu Jun 30 16:06:34 EDT 2011


I just compiled from the most recent svn version of trunk. When I go to display something in the 3D mode (wxnviz), I get the following error. The map does not display and the 3D control panel does not launch.

GRASS 7.0.svn (Spearfish60_test):~ > Traceback (most recent call last):
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/toolbars.py", line 325, in OnSelectTool
    self.parent.AddToolbar("nviz")
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/mapdisp.py", line 473, in AddToolbar
    self._addToolbarNviz()
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/mapdisp.py", line 386, in _addToolbarNviz
    self._layerManager.goutput.WriteCmdLog(_("Starting 3D view mode..."))
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/goutput.py", line 417, in WriteCmdLog
    self.WriteLog(line, style=self.cmd_output.StyleCommand, switchPage = True)
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/goutput.py", line 388, in WriteLog
    self._notebook.SetSelectionByName('output')
  File "/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.8.0/etc/gui/wxpython/gui_modules/menuform.py", line 2071, in SetSelectionByName
    self.SetSelection(self.GetPageIndexByName(page))
  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python/wx/lib/agw/flatnotebook.py", line 4174, in SetSelection
    self._mainSizer.Insert(0, self._windows[page], 1, wx.EXPAND)
  File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py", line 12707, in Insert
    return _core_.Sizer_Insert(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!sizer || m_containingSizer != sizer" failed at /BUILD/wxPython-src-2.8.12.0/src/common/wincmn.cpp(1884) in SetContainingSizer(): Adding a window to the same sizer twice?
GRASS 7.0.svn (Spearfish60_test):~ >


Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu













More information about the grass-dev mailing list