[TxMt] Re: Python Bundle

Alex Ross tm-alex at rosiba.com
Sat Jan 24 22:25:34 UTC 2009


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


More information about the textmate mailing list