5
« on: December 24, 2010, 02:03:00 pm »
I am getting exactly the same errors as posted here. I'm running vista32 and python 2.7 32bit. I've tried the precompiled binaries and compiling them myself with MinGW 4.4.1 with the same results.
Whenever python tries to dispose of a sf window it will immediately crash the interpreter without an error.
from PySFML import sf
import gc
win = sf.Window()
del win # Nothing
gc.collect() # Crash
I can run the worms example but it crashes past the menu selection.
I don't know if it's related but I also get errors using some of the image functions. Specifically, sf.Image.Copy() and sf.Image.Create() will both produce this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
SystemError: ..\Python\getargs.c:1424: bad argument to internal function