[GRASS-user] Fail build GRASS 7.0 SVN on OS X and wx2.9

Carlos Grohmann carlos.grohmann at gmail.com
Mon Mar 12 15:35:26 EDT 2012


Hello, I just tried to rebuild my GRASS 7.0svn (which I do regularly) and,
although it builds,
it doesn't work.

I'm running OS X Lion, and just updated my wxpython to 2.9beta, since an
app I develop (OpenStereo)
uses it.

After making the GRASS.app (no errors detected by make), I got these errors:



Welcome to GRASS 7.0.svn
GRASS homepage:                          http://grass.osgeo.org
This version running through:            Bash Shell (/bin/bash)
Help is available with the command:      g.manual -i
See the licence terms with:              g.version -c
If required, restart the GUI with:       g.gui wxpython
When ready to quit enter:                exit

Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.svn (cassiquiari):~ >
/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py:54:
wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers'.
  wx.InitAllImageHandlers()
Traceback (most recent call last):
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
line 137, in <module>
    sys.exit(main())
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
line 130, in main
    app = GMApp(workspaceFile)
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
line 45, in __init__
    wx.App.__init__(self, False)
  File
"/usr/local/lib/wxPython-2.9.3.1/lib/python2.7/site-packages/wx-2.9.3-osx_cocoa/wx/_core.py",
line 8622, in __init__
    self._BootstrapApp()
  File
"/usr/local/lib/wxPython-2.9.3.1/lib/python2.7/site-packages/wx-2.9.3-osx_cocoa/wx/_core.py",
line 8187, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
line 76, in OnInit
    workspace = self.workspaceFile)
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py",
line 107, in __init__
    self.notebook  = self._createNoteBook()
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py",
line 255, in _createNoteBook
    self.goutput = GMConsole(self)
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/goutput.py",
line 239, in __init__
    self.MakeSearchPaneContent(self.searchPane.GetPane())
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/goutput.py",
line 341, in MakeSearchPaneContent
    self.search = SearchModuleWindow(parent = pane, cmdPrompt =
self.cmdPrompt)
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/ghelp.py",
line 84, in __init__
    self._layout()
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/ghelp.py",
line 90, in _layout
    gridSizer.AddGrowableCol(1)
  File
"/usr/local/lib/wxPython-2.9.3.1/lib/python2.7/site-packages/wx-2.9.3-osx_cocoa/wx/_core.py",
line 15372, in AddGrowableCol
    return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!m_cols || idx < (size_t)m_cols"
failed at /BUILD/wxPython-src-2.9.3.1/src/common/sizer.cpp(1956) in
AddGrowableCol(): invalid column index
GRASS 7.0.svn (cassiquiari):~ >


So, something with wx2.9...

thanks for any input.

best

Carlos



-- 
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
---
http://www.igc.usp.br/pessoais/guano
http://digitalelevation.wordpress.com/
http://lattes.cnpq.br/5846052449613692 (CV)
---
Twitter: @CarlosGrohmann
http://carlosgrohmann.tumblr.com/
________________
Can’t stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20120312/461bf8f1/attachment-0001.html


More information about the grass-user mailing list