[Pythonmac-SIG] py2app - building under 10.6.8, running under 10.4?

Florian Höch lists+Pythonmac-SIG at hoech.org
Tue Sep 25 17:53:30 CEST 2012


Hi,

I'm getting the following error in console.log when I try to run my app
which was built on OS X 10.6.8 under OS X 10.4:

Traceback (most recent call last):
   File "/Applications/dispcalGUI/dispcalGUI.app/Contents/Resources/
__boot__.py", line 277, in <module>
     _argv_emulation()
   File "/Applications/dispcalGUI/dispcalGUI.app/Contents/Resources/
__boot__.py", line 275, in _argv_emulation
     _run_argvemulator()
   File "/Applications/dispcalGUI/dispcalGUI.app/Contents/Resources/
__boot__.py", line 110, in _run_argvemulator
     carbon = _ctypes_setup()
   File "/Applications/dispcalGUI/dispcalGUI.app/Contents/Resources/
__boot__.py", line 65, in _ctypes_setup
     carbon.AEProcessEvent.restype = ctypes.c_int
   File "ctypes/__init__.pyc", line 366, in __getattr__
   File "ctypes/__init__.pyc", line 371, in __getitem__
AttributeError: dlsym(0x101eb0, AEProcessEvent): symbol not found

The software on the build system with OS X 10.6.8 is the following:

python-2.6.6-macosx10.3 (from python.org)
numpy-1.6.2-py2.6-python.org-macosx10.3
wxPython2.8-osx-unicode-2.8.12.1-universal-py2.6
py2app 0.6.4

I thought it should be possible to build an app that runs on OS X 10.4,
too, but it only seems to run under OS X 10.6 and newer.

-- 
Florian Höch



More information about the Pythonmac-SIG mailing list