Package: wound-up
Version: 1.0.2-1
Severity: important

While playing the second level, I clicked on the + button a couple of
times, and on the second click the game exited with this traceback:

Traceback (most recent call last):
  File "./woundup", line 16, in ?
    main.main()
  File "/usr/share/games/wound-up/lib/main.py", line 25, in main
    menu.Menu(display.gl_render.GLRenderer, options).run()
  File "/usr/share/games/wound-up/lib/menu.py", line 175, in run
    self.main_loop()
  File "/usr/share/games/wound-up/lib/menu.py", line 164, in main_loop
    self.handle_events()
  File "/usr/share/games/wound-up/lib/menu.py", line 76, in handle_events
    self.start_game()
  File "/usr/share/games/wound-up/lib/menu.py", line 435, in start_game
    time = new_game.run()
  File "/usr/share/games/wound-up/lib/game.py", line 283, in run
    self.main_loop()
  File "/usr/share/games/wound-up/lib/game.py", line 262, in main_loop
    self.state.tick()
  File "/usr/share/games/wound-up/lib/model/gamestate.py", line 95, in tick
    result = t.update(self)
  File "/usr/share/games/wound-up/lib/model/task.py", line 141, in update
    gs.acquire_winding_elf(elf)
  File "/usr/share/games/wound-up/lib/model/gamestate.py", line 283, in 
acquire_winding_elf
    self.elves.remove(elf)
KeyError: <model.elf.Elf object at 0xb332fc2c>

I can inconsistently reproduce this by rapidly clicking on - and/or +.
This looks like some kind of race condition.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages wound-up depends on:
ii  python               2.4.4-6             An interactive high-level object-o
ii  python-opengl        3.0.0~a6-4          Python bindings to OpenGL
ii  python-pygame        1.7.1release-4.1+b1 SDL bindings for games development
ii  python-support       0.7.5               automated rebuilding support for p

wound-up recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to