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

Anna Kratochvílová KratochAnna at seznam.cz
Fri Jul 1 03:16:56 EDT 2011


Hello Helena and Michael,

> I just updated GRASS7 and wxpython and wxnviz works OK for me.
> The only error that I get is this (when quitting wxpython)
> 
> pythonw2.6(41179,0xa05a8540) malloc: *** error for object 0x1d43edf0: pointer
> being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug

I don't get this error and it's hard to tell where the problem is.



>> On Jun 30, 2011, at 4:06 PM, Michael Barton wrote: 
> > 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.

According to the traceback the problem occurs when switching to command output page. Do you have this problem in any other cases (eg. query raster map with Map layer tab selected)?

Anna









> > 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
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
> 
> 
> 


More information about the grass-dev mailing list