keyboard input crashes gasp

Bug #245295 reported by Jeffrey Elkner on 2008-07-03
2
Affects Status Importance Assigned to Milestone
GASP Core
High
James Hancock

Bug Description

Running the latest version of robots from here:

http://bazaar.launchpad.net/~gasp-dev/gasp-games/main/files

pressing any key crashes the program with the following traceback:

Traceback (most recent call last):
  File "robots.py", line 113, in <module>
    play_game()
  File "robots.py", line 96, in play_game
    quit = move_player(player)
  File "robots.py", line 33, in move_player
    if key_pressed('escape'):
  File "/home/jelkner/lib/python/gasp/api.py", line 391, in key_pressed
    return backend.new_keys()
AttributeError: 'module' object has no attribute 'new_keys'

Jeffrey Elkner (jelkner) on 2008-07-03
Changed in gasp-code:
assignee: nobody → jlhancock
importance: Undecided → High
Matthew Gallagher (mattva01) wrote :

Confirmed with revision 60 of gasp trunk

Changed in gasp-code:
status: New → Confirmed
Luke Faraone (lfaraone) wrote :

Hi,

Can you retest this in GASP 0.3?

Changed in gasp-code:
status: Confirmed → Incomplete

This is no longer an issue in version .3.0

On Mon, Jul 27, 2009 at 10:05 PM, Luke Faraone <email address hidden> wrote:

> Hi,
>
> Can you retest this in GASP 0.3?
>
> ** Changed in: gasp-code
> Status: Confirmed => Incomplete
>
> --
> keyboard input crashes gasp
> https://bugs.launchpad.net/bugs/245295
> You received this bug notification because you are subscribed to GASP.
>
> Status in GASP Code: Incomplete
>
> Bug description:
> Running the latest version of robots from here:
>
> http://bazaar.launchpad.net/~gasp-dev/gasp-games/main/files<http://bazaar.launchpad.net/%7Egasp-dev/gasp-games/main/files>
>
> pressing any key crashes the program with the following traceback:
>
> Traceback (most recent call last):
> File "robots.py", line 113, in <module>
> play_game()
> File "robots.py", line 96, in play_game
> quit = move_player(player)
> File "robots.py", line 33, in move_player
> if key_pressed('escape'):
> File "/home/jelkner/lib/python/gasp/api.py", line 391, in key_pressed
> return backend.new_keys()
> AttributeError: 'module' object has no attribute 'new_keys'
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers