Hi Edward, I am seeing the same issues reported by others. $ open /programs/i386-mac/relax/1.3.14/relax.app Output in Console.app: 4/4/12 12:15:26.639 PM [0x0-0x18a28a1].com.nmr-relax.relax: Traceback (most recent call last): 4/4/12 12:15:26.639 PM [0x0-0x18a28a1].com.nmr-relax.relax: File "/nfs/programs/i386-mac/relax/1.3.14/relax.app/Contents/Resources/__boot__.py", line 126, in <module> 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: _argv_emulation() 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: File "/nfs/programs/i386-mac/relax/1.3.14/relax.app/Contents/Resources/__boot__.py", line 124, in _argv_emulation 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: _get_argvemulator().mainloop() 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: File "/nfs/programs/i386-mac/relax/1.3.14/relax.app/Contents/Resources/__boot__.py", line 63, in mainloop 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: stoptime = Evt.TickCount() + timeout 4/4/12 12:15:26.640 PM [0x0-0x18a28a1].com.nmr-relax.relax: AttributeError: 'module' object has no attribute 'TickCount' 4/4/12 12:15:26.715 PM relax: relax Error This is a problem related to Carbon support in 32-bit vs 64-bit Python. I can reproduce this on the command line in 10.6 and 10.7 like so: $ type python python is hashed (/usr/bin/python) $ python Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from Carbon import Evt Evt.TickCount()
Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'TickCount' And it's because the 64-bit Python doesn't have full Carbon support: $ export VERSIONER_PYTHON_PREFER_32_BIT=true $ python Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:06) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin Type "help", "copyright", "credits" or "license" for more information.
from Carbon import Evt Evt.TickCount()
278493166 Similar thread here: http://stackoverflow.com/questions/3461983/evt-tickcount-not-found-with-python2-6-on-osx-10-6-3 I can run the relax binary directly if I force 32-bit: $ arch -i386 relax.app/Contents/MacOS/relax And I can get the relax.app bundle to work if I lipo the relax binary: $ mv relax relax.orig $ lipo -thin i386 -output relax relax.orig I tried various other ways of forcing 32-bitness for Python: lipo'ing the python binaries, export VERISONER_PYTHON_PREFER_32_BIT=true, LSArchitecturePriority in the Info.plist without effect. -ben -- | Ben Eisenbraun | SBGrid Consortium | http://sbgrid.org | | Harvard Medical School | http://hms.harvard.edu |