Michael Barton
|
problem with wxPython 2.8.4.2 on Mac
|
|
|
Some javascript/style in this post has been disabled ( why?)
problem with wxPython 2.8.4.2 on Mac
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.
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.
I've posted this to the wxPython bug list too.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
========== error generated by wxPython 2.8.4.2 ===========
GRASS 6.3.cvs (spearfish60_test):~ > Digitization tool is disabled.
Under development...
CGBitmapContextCreate: invalid data bytes/row: should be at least 4 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.
CGContextConcatCTM: invalid context
CGContextConcatCTM: invalid context
Traceback (most recent call last):
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line 945, in <module>
app = GMApp(0)
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7819, in __init__
self._BootstrapApp()
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7416, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line 927, in OnInit
mainframe = GMFrame(parent=None, id=wx.ID_ANY, title="")
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line 189, in __init__
self.NewDisplay()
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line 585, in NewDisplay
auimgr=self._auimgr)
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/wxgui_utils.py", line 133, in __init__
Map=self.Map, auimgr=self.auimgr)
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py", line 1518, in __init__
self.MapWindow = BufferedWindow(self, id = wx.ID_ANY, Map=self.Map, tree=self.tree)
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py", line 212, in __init__
self.OnSize(None)
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py", line 409, in OnSize
self._Buffer = wx.EmptyBitmap(self.Map.width, self.Map.height)
File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_gdi.py", line 718, in EmptyBitmap
val = _gdi_.new_EmptyBitmap(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "m_hBitmap" failed at /BUILD/wxPython-src-2.8.4.2/src/mac/carbon/bitmap.cpp(230) in Create(): Unable to create CGBitmapContext context
GRASS 6.3.cvs (spearfish60_test):~ >
_______________________________________________
grassgui mailing list
[hidden email]
http://grass.itc.it/mailman/listinfo/grassgui
|