[Pkg-games-ubuntu] [Bug 1400906] [NEW] rectangle intersects error
Ahmet Sezgin DURAN
marjinalist1 at gmail.com
Tue Dec 9 22:24:45 UTC 2014
Public bug reported:
In the v1.3 release of the library, there's a bug in "intersects" method
of the Rectangle class, here:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/python-
sfml/vivid/view/head:/src/sfml/graphics.pyx#L188
Also in the original source code on Github:
https://github.com/Sonkun/python-
sfml/blob/bb9e11918508e8f38c5a308a36aaeda72896a635/src/sfml/graphics.pyx#L188
It makes "intersects" method to fail. Like this:
>>> a.global_bounds.intersects(b.global_bounds)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "graphics.pyx", line 188, in sfml.graphics.Rectangle.intersects (src/sfml/graphics.cpp:4717)
File "graphics.pyx", line 97, in sfml.graphics.Rectangle.__init__ (src/sfml/graphics.cpp:2489)
TypeError: __init__() takes at most 2 positional arguments (4 given)
It's been fixed with latest commits on Github. Please update to latest
version:
https://github.com/Sonkun/python-sfml
** Affects: python-sfml (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to python-sfml in Ubuntu.
https://bugs.launchpad.net/bugs/1400906
Title:
rectangle intersects error
Status in python-sfml package in Ubuntu:
New
Bug description:
In the v1.3 release of the library, there's a bug in "intersects"
method of the Rectangle class, here:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/python-
sfml/vivid/view/head:/src/sfml/graphics.pyx#L188
Also in the original source code on Github:
https://github.com/Sonkun/python-
sfml/blob/bb9e11918508e8f38c5a308a36aaeda72896a635/src/sfml/graphics.pyx#L188
It makes "intersects" method to fail. Like this:
>>> a.global_bounds.intersects(b.global_bounds)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "graphics.pyx", line 188, in sfml.graphics.Rectangle.intersects (src/sfml/graphics.cpp:4717)
File "graphics.pyx", line 97, in sfml.graphics.Rectangle.__init__ (src/sfml/graphics.cpp:2489)
TypeError: __init__() takes at most 2 positional arguments (4 given)
It's been fixed with latest commits on Github. Please update to latest
version:
https://github.com/Sonkun/python-sfml
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-sfml/+bug/1400906/+subscriptions
More information about the Pkg-games-ubuntu
mailing list