[GRASS-dev] splash image problem in wxgui, GRASS 6.4rc6

William Kyngesburye woklist at kyngchaos.com
Tue Jul 20 10:20:01 EDT 2010


Blocker?  Sorry...

I just noticed a problem starting the wxgui on OS X 10.5 Leopard with GRASS 6.4rc6.  It fails with an invalid image for the splash.

File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py",
line 1819, in <module>
   sys.exit(main())
 File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py",
line 1812, in main
   app = GMApp(workspaceFile)
 File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py",
line 1737, in __init__
   wx.App.__init__(self, False)
 File
"/Users/Shared/unix/wxpython-leo/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 7978, in __init__
 File
"/Users/Shared/unix/wxpython-leo/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 7552, in _BootstrapApp
 File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py",
line 1748, in OnInit
   introBmp       = introImage.ConvertToBitmap()
 File
"/Users/Shared/unix/wxpython-leo/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
line 3369, in ConvertToBitmap
wx._core.PyAssertionError: C++ assertion "image.Ok()" failed at
../src/mac/carbon/bitmap.cpp(1286) in wxBitmap(): invalid image

It works on OS X 10.6 Snow Leopard.  Same wxpython version on both, 2.8.10.1.  But, python 2.5 on Leopard and 2.6 on Snow.

I saw this problem before in dev6 branch, but thought it was a problem with a switch to an RGB splash image from the older color palette image, and possibly wxpython 2.8.11.  But 6.4 still uses the palette image.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.



More information about the grass-dev mailing list