[Pyobjc-dev] ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___
Brought to you by:
ronaldoussoren
|
From: Thierry D. <ka...@ma...> - 2008-01-24 14:12:29
|
I have difficulties to run any application based on the Xcode (3.0) template Cocoa-Python Application. I have tried the tutorial 'In Control' (http://www.macresearch.org/node/4527 ). It builds normally, but it doesn't launch. When I open the debugger, I get this message ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ in line 43 of the main.m 42: if ( result != 0 ) 43: [NSException raise: NSInternalInconsistencyException 44: format: @"%s:%d main() PyRun_SimpleFile failed with file '%@'. See console for errors.", __FILE__, __LINE__, mainFilePath]; With the PyAverager tutorial of Apple, it works normally, but it follows the old way. When I tried to build it from scratch with the Xcode 3.0 template Cocoa-Python Application, I got the same message in the same file at the same line. Somebody can help me ? Best for all Thierry |