wx.AlphaPixelData bug on OS X

----- Environment -----
wxPython 2.8.10.1

----- System Info -----
(‘Darwin’, ‘10.7.0’, ‘Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386’, ‘i386’, ‘i386’)

----- Details -----
OverflowError: in method ‘new_Colour’, expected argument 3 of type ‘byte’

----- Code -----
pixelData = wx.AlphaPixelData(bmp)
pixelAccessor = pixelData.GetPixels()
pixelAccessor.MoveTo(pixelData, xx, yy)
pixelColor = wx.Colour(*pixelAccessor.Get())

Last line of ‘Code’ is producing this error. I am not able to reproduce this bug on my 10.5.5 Leopard.

Cheers

Prashant

I'll need a way to reproduce this one in order to diagnose it.

···

On 10/15/11 4:53 AM, King wrote:

----- Environment -----
wxPython 2.8.10.1

----- System Info -----
('Darwin', '10.7.0', 'Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16
PST 2011; root:xnu-1504.9.37~1/RELEASE_I386', 'i386', 'i386')

----- Details -----
OverflowError: in method 'new_Colour', expected argument 3 of type 'byte'

----- Code -----
pixelData = wx.AlphaPixelData(bmp)
pixelAccessor = pixelData.GetPixels()
pixelAccessor.MoveTo(pixelData, xx, yy)
pixelColor = wx.Colour(*pixelAccessor.Get())

Last line of 'Code' is producing this error. I am not able to reproduce
this bug on my 10.5.5 Leopard.

--
Robin Dunn
Software Craftsman