Hi,The bug would be something like you describe. A 64 bit int is pushed onto the stack, but PyArg_ParseTuple expects a 32 bit integer, so the rest of the arguments are out of alignment. However, _numpysurfarray.py has been reimplemented in Pygame 1.9.2, and no longer uses bufferproxies.
Lenard Lindstrom On 17/04/11 09:07 AM, Weeble wrote:
On Sun, Apr 17, 2011 at 4:40 PM, Weeble<clockworksaint@xxxxxxxxx> wrote:I get this error every so often when trying to use surfarray.make_surface:[...]IndexError: bytes to write exceed buffer sizeOops, I forgot to mention versions: ~$ python -V Python 2.6.5 ~$ uname -a Linux dischord 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011 x86_64 GNU/Linux ~$ python -c 'import pygame; print pygame.__version__' 1.9.1release