[GRASS-dev] GRASS7 and wxnviz

Helena Mitasova hmitaso at ncsu.edu
Mon Nov 21 20:38:19 EST 2011


We have tried GRASS7 over the past couple days without much success: 

- Wingrass7 binary snapshot downloaded last week just flashes GUI and does not start (this might have been fixed since then?)

- Today's grass7 compiled ( after running make clean) on Mac still requires separate compilation of wxGUI (running make in gui/wxpython)
and wxnviz does not run - the error message is below. This is on Snow leopard (OS X 10.6.7)

Any hints on how to get it running will be appreciated

Thank you,

Helena
-------
Starting 3D view mode...
Traceback (most recent call last):
  File "/Users/helena/grassdev7/grass_trunk/dist.i386-apple-
darwin10.7.0/etc/gui/wxpython/gui_modules/toolbars.py", line
374, in OnSelectTool

self.parent.AddNviz()
  File "/Users/helena/grassdev7/grass_trunk/dist.i386-apple-
darwin10.7.0/etc/gui/wxpython/gui_modules/mapdisp.py", line
626, in AddNviz

self._layerManager.AddNvizTools()
  File "/Users/helena/grassdev7/GRASS-7.0.app/Contents/MacOS
/etc/gui/wxpython/wxgui.py", line 296, in AddNvizTools

display = self.curr_page.maptree.GetMapDisplay())
  File "/Users/helena/grassdev7/grass_trunk/dist.i386-apple-
darwin10.7.0/etc/gui/wxpython/gui_modules/nviz_tools.py",
line 265, in __init__

self.AddPage(page = self._createAnimationPage(),
  File "/Users/helena/grassdev7/grass_trunk/dist.i386-apple-
darwin10.7.0/etc/gui/wxpython/gui_modules/nviz_tools.py",
line 554, in _createAnimationPage

usage = "record", label = _("Record"))
  File "/Users/helena/grassdev7/grass_trunk/dist.i386-apple-
darwin10.7.0/etc/gui/wxpython/gui_modules/nviz_tools.py",
line 181, in __init__

BitmapTextButton.__init__(self, parent = parent, label = " "
+ label, **kwargs)
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
ib/python/wx-2.8-mac-unicode/wx/lib/buttons.py", line 466,
in __init__
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
ib/python/wx-2.8-mac-unicode/wx/lib/buttons.py", line 394,
in __init__
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
ib/python/wx-2.8-mac-unicode/wx/lib/buttons.py", line 431,
in SetBitmapLabel
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
ib/python/wx-2.8-mac-unicode/wx/_core.py", line 3444, in
ImageFromBitmap
wx._core
.
PyAssertionError
:
C++ assertion "Ok()" failed at
../src/mac/carbon/bitmap.cpp(1360) in ConvertToImage():
invalid bitmap



Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmitaso at ncsu.edu





More information about the grass-dev mailing list