Closed pygg2devs closed 12 years ago
Thanks for the report. I'll try to test it tomorrow.
I can't reproduce the issue. My guess is that you're not passing a tuple or a Vector2f to the constructor. pySFML tries to raise an exception, but it gets ignored (this has been fixed in commit 1524bbb637, not yet available in installers). For some reason, the program crashes (my guess is that the C++ RectangleShape can't get initialized correctly and produces some random behavior when it's used).
I'll try to compile the latest version later, but I am passing a tuple
I am using the installer from here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pysfml2 I'm using the 32 bits version for 2.7 on a 64 bits Windows 7, if that matters.
Do you still have this problem?
nope
the installer seems to have fixed everything
When initializing RectangleShape, or its other descendents that inherit from sfml.Shape with an open window, python.exe goes into not responding on Windows and then crashes.
This issue does not appear to happen on Ubuntu 12.04 64bit Linux.
I am running Windows 7 64 bit and am running on Python 2.7.