jopemachine / alfred-chromium-workflow

Chromium based browser workflow for Alfred 5
MIT License
120 stars 10 forks source link

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

Closed joelmellon closed 1 year ago

joelmellon commented 1 year ago

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 commented 1 year ago

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?

joelmellon commented 1 year ago

It works. Thanks again. 🙏

Asxing commented 2 months ago

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