[TxMt] Re: Failure running “Typeset & View (PDF)”.

Christof Janssen christof.janssen at upmc.fr
Tue Apr 14 08:56:15 UTC 2015


Hi René,

René Schwaiger wrote:
> 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`
It is not:

bash-3.2$ /usr/bin/python -V
Python 2.6.9
>
> 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.
Yes, it solved the problem. That's just wonderful.
Thanks a lot.
>
> Kind regards,
>    René
Christof
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list