<HTML>
<HEAD>
<TITLE>problem with wxPython 2.8.4.2 on Mac</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I recently updated from wxPython 2.8.4.0 to 2.8.4.2 on my Mac, using the binaries supplied at the wxPython site.<BR>
<BR>
After updating, wxgrass crashed with the error listed below. After I uninstalled 2.8.4.2 and reinstalled 2.8.4.0, it runs fine.<BR>
<BR>
I've posted this to the wxPython bug list too.<BR>
<BR>
Michael<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
Director of Graduate Studies<BR>
School of Human Evolution &amp; Social Change &nbsp;&nbsp;&nbsp;<BR>
Center for Social Dynamics &amp; Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
========== error generated by wxPython 2.8.4.2 ===========<BR>
<BR>
</SPAN></FONT><SPAN STYLE='font-size:12.0px'><FONT FACE="Helvetica, Verdana, Arial">GRASS 6.3.cvs (spearfish60_test):~ &gt; Digitization tool is disabled.<BR>
Under development...<BR>
CGBitmapContextCreate: invalid data bytes/row: should be at least 4 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.<BR>
CGContextConcatCTM: invalid context<BR>
CGContextConcatCTM: invalid context<BR>
Traceback (most recent call last):<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py&quot;, line 945, in &lt;module&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;app = GMApp(0)<BR>
&nbsp;&nbsp;File &quot;//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py&quot;, line 7819, in __init__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self._BootstrapApp()<BR>
&nbsp;&nbsp;File &quot;//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py&quot;, line 7416, in _BootstrapApp<BR>
&nbsp;&nbsp;&nbsp;&nbsp;return _core_.PyApp__BootstrapApp(*args, **kwargs)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py&quot;, line 927, in OnInit<BR>
&nbsp;&nbsp;&nbsp;&nbsp;mainframe = GMFrame(parent=None, id=wx.ID_ANY, title=&quot;&quot;)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py&quot;, line 189, in __init__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self.NewDisplay()<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py&quot;, line 585, in NewDisplay<BR>
&nbsp;&nbsp;&nbsp;&nbsp;auimgr=self._auimgr)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/wxgui_utils.py&quot;, line 133, in __init__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Map=self.Map, auimgr=self.auimgr)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py&quot;, line 1518, in __init__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self.MapWindow = BufferedWindow(self, id = wx.ID_ANY, Map=self.Map, tree=self.tree)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py&quot;, line 212, in __init__<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self.OnSize(None)<BR>
&nbsp;&nbsp;File &quot;/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py&quot;, line 409, in OnSize<BR>
&nbsp;&nbsp;&nbsp;&nbsp;self._Buffer = wx.EmptyBitmap(self.Map.width, self.Map.height)<BR>
&nbsp;&nbsp;File &quot;//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_gdi.py&quot;, line 718, in EmptyBitmap<BR>
&nbsp;&nbsp;&nbsp;&nbsp;val = _gdi_.new_EmptyBitmap(*args, **kwargs)<BR>
wx._core.PyAssertionError: C++ assertion &quot;m_hBitmap&quot; failed at /BUILD/wxPython-src-2.8.4.2/src/mac/carbon/bitmap.cpp(230) in Create(): Unable to create CGBitmapContext context<BR>
GRASS 6.3.cvs (spearfish60_test):~ &gt; <BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"><BR>
</FONT></SPAN>
</BODY>
</HTML>