[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] BUG, Userevents disapears in pygame 1.9



Well, to the first bug, could we please see the exact text of the RuntimeError versus the IOError? The runtime error could be related to processing the font file, if the font loader didn't throw an error that there was no file.

The second bug, can you please show what the output of this code does?:

pygame.event.clear()
pygame.event.post(pygame.event.Event(CALL_FUNCTION,  event_data))
events = pygame.event.get()
print events
events2 = pygame.event.get(CALL_FUNCTION)
print events

-Tyler

On Tue, May 12, 2009 at 7:10 AM, Bo Jangeborg <bo@xxxxxxxxxxx> wrote:
This one is more severe.
My own events seems to disappear on the event stack without any exceptions.

pygame.event.post(pygame.event.Event(CALL_FUNCTION,  event_data))

where CALL_FUNCTION = USEREVENT + 21
and event_data is a dictionary

Bo)



--
Visit my blog at http://oddco.ca/zeroth/zblog