I'm trying to pygame 1.9.2 with Pitham 3.4.3, and this is giving me an error It is a basic hello world: code is imported from pygame.locals
pygame.init () DISPLAYSURF = pygame.display.set_mode ((400, 300) )) Pygame.display .set_caption ('hello world!') While true: for event in pygame.event.get (): if event.type == QUIT: pygame.quit () sys.exit () pygame.display .update ()
I am getting this error:
2015-03-16 22:41:41: 23.073 Python [71068: 8424090] ** * Apps Unrecognized exception due to termination of 'NSInternalInconsistencyException', reason: 'Creating CGSWindow on' Error (1000) Line 281 '*** First Throw Call Stack: (0 Corf. 0x00007fff8c69364c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff93ede6de objc_exception_throw + 43 2 Korfoundeshn 0x00007fff8c6934fd + [NSException Raise: format:] + 205 3 Aepakit 0x00007fff8a1769dd _NSCreateWindow WithOpaqueShape2 + 1417 4 AppKit 0x00007fff8a174d3c - [NSWindow _commonAwake] 1808 5 AppKit 0x00007fff8a082ee0 - [NSWindow _commonInitFrame: styleMask: support: deferred:] + 864 6 AppKit 0x00007fff8a08254c - [NSWindow _initContent: styleMask: support: defer: contentView:] 1477 7 AppKit 0x00007fff8a081f7a - [NSWindow initWithCo NtentRect: styleMask: backing: defer:] + 45 8 libSDL-1.2.0.dylib 0x00000001020af0f4 - [SDL_QuartzWindow initWithContentRect: stylemask: backing: postponement:] + 279 9 libSDL-1.2.0.dylib 0x00000001020aca6a QZ_SetVideoMode + 1172 10 LibSDL- 1.2.0 Dailib 0x00000001020 A3 Difa Sdiel_sitvidiomod + 907 11 Displekso 0x0000000102108667 Set_maod + 263 12 Python 0x0000000001000e4745 PyEval_EvalFrameEx + 29589 13 Python 0x00000001000e604d PyEval_EvalCodeEx + 2349 14 dragon 0x00000001000e610f PyEval_EvalCode + 63 15 dragon 0x000000010011064e PyRun_FileExFlags + 206 16 dragon 0x00000001001109fd PyRun_SimpleFileExFlags + 717 17 Python 0x00000001001281be Py_Main + 3262 18 dragon 0x0000000100000e32 dragon + 3634 19 dragon 0x0000000100000c84 dragon + 3204) libc ++ abi.dylib: Withdrawal of NSE expansion
type insufficient exception
No comments:
Post a Comment