I've been trying to get the Execute line command working in the Python Bundle. I'm running Python 2.6.1 installed from Macports, latest cutting edge TextMate, and the latest Python bundles. Each time I try to run a line I get this error:
env: python: Permission denied
Any help would be appreciated,
Regards,
Mark P
On Thu, Jan 22, 2009 at 10:24 PM, Perrin m.perrin@me.com wrote:
I've been trying to get the Execute line command working in the Python Bundle. I'm running Python 2.6.1 installed from Macports, latest cutting edge TextMate, and the latest Python bundles. Each time I try to run a line I get this error:
env: python: Permission denied
Any help would be appreciated,
Sounds like the python executable has its permissions set too high. It's might have something to MacPort' config. I can vouch that TextMate works fine w/ Fink's Python.
Cheers, Chris
Well I've solved this problem: - delete python installs - download clean python from Web site (2.6.1) - change paths etc so TextMate can find it
But now I get this error on execute line -
{Traceback (most recent call last): File "/tmp/temp_textmate.xRYBdx", line 19, in <module> stdout.write(exc) TypeError: argument 1 must be string or read-only character buffer, not list}
However, run script works fine.
I notice another user had this problem but his question was not answered -
http://mail.python.org/pipermail/python-list/2007-June/445701.html
Thx in advance,
Mark P
On 23/01/2009, at 5:24 PM, Perrin wrote:
I've been trying to get the Execute line command working in the Python Bundle. I'm running Python 2.6.1 installed from Macports, latest cutting edge TextMate, and the latest Python bundles. Each time I try to run a line I get this error:
env: python: Permission denied
Any help would be appreciated,
Regards,
Mark P
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Jan 23, 2009, at 3:41 PM, Perrin wrote:
Well I've solved this problem:
- delete python installs
- download clean python from Web site (2.6.1)
- change paths etc so TextMate can find it
But now I get this error on execute line -
{Traceback (most recent call last): File "/tmp/temp_textmate.xRYBdx", line 19, in <module> stdout.write(exc) TypeError: argument 1 must be string or read-only character buffer, not list}
However, run script works fine.
I notice another user had this problem but his question was not answered -
http://mail.python.org/pipermail/python-list/2007-June/445701.html
I think the problem is that this command uses the python command “eval” which is only compatible with python expressions, so you can't eval print statements.
—Alex