On Feb 20, 2009, at 2:52 AM, Michael Dewar wrote:
Hello,
I've just got back from holiday to find a TextMate update! After performing the update - so I'm now at Version 1.5.8 (1498) - my Python scripts no longer run when I hit cmd-R. The error is:
Program terminated by uncaught signal #11 after 6.26 seconds.
Followed by a Mac OS X "The application Python quit unexpectedly" dialogue box. I can replicate the problem by creating a file with the following command:
from scipy import special
(which imports a bunch of slightly odd functions from the scientific python library, and which can take a few seconds) and then running the "Run Script" command in the Python bundle.
Running "from scipy import special" in both the python and ipython terminals, and running the above file from the command line all work fine.
Is the same version of python being used in both TextMate and the terminal? In terminal do a “which python” and copy the results to TM_PYTHON in TextMate's Shell Variables preference pane. Does that correct the issue?
—Alex