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

New Issue on MacOS Sierra #35

Open
herrybo opened this issue Aug 11, 2016 · 14 comments
Open

New Issue on MacOS Sierra #35

herrybo opened this issue Aug 11, 2016 · 14 comments

Comments

@herrybo
Copy link

herrybo commented Aug 11, 2016

Sad to see this.....

When I want Open Electribe following Window is open:

Warning: The OpenElectribeEditor executable launcher was unable to locate its companion shared library.

:-(
bildschirmfoto 2016-08-11 um 21 40 48

@forare
Copy link

forare commented Nov 25, 2016

I was able to open and control clicking > Show Package Contents > Contents > MacOS > clicking on OpenElectribeEditor

@skratchdot
Copy link
Owner

I haven't ran into this issue, so I'm not sure exactly what that error means (and it's been a while since I've looked into it). But I know other people have reported it at one point or another.

I use homebrew and homebrew-cask to install all my apps. Open Electribe Editor requires java 6, so I ran the following:

brew tap caskroom/versions
brew update
brew cask install java6

After doing that, I've been able to run Open Electribe Editor without issues. Can you see if this works for you?

@forare
Copy link

forare commented Nov 27, 2016

I updated xcode and installed homebrew and then ran the code but get the same original Alert. I can still open the editor in the terminal but now it crashes if i try to save or open a new esx file.

@forare
Copy link

forare commented Nov 27, 2016

Contents/MacOS/OpenElectribeEditor ; exit;
Invalid memory access of location 0x0 rip=0x0
Segmentation fault: 11
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

@skratchdot
Copy link
Owner

@forare -

Okay. I'm able to reproduce, but only if I try to open/run "OpenElectribeEditor.app" from a folder by itself.

I now see what you are saying. I used the "Eclipse RCP" framework when making this app. It bundles apps a little differently than the OSX standard.

For instance, I am using the "OpenElectribeEditor-v1.2.0-macosx.cocoa.x86.tar.gz" download. When I extract that folder, I get a bunch of files:

image

I can run "OpenElectribeEditor.app" from that folder just fine. If I move OpenElectribeEditor to a different folder, I get the error you are seeing.

So: if you are trying to move this to your "Applications" folder, you need to drag-and-drop the whole "OpenElectribeEditor" folder- not just the OpenElectribeEditor.app file.

So this app is built on eclipse, and you "install" it the same way. Here's some info I found from a quick google search: https://superuser.com/questions/670592/moving-eclipse-into-applications

@forare
Copy link

forare commented Nov 28, 2016

That's weird because I have been trying to run it inside that folder and not by itself...hmm.

@skratchdot
Copy link
Owner

I'm not exactly sure. I do also have java7 and java8 installed, but I know the program didn't start working until I installed java6. I've tried googling, but not sure any of the links I find will help. I typically just look for the same error message that happens for eclipse installations, and that sometimes helps people: https://stackoverflow.com/questions/40680735/eclipse-executable-launcher-was-unable-to-locate-its-companion-shared-library-m

Maybe you can try:

brew cask install java

When I run brew cask list I have the following 3 versions installed:

java
java6
java7

Sorry I'm not being more help, but I can't seem to reproduce. I could try to help debug more, but would probably need to start asking for things like what all is in your path, etc. Do you see any errors when you run brew doctor?

@forare
Copy link

forare commented Nov 29, 2016

Thanks for your help. I have the same 3 java versions and no brew errors...I'll have to double check everything. It always worked fine in El Capitan so there's some conflict somewhere with Sierra, i guess.

@skratchdot
Copy link
Owner

I've got it running on this:

image

But I'm also running it from ~/Downloads/esx/OpenElectribeEditor/

What path did you unzip the .tar to? I know there is an issue w/ Eclipse for paths containing certain characters.

Another option would be running it from a VM (but that's kind of a pain).

@forare
Copy link

forare commented Nov 29, 2016

I've been trying it from ~/Downloads/OpenElectribeEditor/
Tried it from apps too

@bfeeny
Copy link

bfeeny commented Dec 9, 2017

It has to do with OSX adding some attributes that don't need to be there. To fix:

xattr -c OpenElectribeEditor.app

@forare
Copy link

forare commented Feb 15, 2018

That worked for High Sierra. Thanks.

@forare
Copy link

forare commented Feb 27, 2018

If it's in your Applications Folder, just make sure you type cd /Applications/OpenElectribeEditor/ into the terminal first, return, and then type xattr -c OpenElectribeEditor.app, return

@skratchdot
Copy link
Owner

I also have an updated wiki: https://github.com/skratchdot/open-electribe-editor/wiki/OSX---macOS-Sierra-Instructions

The key for me is making sure java -version returns a java6 version

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

4 participants