Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Mac OS update has broken ISYN #5

Open
phillipsoliveira opened this issue Mar 22, 2022 · 1 comment
Open

Latest Mac OS update has broken ISYN #5

phillipsoliveira opened this issue Mar 22, 2022 · 1 comment

Comments

@phillipsoliveira
Copy link

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?

@brianseidman
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants