[OLPC-Games] Problem with Pygame Wrapper
Jorge Saldivar
jorgesaldivar at gmail.com
Mon Oct 1 19:00:08 EDT 2007
Hi all,
I am trying to make work a simple game based in pygame buy i have this
problem:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File "/usr/lib/python2.5/threading.py", line 440, in run
self.__target(*self.__args, **self.__kwargs)
File "build/bdist.linux-i586/egg/olpcgames/canvas.py", line 76, in _start
fn()
File "/usr/lib/python2.5/site-packages/pygsear/Game.py", line 363, in
__init__
GameLooper.__init__(self)
File "/usr/lib/python2.5/site-packages/pygsear/Game.py", line 47, in
__init__
self.events.add(Event.QUIT_Event(callback=self._quit))
File "/usr/lib/python2.5/site-packages/pygsear/Event.py", line 142, in
__init__
Event.__init__(self, QUIT, callback, **kwargs)
File "/usr/lib/python2.5/site-packages/pygsear/Event.py", line 83, in
__init__
pygame.event.set_allowed(type)
File "build/bdist.linux-i586/egg/olpcgames/eventwrap.py", line 89, in
set_allowed
[g_blocked.remove(x) for x in makeseq(item)]
KeyError: 12
Somebody knows if already pygame works in the xo?, and if it works someone
have an idea of my problem?.
Thanks.
--
Jorge Saldivar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/games/attachments/20071002/bbc4c47f/attachment-0001.htm
More information about the Games
mailing list