Re: [pygame] pygame from OS X command line
by Ben Willmore other posts by this author
Aug 3 2005 10:58PM messages near this date
Re: [pygame] pygame from OS X command line
|
Re: [pygame] pygame from OS X command line
Hi Bob,
> The actual problem is that you're spending too much time before
> creating the screen... your fix works around that problem by
> calling NSApplicationLoad on import, but it breaks the detection
> that goes on later in pygame.macosx to see if pygame is already
> running in the context of an application and will break other things.
>
> Try this instead, with no patch:
> python -i -c "import pygame; pygame.init()"
Hmm, interesting. But your solution doesn't work for me:
(removed patch)
[ben@assam pygame] $ python2.4 -i -c "import pygame; pygame.init()"
> >> screen = pygame.display.set_mode((468, 60))
2005-08-03 22:55:45.478 python2.4[5089] *** Uncaught exception:
<NSInternalInconsistencyException> Error (1002) creating CGSWindow
When you say 'too much time', what exactly do you mean?
Cheers
Ben
Thread:
Ben Willmore
Bob Ippolito
Bob Ippolito
Ben Willmore
Ben Willmore
Bob Ippolito
Ben Willmore
Bob Ippolito
Ben Willmore
Bob Ippolito
Ben Willmore
Bob Ippolito
Ben Willmore
|