Seen every time I run the master at the moment:
Traceback (most recent call last):
File "cells.py", line 547, in
game.tick()
File "cells.py", line 210, in tick
self.plant_population, self.energy_map)
File "cells.py", line 456, in update
pygame.transform.scale(pygame.surfarray.make_surface(numpy.array(img)),
File "/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/surfarray.py", line 243, in make_surface
return numpysf.make_surface (array)
File "/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/_numpysurfarray.py", line 368, in make_surface
blit_array (surface, array)
File "/Library/Python/2.6/site-packages/pygame-1.9.1release-py2.6-macosx-10.6-universal.egg/pygame/_numpysurfarray.py", line 437, in blit_array
surface.get_buffer ().write (data, 0)
IndexError: bytes to write exceed buffer size
Also seen by icefox on ubuntu karmic. Works on Fedora 12.
My pygame is 1.9.1release and numpy is 1.2.1 on the OS/X box that gets the error.
On Fedora 12, where it works, they're 1.9.1release and 1.3.0 respectively.
UPDATE: when trying to get psycho working, I ran this to force python into 32-bit mode:
defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
it didn't work, but now I can run cells.py just fine on my OS/X box, too.