[Pythonmac-SIG] Problem with Framework

Georg Seifert georg.seifert at gmx.de
Sat Aug 9 17:56:31 CEST 2008


Hello,

I use some python code in my Cocoa app witch target Leopard.

main.m:

#import <Python/Python.h>

and:

Py_Initialize();

in my code I use:

PyRun_SimpleString(..)

It works fine on my machine but on other machines it crashes on  
startup with:

Date/Time:       2008-08-07 00:08:39.219 +0100
OS Version:      Mac OS X 10.5.4 (9E17)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
   Library not loaded: /Library/Frameworks/Python.framework/Versions/ 
2.4/Python
   Referenced from: /Users/Tim/Desktop/Pantografer.app/Contents/MacOS/ 
Pantografer
   Reason: image not found

I do not have any python 2.4 on my machine and link again the 2.5  
framework.

what could be wrong.

Thanks
Georg


More information about the Pythonmac-SIG mailing list