[TxMt] Re: Failure running “Typeset & View (PDF)”.
René Schwaiger
sanssecours at f-m.fm
Tue Apr 14 08:18:51 UTC 2015
Hi Christof,
> Here is the minimal example, which runs under Texshop, but not using Textmate.
>
> --snip
> \documentclass{article}
>
> \begin{document}
>
> test
>
> \end{document}
> snip--
>
>> It would also be super helpful if you could send a more detailed version of the error message. You can do that by enabling the checkbox “Verbose TeX output” inside “Bundles→LaTeX→Preferences…” before you invoke “Typeset& View (PDF)”.
okay so translating fails for you more or less regardless of the tex file.
> Sorry, can't do that. Trying to set “Bundles→LaTeX→Preferences…”gives me another error:
>
> Failure running “Preferences…”.
>
> Traceback (most recent call last):
> File "~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/configure.py", line 16, in <module>
> command = ('"$DIALOG" -mp "" -d \'{}\' '.format(prefs.defaults()) +
> File "~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/tmprefs.py", line 100, in defaults
> for preference in sorted(self.default_values)]
> ValueError: zero length field name in format
This error message is very helpful — Thank you. It looks like the default Python interpreter in `/usr/bin/python` is set to `python2.6`. Could you please check this by following these steps:
1. Open Terminal (/Applications/Utilities/Terminal.app)
2. Paste the following command and press “Return”
/usr/bin/python -V
3. The output of the command should be `Python 2.7.6`
If it is not, then you can change the default version of Python with the following Terminal command:
defaults write com.apple.versioner.python Version 2.7
Please let me know if these steps helped to solve your problem.
Kind regards,
René
More information about the textmate
mailing list