< Back to IRCAM Forum

OM 6.12 doesn't see stock libraries

Hi everybody,

I installed the new version yesterday on MacOS Sierra, but it can’t open my previous workspaces, because it doesn’t find it’s own libraries, Esquisse, Repmus,… I just copied the whole folder from the DMG to my application-folder, so everything is in the default place. Is this normal, or another security restriction from Apple? I can start importing my old stuff, but shouldn’t the standard libraries be seen by the OM-app without explicit pointing to them?
This causes the constant error: “I can’t load the workspace because library nn isn’t found”, so I can’t actually get into the preferences and point to the standard libraries…

I’ll stick with 6.11 for now…

Greetings, Joost

Do you see the libraries when you open the “Packages” window ?

Screen-Shot-2017-03-20-at-18.24.47.png

Hi Jean,

it sees the libraries-folder in packages, but it’s empty, when I click on the lower half of it’s icon, to open it’s contents, nothing happens;
it looks different from your screenshot in that it doesn’t have the arrow on it’s left side;

Thanks for helping out!
Joost

ok. Is there something in the OM 6.12/libraries/ directory ?

Screen-Shot-2017-03-20-at-18.53.40.png

Yes, obviously :slight_smile:
since I copied the folder in its exact state from the install-DMG, so it contains all the stock-library-folders;
I see the files for Repmus and all the others, but the OM-app doesn’t see them…

ok, very strange. Files in the folders, too I guess.
This might be a codesigning thing that I didn’t do well (I’m not sure I even signed the code at all in 6.12).
I will try to redo and post an update asap (give me a few days).

Dear Jean,

Yes I confirm. With Sierra there is a problem accessing the library folder in OM. When the OM PAckages Library is openned, there is no left arrow allowing you to open the libraries folder in order to load them. I am sure it is the F(*& Apple security shitty system called Gate Keeper that prevent this happening.

Best
K

Hi there,
So I updated the OM 6.12 MacOSX download with a better code-signed app.
Let me know if it works

I’m sorry to report that it didn’t work, Jean. The problem persists, symptoms being the same as discussed above.
I tried to make a work-around by adding the libraries-folder to the user-libraries that you can appoint yourself; like this OM recognises them, but doesn’t seem to understand that the ‘repmus’ I told to load is the same ‘repmus’ as used in existing patches.
Which triggers the same error as before: ‘I can’t open this workspace, because I can’t find the library Repmus’ (or any other);
So I would have to manually import each patch from previous workspaces, and replace the library-related items in it…
It seems on the surface indeed a problem of security system, but OM 6.11 works brilliant on my current system, and, apparently has no problems cooperating with the OS…

If I can be of any help to find this bug, let me know! OM 6.12 feels nice and fast, for what I have tested it until now, I’d love to update :slight_smile:
Just for info my system: MBPro 15" from 2014 with OSX Sierra 10.12.4

Greetings from Brussels!
Joost

Yes, I’ve noticed that already and am trying to figure out what is wrong…

It is strange that this does not happen with 6.11 works on Sierra (right?), the installer-building procedure is pretty much the same and I can’t remember what I did differently about included libraries.

Yes, that’s really bizar. 6.11 has no issues whatsoever on Sierra;
Is there some file within the new 6.12-application that I could maybe inspect? Where does the OM-app reads it’s info on the location of the libraries?
I know Sierra is all about sandboxing apps and restricting permissions to alter or inspect the file-system, like on the iOS…
I had some small opensource apps that don’t work anymore on Sierra because of this.
Somehow the OM-app also seems ‘blind’: it doesn’t see into it’s surrounding folder…

ok. can you try the updated dmg file that I just uploaded ?
http://forumnet.ircam.fr/shop/fr/forumnet/43-openmusic.html
(“Release #[2] updated”)

I’m sorry, still the same;
I’ll be online for the afternoon, so if you want to send test-material, I’ll keep an eye on this thread!

Jean,

Maybe it is a LispWork issue. Maybe it is not signed apple. So when an image is done with it, Sierra is not happy ?
(it’s just a hinch.) We are having the same issue with Max runtime. I know it is not the same, but maybe should check into this direction. Anyhow Apple policy is not cool !

Best
K

Ok, so here is a guess : the problem might not come from the OM update (6.11 => 6.12) but from the Sierra updates you got installed in the meantime.

Let’s try the following : go to the OM-archives pages and try to re-download OM 6.11. If I’m correct it might not work anymore either (! install it in a different location, like on your Desktop, in order to not erase your previously installed 6.11)
=> http://forumnet.ircam.fr/shop/fr/archived.php?id_product=43&archived=1

It seems that the new Sierra silently “delocalizes” the running (newly downloaded) app somewhere hidden in your disk, which makes it blind to surrounding files and folder.

The function (lw::lisp-image-name) allows to see where your running executable is localized.

Guess #2: disabling your Mac’s security assessment policy system will let OM downloads to install and run correctly.

In order to do that, use the Terminal and type :
sudo spctl --master-disable

Do this before downloading OM, or re-download it after this is done.

Hi Jean, I can recreate the situation here. Apparently it’s Sierra;
How do I type this lisp-image function in the listener or somewhere else to find out the changed location?
I tried to copy-paste it with parenthesis in the listener, but nothing happens;

If I disable Gatekeeper, and download and install OM6.12, can I enable it then afterwards again, or do I need to disable it each time I run OM?

If I disable Gatekeeper, and download and install OM6.12, can I enable it then afterwards again, or do I need to disable it each time I run OM?

Good question. I think you can re-enable it after downloading (this is when the magic happens).
To re-enable :
sudo spctl --master-enable
Let us know if it works…

How do I type this lisp-image function in the listener or somewhere else to find out the changed location? I tried to copy-paste it with parenthesis in the listener, but nothing happens;

If you are in a standard text pane (e.g. a text buffer or the Listener ouput pane) you can evaluate expressions using CTRL+x-e (x then e, while CTRL remains down).

Otherwise, you can enable the Listener input pane from your General Preferences, and then just type and evaluate expressions in it.

Jean & Karim,

disabling Gatekeeper did the trick! I got 6.12 working stable! I re-enabled it after installing and everything seems to work properly.
Thanks, maybe put a note at the download-page so that other Mac-users know how to proceed with the installation!

Thank you for the help & time!
Joost