<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote type="cite">Message: 3<br>Date: Sat, 9 Jan 2010 17:20:24 +0100<br>From: Allan Odgaard <<a href="mailto:mailinglist@textmate.org">mailinglist@textmate.org</a>><br>Subject: [TxMt] Re: textmate and matplotlib<br>To: TextMate users <<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>><br>Message-ID: <<a href="mailto:D146CDDD-8300-445F-B433-2B198156A990@textmate.org">D146CDDD-8300-445F-B433-2B198156A990@textmate.org</a>><br>Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;<br><span class="Apple-tab-span" style="white-space: pre; "> </span>delsp=yes<br></blockquote><blockquote type="cite">On 8 Jan 2010, at 14:44, Claus wrote:<br><br><blockquote type="cite">I can execute scripts that contain matplotlib code perfectly well <br></blockquote><blockquote type="cite">from the command line (this one <a href="http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/scatter_hist.py">http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/scatter_hist.py</a> <br></blockquote><blockquote type="cite">for example), but when I run them from within TextMate, python <br></blockquote><blockquote type="cite">keeps running endlessly, no error.<br></blockquote><br>This could be caused by the interactive input library we inject into <br>Python (or the enabling of a flat namespace for the linker, whcih a <br>Python library has previously been incompatible with).<br><br>The easy fix is to:<br><br> rm /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ <br>tm_interactive_input.dylib<br><br>There is also an environment variable you can set, but I can?t find it <br>ATM (away from my regular machine), I?ll have the troubleshooting <br>pages updated with this info.</blockquote><br><div>I removed the tm_interactive_input.dylib, however TM (python bundle -- run script) is still keeps running for a long time until I "stop task", no error message.</div><div><br></div><div>Does anybody have other ideas?</div><div>Thank you,</div><div>Claus</div><div><br></div></body></html>