i-sheet-you-not
i-sheet-you-not copied to clipboard
Latest Mac OS update has broken ISYN
Latest update has broken ISYN, I get the following error:
Code 126: /Users/filipe/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/1D095DD5-6658-4FE4-AB31-8E669C6D093F: ./isyn: /usr/bin/python: bad interpreter: No such file or directory
Could someone help me fix this?
The difficulty is that macOS 12.3 no longer has Python 2 installed by default. (See Alfred blog post for more.)
Here's how I was able to get ISYN working again:
- Install Python 3 (this post from Martin Novak has good instructions)
- Confirm where Python 3 is located. For me, the Terminal command
ls -l /usr/bin/python*
confirmed that the install directory was/usr/bin/python3
. - Open your Alfred preferences, right-click on the ISYN workflow, and choose Open in Finder
- Open "isyn." For me it looked like an executable file, but you can open it with TextEdit or the code editor of your choice. At top, where you see
#!/usr/bin/python
, change that to the location of your Python 3 installation (so for me it was changing it to#!/usr/bin/python3
).
That should solve that error. Once I did that, I had one more error, regarding /isheetyounot/core.py
. On line 136, where it says os.makedirs(dp, 0700)
, I took out the "0" before "700" (so now it reads os.makedirs(dp, 700)
). That conforms to Python 3 standards, and now ISYN works for me.
Hope that helps!