skratchdot / open-electribe-editor

Open Electribe Editor (formerly known as ESX Wave Organizer) is a program that allows you to organize, edit, and create .esx files for the Korg ESX-1.
https://sawloop.com/
48 stars 15 forks source link

New Issue on MacOS Sierra #35

Open herrybo opened 8 years ago

herrybo commented 8 years ago

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 commented 7 years ago

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

skratchdot commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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

skratchdot commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

bfeeny commented 6 years ago

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

xattr -c OpenElectribeEditor.app

forare commented 6 years ago

That worked for High Sierra. Thanks.

forare commented 6 years ago

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 commented 6 years ago

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