hello:)
It's a recurring problem.
I read the doc and now i have
in /Library/Application\ Support/TextMate/Bundles the Latex.bundle
in ~/Library/Application\ Support/TextMate/Bundles i've the personnal bundle with some modifications. This bundle is created by TextMate
Now after reload Bundles, and try Command R on a latex file , I've env: python2.3: No such file or directory
Perhaps there is a problem with support files so I update the support directory
cd /Library/Application\ Support/TextMate svn co http://macromates.com/svn/Bundles/trunk/Support After this you can test it by pasting the following line into TextMate and pressing ⌃R (to execute it):
and I get /Library/Application Support/TextMate/Support
but I always env: python2.3: No such file or directory
in my system I've python2.3 and python2.5 and in the terminal $python launchs python2.5
What is the problem ?
Thanks
Regards Alain
On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote:
hello:)
It's a recurring problem.
http://macromates.com/textmate/manual/shell_commands#search_path
Especially the bit under "Important".
Installing all the stuff from svn like that really isn't recommended unless the bundle isn't available in the default install. Now you've got to make sure you update that each time Textmate does or things can break. Or just delete those two and live an easier life. ;)
Le 14 sept. 07 à 11:41, Michael Sheets a écrit :
On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote:
hello:)
It's a recurring problem.
http://macromates.com/textmate/manual/shell_commands#search_path
Especially the bit under "Important".
Installing all the stuff from svn like that really isn't recommended unless the bundle isn't available in the default install. Now you've got to make sure you update that each time Textmate does or things can break. Or just delete those two and live an easier life. ;)
Sorry but I don't want install all the stuff from svn , I want only the Latex.tmbundle to try it. yes I can and I just delete those two and but my live is more easier but no more funny. I want to discover all the great work make around this bundle
So I read the doc and I've a problem.... If I try to read between your lines, it' a problem of path. If you are right, there is a problem in the documentation (installing a bundle) or in the latex bundle
Thanks for your answer
regards Alain
Le 14 sept. 07 à 15:51, Brad Miller a écrit :
-- Brad Miller Assistant Professor, Computer Science Luther College
On 9/14/07, Michael Sheets mummer@whitefalls.org wrote: On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote:
hello:)
It's a recurring problem.
http://macromates.com/textmate/manual/shell_commands#search_path
Especially the bit under "Important".
Installing all the stuff from svn like that really isn't recommended unless the bundle isn't available in the default install. Now you've got to make sure you update that each time Textmate does or things can break. Or just delete those two and live an easier life. ;)
This isn't really relevant for this problem since the Typeset & View command does not use #!
It is very important for the Latex bundle that if you checkout latex you should checkout support. AND they should be together.
Support/ Bundles/ Latex.tmbundle
You should not check out one part to /Library and the other to ~/ Library!
Alain, if you type which python2.3 from the command line what do you get?
Its also possible that your personal changes are messing up something. If you move the Latex bundle out of your ~/Library/ Application Support/TextMate/Bundles/ directory does that fix the problem?
Sorry Brad I send an other post because i find the same problem in the archives.
1) I made the good things latex bundle and support directory all in / Library
If I type
$which python2.3
I get no python2.3 in /Library/Frameworks/Python.framework/Versions/Current/ bin /Users/ego/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ texbin /usr/local/bin /usr/local/bin
and which python2.5 /Library/Frameworks/Python.framework/Versions/Current/bin/python2.5
So I think that one on the python script in Latex Bundle needs python2.3 ! something like that...
Regards Alain
Alain,
Wow, which version of OS X are you running? python2.3 ships with 10.3 and 10.4 if I'm not mistaken. Did you delete it? It should be in /usr/bin. I put python2.3 in the #! line for texMate specifically to make sure I did not use any python2.4/2.4 only features since that is what I usually program in.
Brad
On 14/09/2007, at 20:02, Brad Miller wrote:
[...] I put python2.3 in the #! line for texMate specifically to make sure I did not use any python2.4/2.4 only features since that is what I usually program in.
Though it really should be just python -- when the default version of Python is updated, I don’t think Apple will continue to keep the 2.3 version there (nor add a symbolic link for it).
And I will be very happy when Apple finally updates the shipped version of Python. I am just hoping that 10.5 will have Python 2.5 and not Python 2.4.
I am in the middle of some updates to texMate.py to support a new release of latexmk.pl I will remove the 2.3 before I commit that change.
Brad
Le 14 sept. 07 à 20:24, Brad Miller a écrit :
And I will be very happy when Apple finally updates the shipped version of Python. I am just hoping that 10.5 will have Python 2.5 and not Python 2.4.
I am in the middle of some updates to texMate.py to support a new release of latexmk.pl I will remove the 2.3 before I commit that change.
yes for me python2.3 is in the trash. I update python, ruby, bash ... :)
I don't use latexmk.pl and I have remove 2.3 and it's fine. Do you think that it's a problem to put python instead of python2.3
If I understand, latexmk.pl needs python2.3 , in this case perhaps we need an other version of latexmk.pl.
Regards Alain
Alain,
You will be fine to use python instead of python2.3 on the first line of texMate.py. I developed it using python 2.5 but since OS X ships with 2.3 I have to make sure its compatible since most people don't update python. And even fewer trash the version that is shipped. The next update to texMate.pyI commit will not specify version 2.3.
latexmk.pl uses perl not python so that does not make any difference.
Brad
Le 14 sept. 07 à 23:53, Brad Miller a écrit :
Alain,
You will be fine to use python instead of python2.3 on the first line of texMate.py. I developed it using python 2.5 but since OS X ships with 2.3 I have to make sure its compatible since most people don't update python. And even fewer trash the version that is shipped. The next update to texMate.py I commit will not specify version 2.3.
ok and thanks to your work
I would thanks every one who works on the latex Bundle and specialy Allan for TM
If you want to see my work with TM and LateX you can see at
http://www.altermundus.fr/pages/downloads/TKZdoc-2d.pdf
The next week , I put the package on CTAN
Regards Alain
yes for me python2.3 is in the trash. I update python, ruby, bash ... :)
Just FYI, it's not really recommended to trash the default python installation… you never know what will break. Better to use the MacPython[1] distribution, and just update your path.
–Alex
Le 15 sept. 07 à 00:47, Alex Ross a écrit :
yes for me python2.3 is in the trash. I update python, ruby, bash ... :)
Just FYI, it's not really recommended to trash the default python installation… you never know what will break.
I think you break anything, you have exctly the same files at the same places but with 2.5 intead of 2.3. If you wait about Apple to updtae some files in the system you can wait for a long time.
Try to compile Asymptote, or gnuplot, you have to update a lot of things.
Better to use the MacPython[1] distribution, and just update your path.
–Alex
and now python is 2.5.1
Python 2.5.1 for Macintosh OS X -- this is a universal installer that runs native on both PPC and Intel Macs.
yes I take MacPython and no problem with the readme :
MacPython consists of the Python programming language interpreter, plus a set of programs to allow easy access to it for Mac users (an integrated development environment, an applet builder), plus a set of pre-built extension modules that open up specific Macintosh technologies to Python programs (Carbon, AppleScript, Quicktime, more).
The installer puts the applications in "MacPython 2.5" in your Applications folder, command-line tools in /usr/local/bin and the underlying machinery in /Library/Frameworks/Python.framework.
regards Alain
Le 15 sept. 07 à 00:47, Alex Ross a écrit :
yes for me python2.3 is in the trash. I update python, ruby, bash ... :)
Just FYI, it's not really recommended to trash the default python installation… you never know what will break. Better to use the MacPython[1] distribution, and just update your path.
I've installed python 2.5.1 with MacPython but we need to make the installation with prudence because the installation modifies the file .bash_profile
TEXINPUTS=$TEXINPUTS:~/Boulot/Base export TEXINPUTS
becomes # TEXINPUTS=$TEXINPUTS:~/Boulot/Base # export TEXINPUTS
# Setting PATH for MacPython 2.5 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}" export PATH
And with that nothing works in Latex
Regards Alain
Le 14 sept. 07 à 15:51, Brad Miller a écrit :
Its also possible that your personal changes are messing up something. If you move the Latex bundle out of your ~/Library/ Application Support/TextMate/Bundles/ directory does that fix the problem?
No :( , I remove ~/Library/Application Support/TextMate/Bundles/ and I've the same error
Alain
texMath.py begins with #!/usr/bin/env python2.3
Regards Alain