google-code-export / simple-pygame-gui

Automatically exported from code.google.com/p/simple-pygame-gui
1 stars 1 forks source link

test.py cannot launch #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run "python test.py"
2.
3.

What is the expected output? What do you see instead?
test.py is supposed to launch; instead I get the error:
Traceback (most recent call last):
  File "test.py", line 139, in <module>
    for e in gui.setEvents(pygame.event.get()):
TypeError: setEvents() takes no arguments (1 given)

What version of the product are you using? On what operating system?
0.9.2 under Ubuntu 8.04

Please provide any additional information below.
Changing line 139 of test.py from
for e in gui.setEvents(pygame.event.get()):
to
for e in gui.setEvents():
solved the problem

Original issue reported on code.google.com by edemp...@gmail.com on 13 Jun 2008 at 9:24

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r25

Original comment by techtonik@gmail.com on 16 Jun 2008 at 1:11