Exception raised when removing an object not on the screen

Bug #407429 reported by Andrew Fleckenstein
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GASP Core
Fix Released
Low
Unassigned

Bug Description

In the latest version of avoider.py in gasp games, I get this error which I did not get yesterday. I am quite positive there is not a problem in my code.

Traceback (most recent call last):
  File "avoider.py", line 182, in <module>
    display_lives()
  File "avoider.py", line 141, in display_lives
    if lives_display: remove_from_screen(lives_display)
  File "/usr/local/lib/python2.6/dist-packages/gasp/api.py", line 84, in remove_from_screen
    raise backend.GaspException("This object is not on screen")
gasp.backend.GaspException: 'This object is not on screen'

Revision history for this message
Luke Faraone (lfaraone) wrote :

Hm. Haven't gotten a chance to verify this, but this seems like a feature request.

What you're saying is that GASP should fail silently when asked to remove an object that is not on the screen?

Changed in gasp-code:
importance: Undecided → Low
summary: - unneeded exception raised
+ Exception raised when removing an object not on the screen
Luke Faraone (lfaraone)
Changed in gasp-code:
milestone: none → 0.3.2
status: New → Fix Committed
Luke Faraone (lfaraone)
Changed in gasp-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.