Hi, it has been long time I didn't typeset any document using the latex bundle, which actually is not typesetting anymore. From this error message, it seems that the PATH wasn't configured, does anyone have any clue?
Daniel
Typesetting “!Users!dmarcelino!Documents!My Talks!Alumni!Alumni.tex”… /Users/dmarcelino/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/tm/process.rb:166: warning: Insecure world writable dir /Users/dmarcelino/Library/Application Support in PATH, mode 040706 File "/Users/dmarcelino/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 54 print "Using Tiger Compatibility version of Popen class" ^ SyntaxError: invalid syntax Theme: /Users/dmarcelino/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/tm/process.rb:166: warning: Insecure world writable dir /Users/dmarcelino/Library/Application Support in PATH, mode 040706 File "/Users/dmarcelino/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 54 print "Using Tiger Compatibility version of Popen class" ^ SyntaxError: invalid syntax
On 3 Jul 2013, at 15:28, Daniel Marcelino wrote:
warning: Insecure world writable dir ~/Library/Application Support in PATH
To fix this warning, run the following in a terminal:
chmod go-rwx ~/Library/Application\ Support
File "~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 54 print "Using Tiger Compatibility version of Popen class" ^ SyntaxError: invalid syntax
That’s puzzling. Did you install a newer version of python (like py3k)?
Yes, I did install Python 3, then I had to install again version 2.7 of Python and I did so using Homebrew. Daniel
\begin{signature}Daniel Marcelino☁ dm.silva@umontreal.ca ☎ (514) 343 6111 #3799Skype: d.marcelino ✎ 3200 Jean Brillant, Office C5071Montreal, QC; H3T 1N8Canada\end{signature} "Small steps toward a much better world"
From: mailinglist@textmate.org To: textmate@lists.macromates.com Date: Wed, 3 Jul 2013 16:19:21 +0200 Subject: [TxMt] Re: Error while typesetting latex document
On 3 Jul 2013, at 15:28, Daniel Marcelino wrote:
warning: Insecure world writable dir ~/Library/Application Support in PATH
To fix this warning, run the following in a terminal:
chmod go-rwx ~/Library/Application\ Support
File "~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 54 print "Using Tiger Compatibility version of Popen class" ^ SyntaxError: invalid syntax
That’s puzzling. Did you install a newer version of python (like py3k)?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 3 Jul 2013, at 17:11, Daniel Marcelino wrote:
Yes, I did install Python 3, then I had to install again version 2.7 of Python and I did so using Homebrew.
OK, so the issue is most likely, that you are running the typeset command with a Python that isn’t backwards compatible with this script.
Did you remove ‘/usr/bin/python’? In TextMate you can press ⌃R on each of the following 3 lines for various useful info:
which python python --version echo "$PATH"
Hi Allan, It seems that the default python version is 3. I got the following: dhcp-10-55-233-125:~ dmarcelino$ which python/usr/bin/pythondhcp-10-55-233-125:~ dmarcelino$ python --versionPython 3.3.1dhcp-10-55-233-125:~ dmarcelino$ echo "$PATH"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/usr/texbin Any idea to fix this?
\begin{signature}Daniel Marcelino☁ dm.silva@umontreal.ca ☎ (514) 343 6111 #3799Skype: d.marcelino ✎ 3200 Jean Brillant, Office C5071Montreal, QC; H3T 1N8Canada\end{signature} "Small steps toward a much better world"
From: mailinglist@textmate.org To: textmate@lists.macromates.com Date: Sat, 6 Jul 2013 10:39:23 +0200 Subject: [TxMt] Re: Error while typesetting latex document
On 3 Jul 2013, at 17:11, Daniel Marcelino wrote:
Yes, I did install Python 3, then I had to install again version 2.7 of Python and I did so using Homebrew.
OK, so the issue is most likely, that you are running the typeset command with a Python that isn’t backwards compatible with this script.
Did you remove ‘/usr/bin/python’? In TextMate you can press ⌃R on each of the following 3 lines for various useful info:
which python python --version echo "$PATH"
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 6 Jul 2013, at 21:31, Daniel Marcelino wrote:
It seems that the default python version is 3 […] Any idea to fix this?
You should replace /usr/bin/python with the system’s original version. Maybe you have it on a backup?
If you don’t have a backup, it may work to replace it with a custom build of python 2.7 (e.g. from Homebrew / MacPorts).
Worst case, use your OS X install disk / receovery partition to perform a re-install of system files.
Sorry if this has been mentioned before. But on my Lion system, there are two places where python is installed: /usr/bin and /usr/local/bin: Directory /usr/local/bin ipython python3-config pythonw3 ipython-qtconsole python3.1 pythonw3.1 python3 python3.1-config and Directory /usr/bin python python2.6 pythonw python-config python2.6-config pythonw2.5 python2.5 python2.7 pythonw2.6 python2.5-config python2.7-config pythonw2.7
If I use just "python" or "ipython" I end up with the new python3 system which fails with all sorts of errors. But the python2.x versions work fine.
This is a chronic difficulty with python and its package management. Probably a local expert can guide you through resolving this if you indeed have multiple, conflicting pythons. The simplest is simply to modify your PATH so that the preferred python is first.
-- Owen
On Sun, Jul 7, 2013 at 2:19 AM, Allan Odgaard mailinglist@textmate.orgwrote:
On 6 Jul 2013, at 21:31, Daniel Marcelino wrote:
It seems that the default python version is 3 […] Any idea to fix this?
You should replace /usr/bin/python with the system’s original version. Maybe you have it on a backup?
If you don’t have a backup, it may work to replace it with a custom build of python 2.7 (e.g. from Homebrew / MacPorts).
Worst case, use your OS X install disk / receovery partition to perform a re-install of system files.
______________________________**_________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/**listinfo/textmatehttp://lists.macromates.com/listinfo/textmate