On 25 Sep, 2012, at 17:53, Florian Höch <lists+pythonmac-...@hoech.org> wrote:
> 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. I've looked at the header files and indeed, the function AEProcessEvent is only available on OSX 10.5 or later. Does your appliction need the argv emulator? This is used to ensure that sys.argv has a value when you drop a file on your application (or double click on a file that is associated with your application). Ronald > > -- > Florian Höch > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig > unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG