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

Carlos Grohmann carlos.grohmann at gmail.com
Tue Mar 13 12:02:42 EDT 2012


Hello Anna, thanks for your help.

I _does_ compile now, and even launches, but the map display won't show any
map, just the grey background, and eventually it freezes, the layers in
gis.m start to blink and then I have to force quit it.

Here's my msgs from terminal and Console:

terminal



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):~ > 3D view mode:
dlopen(/Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_datetime.7.0.svn.dylib,
10): no suitable image found.  Did find:
 /Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_datetime.7.0.svn.dylib:
mach-o, but wrong architecture
/Applications/GRASS-7.0.app/Contents/MacOS/lib/libgrass_datetime.7.0.svn.dylib:
mach-o, but wrong architecture
/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/mapdisp/mapwindow.py",
line 322, in OnPaint
    self.PrepareDC(dc)
AttributeError: 'BufferedWindow' object has no attribute 'PrepareDC'
Traceback (most recent call last):
  File
"/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/mapdisp/mapwindow.py",
line 322, in OnPaint
    self.PrepareDC(dc)
AttributeError: 'BufferedWindow' object has no attribute 'PrepareDC'
2012-03-13 12:58:12.458 Python[58307:100f] -_continuousScroll is deprecated
for NSScrollWheel. Please use -hasPreciseScrollingDeltas.
2012-03-13 12:58:12.461 Python[58307:100f] -deviceDeltaX is deprecated for
NSScrollWheel. Please use -scrollingDeltaX.
2012-03-13 12:58:12.462 Python[58307:100f] -deviceDeltaY is deprecated for
NSScrollWheel. Please use -scrollingDeltaY.
GRASS 7.0.svn (cassiquiari):~ >



Console:

13/03/2012 12:58:12.461 Python: -_continuousScroll is deprecated for
NSScrollWheel. Please use -hasPreciseScrollingDeltas.
13/03/2012 12:58:12.462 Python: -deviceDeltaX is deprecated for
NSScrollWheel. Please use -scrollingDeltaX.
13/03/2012 12:58:12.463 Python: -deviceDeltaY is deprecated for
NSScrollWheel. Please use -scrollingDeltaY.
13/03/2012 12:59:28.000 kernel: IOSurface: buffer allocation size is zero


best

Carlos




2012/3/12 Anna Kratochvílová <kratochanna at gmail.com>

> On Mon, Mar 12, 2012 at 8:35 PM, Carlos Grohmann
> <carlos.grohmann at gmail.com> wrote:
> > 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:
>
> >
> "/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):~ >
> >
>
> Hi,
>
> please update and test it again, I tried to fix (r51052). Even if it
> helps, there could be more such problems.
>
> Anna
>
> >
> > 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.
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
>



-- 
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
---
http://www.igc.usp.br/pessoais/guano
http://www.igc.usp.br/openstereo<http://www.igc.usp.br/index.php?id=openstereo>
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/20120313/b4a4696a/attachment-0001.html


More information about the grass-user mailing list