<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>On 20 Feb 2009, at 21:36, Alex Ross wrote:</div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div><blockquote type="cite"><font class="Apple-style-span" color="#144FAE"><snip> </font></blockquote></div></blockquote><blockquote type="cite"><div><blockquote type="cite"><font class="Apple-style-span" color="#144FAE">m</font>y  <span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">Python scripts no longer run when I hit cmd-R. The error is:</span></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Program terminated by uncaught signal #11 after 6.26 seconds.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Followed by a Mac OS X "The application Python quit unexpectedly"  <br></blockquote><blockquote type="cite">dialogue box. I can replicate the problem by creating and running a file with  <br></blockquote><blockquote type="cite">the following command:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">from scipy import special<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><snip></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Running "from scipy import special" in both the python and ipython  <br></blockquote><blockquote type="cite">terminals, and running the above file from the command line all work  <br></blockquote><blockquote type="cite">fine.<br></blockquote><br>Is the same version of python being used in both TextMate and the  <br>terminal?  In terminal do a “which python” and copy the results to  <br>TM_PYTHON in TextMate's Shell Variables preference pane.  Does that  <br>correct the issue?<br></div></blockquote><br></div><div>Hi Alex, thanks for your response - I've had a go at that and it doesn't correct the issue! I still get a similar error. The Python path in the PATH shell variable is the same as that reported by "which python", and is now the same as TM_PYTHON:</div><div><br></div><div>/Library/Frameworks/Python.framework/Versions/Current/bin/python</div><br><div>I should say that the error I'm getting isn't a Python error - I mean it seems to be a shell error or something to do with textmate (I don't pretend to understand). Is there anything else I could try?</div><div><br></div><div>Mike</div></body></html>