problem with wxPython on Mac

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

problem with wxPython on Mac

Michael Barton
problem with wxPython on Mac I recently updated from wxPython to on my Mac, using the binaries supplied at the wxPython site.

After updating, wxgrass crashed with the error listed below. After I uninstalled and reinstalled, it runs fine.

I've posted this to the wxPython bug list too.

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

========== error generated by wxPython ===========

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/", 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/", line 7819, in __init__
  File "//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/", line 7416, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/Applications/Grass/", line 927, in OnInit
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, title="")
  File "/Applications/Grass/", line 189, in __init__
  File "/Applications/Grass/", line 585, in NewDisplay
  File "/Applications/Grass/", line 133, in __init__
    Map=self.Map, auimgr=self.auimgr)
  File "/Applications/Grass/", line 1518, in __init__
    self.MapWindow = BufferedWindow(self, id = wx.ID_ANY, Map=self.Map, tree=self.tree)
  File "/Applications/Grass/", line 212, in __init__
  File "/Applications/Grass/", 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/", line 718, in EmptyBitmap
    val = _gdi_.new_EmptyBitmap(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "m_hBitmap" failed at /BUILD/wxPython-src- in Create(): Unable to create CGBitmapContext context
GRASS 6.3.cvs (spearfish60_test):~ >

grassgui mailing list
[hidden email]