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.
- Alex
On Feb 16, 2007, at 5:05 AM, Harold Walter Schranz wrote:
Harold,
Can you post the specific error you are encountering? Do you scripts not run at all? Can you post a minimal example script that isn't working?
I am able to execute the following script without any problems using the latest PyMate:
#!/usr/bin/python x = input("Foo:") print x
For example, if I put your script above in a file called test_input.py
- It will run successfully over the terminal (directly and via the
Run Script (Terminal) command).
- However, if I use the Run Script (PyMate) command (based on
pymate.rb) I get the following lines printed:
PyMate r6190 running Python 2.3.5 (/usr/bin/python)
test_input.py
and no dialog window for input, the task keeps running ... a ruby and python process hang around ... until I interrupt it.
- If I use the previous version of PyMate based on pymate.py I get
an input dialog and successful completion of the script.
I'm running Mac OS X 10.4.8 on a MacBookPro (Intel Core 2 Duo) 2.33 GHz with 2GB RAM and 4MB L2 Cache (per processor).
Assuming ruby from /usr/bin/ruby is being used that is ruby 1.8.2 (2004-12-25) [universal-darwin8.0] as indicated by the ps line: /usr/bin/ruby -- /Users/harry/Library/Application Support/TextMate/ Pristine Copy/Bundles/Python.tmbundle/Support/PyMate/pymate.rb
If I use python 2.5 (installed in /usr/local/bin/python), same deal ...
Any suggestions?
Harry.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate