[TxMt] Run Script (PyMate) Bug in TextMate Version 1.5.4 (1360) [2007-02-13: REVISION 1360]
Dr. Harold W. Schranz
Harold.Schranz at tpg.com.au
Sat Feb 17 03:06:02 UTC 2007
> Harold,
>
> Are there any files in the directories ~/Library/Application
> Support/TextMate/ or /Library/Application Support/TextMate/? It's
> possible that you have an older version of the Support directory in
> one of those folders. If you do see a Support folder in one of
> those directories, it is OK to delete it. Restart TextMate and see
> if you still get a hung PyMate when running the test script.
1. I have a directory: /Users/harry/Library/Application Support/
TextMate which contained 3 subdirectories:
Bundles Pristine Copy Support
a. Bundles directory merely contains an extra command added to
Python.tmbundle (Run Script (PyMate) version 2.tmCommand based on
using the pymate.py script)
b. Pristine Copy directory contains bundles that have been downloaded
via svn and installed ... to be safe (from conflict) I moved/deleted
all these bundles.
c. Support directory seemed to be empty; only contained a hidden .svn
subdirectory
2. After deleting the Support directory (/Users/harry/Library/
Application Support/TextMate/Support) as you suggested ...
I ran the test python script using PyMate ...
but the latest (bleeding edge) version TextMate Version 1.5.4 (1360)
still gets hung ...
PyMate r6190 running Python 2.3.5 (/usr/bin/python)
>>> test_input.py
3. whereas a previous version, TextMate Version 1.5.4 (1324) works OK
(cut and paste from PyMate screen; excess blank lines deleted):
HIDE STDERR SHOW STDERR
Python 2.5.0 - PyMate r5848
For comments contact the author.
The regular Python interpreter can be invoked using ⌘⇧R.
>>> test_input.py
1
forcing redraw!!! don't remove
Script terminated with success.
4. as does TextMate Version 1.5.2 (1103)
Python 2.5.0 - PyMate r3226
For comments contact the author.
The regular Python interpreter can be invoked using ⌘⇧R.
>>> test_input.py
1
forcing redraw!!! don't remove
Script terminated with success.
5. These older versions use $TM_BUNDLE_SUPPORT/pymate.py rather than
$TM_BUNDLE_SUPPORT/PyMate/pymate.rb
I can more or less make sense of the pymate.py code but the Ruby code
pymate.rb appears enigmatic.
so far it is a mystery which may have to go on the backburner ...
Adios
Harry.
------------------------------------------------------------------------
----
Dr. Harold W. Schranz, Research Fellow, Computational Genomics Group
Division of Molecular Bioscience, John Curtin School of Medical Research
Australian National University, Canberra ACT 0200, Australia
------------------------------------------------------------------------
----
More information about the textmate
mailing list