[OS X TeX] macOS Monterey - broken BBEdit/Skim integration scripts
Richard Seguin
riseguin at earthlink.net
Mon Aug 1 00:27:39 CEST 2022
[This message from Adam did come through directly to my Mail, so maybe my ISP finally got the message that this is not spam.]
Adam,
Thanks for the link to the download! I might install it, at least on a temporary basis, while I’m looking into the migration issue. There is a unix executable in usr/bin called python3, although it’s only about 12 KB in size. I don’t know what this is — just a placeholder of sorts perhaps? I’m not sure if there used to be a file called python or python2 in that spot since I did not look before the upgrade to the operating system.
The integration scripts by Nathan Grigg involves two python files, as far as I’ve discovered so far: parse_log.py and directives.py. Both of these files begin with "#!/usr/bin/python”. As an experiment, with BBEdit I temporarily changed both of these lines to "#!/usr/bin/python3” and I got beyond the original error message to yet another one.
Richard
> On Jul 31, 2022, at 4:12 PM, Adam R. Maxwell via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>
>
>> On Jul 31, 2022, at 10:49 , Richard Seguin <riseguin at earthlink.net <mailto:riseguin at earthlink.net>> wrote:
>>
>> The scripts are an interdependent mix of AppleScript and Python scripts. Apparently in 12.3, Apple removed Python 2 leaving the more secure Python 3, and the removal of Python 2 broke everything. On attempting to typeset I would get the following error message:
>
> Correction: Apple never shipped Python 3, so there is no longer any version of Python shipped with OS X. Your easy button here is to install Python 2 using the installer package here:
>
> https://www.python.org/downloads/release/python-2718/ <https://www.python.org/downloads/release/python-2718/>
>
> Caveats about Python 2 being unmaintained, less secure, etc apply, and migrating to Python 3 is probably a good idea. You can also find a binary installer for Python 3 at python.org <http://python.org/>. Apple ships a lobotomized Python 3 with its developer tools, but don't rely on it for general usage.
>
> Adam
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20220731/b9a423d4/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.