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

Code 126: /bin/bash: ./alfred-chromium-workflow: Bad CPU type in executable #9

Closed
joelmellon opened this issue Sep 19, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@joelmellon
Copy link
Contributor

I just upgraded from 0.2.7 to 0.2.8 and got this error:

Screen Shot 2022-09-19 at 11 45 15 AM

I deleted and reinstalled 0.2.7 to confirm something changed, and the error goes away, and cht works perfectly.

Steps to reproduce:

  1. Download alfred-chromium-workflow.alfredworkflow 0.2.8
  2. Open debugger in workflow.
  3. In Alfred: cht anything
  4. Notice "Code 126: /bin/bash: ./alfred-chromium-workflow: Bad CPU type in executable" error in debug console.

Workaround: revert to 0.2.7.

My system:
macOS Monterey 12.3.1 (21E258) on Intel chip.
Alfred 4.7 [1306] then upgraded to Alfred 5.0.2 [2073] and experienced the same issue.

It doesn't look like much changed in 0.2.8 executable-wise, but maybe the magefile version changes had some effect? ‾_(ツ)_/‾

@jopemachine
Copy link
Owner

jopemachine commented Sep 20, 2022

I think this would be resolved on 0.2.9, but I can't test it because I don't have intel mac now..

Would you mind testing if it works on intel mac if you are okay?

@jopemachine jopemachine added the bug Something isn't working label Sep 20, 2022
@joelmellon
Copy link
Contributor Author

It works. Thanks again. 🙏

@Asxing
Copy link

Asxing commented Jul 10, 2024

This issue is still present in the latest 0.3.0, the rollback using 0.2.9 is normal.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants