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

energia-1.8.10E23-macosx-signed fails to launch on macOS #1052

Open
rei-vilo opened this issue Jan 10, 2020 · 7 comments
Open

energia-1.8.10E23-macosx-signed fails to launch on macOS #1052

rei-vilo opened this issue Jan 10, 2020 · 7 comments

Comments

@rei-vilo
Copy link
Member

Energia-1.8.10E23-macosx-signed fails to launch on macOS 10.15.2 _Catalina

Capture d’écran 2020-01-10 à 13 12 23

_.
@kelfink
Copy link

kelfink commented Jan 15, 2020

Same here, although I can't read French... I'm running Mac OSX Mojave 10.14.6
Screen Shot 2020-01-14 at 9 10 49 PM
Control-Click does let me "Show Package Contents" but I can't see what to run (if anything) from in there.

@shuchow
Copy link

shuchow commented Jan 20, 2020

Same problem on 10.15.2, but it looks like there's a workaround.

Initially, /var/log/system reported:

Jan 20 13:07:09 hostname com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x10000009.Energia[3884]): Could not find and/or execute program specified by service: 13: Permission denied: /Applications/Energia.app/Contents/MacOS/Energia

Permission was 0644. I changed this to 777, but the the app now immediately exists and this is written to system.log:

Jan 20 13:08:23 hostname com.apple.xpc.launchd[1] (nu.energia.Energia.24764[4325]): Service exited with abnormal code: 255

I then changed all of Applications/Energia.app/Contents to 777 and it launches. It's probably not a good idea. There's probably just one plist file or something that needs to be changed.

@TianshuangQiu
Copy link

TianshuangQiu commented Feb 1, 2021

I then changed all of Applications/Energia.app/Contents to 777 and it launches. It's probably not a good idea. There's probably just one plist file or something that needs to be changed.

What do you mean change all to 777. Where can I change it?

My error:

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00007fa7c1a18000
Exception Note:        EXC_CORPSE_NOTIFY

@elliott-turner
Copy link

My error:

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x00007fa7c1a18000
Exception Note:        EXC_CORPSE_NOTIFY

I am consistently having the same issue with the latest release on macOS Big Sur. 1.8.7E21 also appears to suffer from the same issue, but 1.6.10E18 does not.

@rei-vilo
Copy link
Member Author

rei-vilo commented Feb 1, 2022

Unfortunately, as per #1065, Energia does not support macOS Big Sur.

@elliott-turner
Copy link

@rei-vilo just seeing that now...

I now understand that Energia is not expected to work on macOS Big Sur, but for anyone else who would like to try and avoid having to downgrade their OS I was able to get it running by doing the following...

  1. Download energia-1.6.10E18-macosx-signed
  2. Launch Energia 1.6.10E18 (it should launch just fine, but you will notice that it fails to compile anything)
  3. With Energia running (do not quite the application), right click on the Energia app and select "Show Package Contents"
  4. Navigate to Contents > Java > tools-builder > ctags
  5. Delete 5.8-arduino10
  6. Paste in 5.8-arduino11 (I just repeated step 4 but within the Arduino app instead of Energia and copied 5.8-arduino11 from there)
  7. Energia should be able to compile and download sketches just fine now

Energia seems to work great now, even after closing and opening the application (I have not tested to see if it works after restarting my Mac however).

Unfortunately this sort of thing goes a bit above my head and I haven't spent a lot of time digging into it, but hopefully it might help someone else in my position.

@rei-vilo
Copy link
Member Author

rei-vilo commented Feb 2, 2022

@elliott-turner Thank you for sharing the solution!

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

No branches or pull requests

6 participants