elgiano / nn.ar

nn_tilde adaptation for SuperCollider
GNU General Public License v3.0
30 stars 4 forks source link

Issue with runnin nn #3

Closed Adampultz closed 1 year ago

Adampultz commented 1 year ago

Hi Gianluca,

thanks so much for doing this work.

I am on Apple M1Max with OS 13.3.1

I have downloaded and installed the prebuilt release, but when I try to run the first part of your template patch, I get the following error message: "“libc10.dylib” is damaged and can’t be opened. You should move it to the Bin."

When I press cancel, the sc window reads:

"^^ The preceding error dump is for ERROR: NNModelInfo: can't load info file '/Users/adammac2023/Library/Application Support/SuperCollider/tmp/nn-sc-1007.yaml'"

I have tried building from source but have had to face that I am not skilled enough to make that work either.

Best, Adam

elgiano commented 1 year ago

Maestro,

I'm not very familiar with mac, but just to rule out one thing, have you ran this:

runInTerminal("xattr -d -r com.apple.quarantine %".format(Platform.userExtensionDir +/+ "nn.ar"))

and this shouldn't be necessary, but just to be sure again:

runInTerminal("xattr -d -r com.apple.quarantine %".format(Platform.userExtensionDir +/+ "nn.ar/ignore"))

and are we sure you got the mac arm release?

Adampultz commented 1 year ago

This was my bad, sorry. I hadn't been attentive to an error message I got when running those terminal scripts. On my computer, SuperCollider/Extensions is in a folder called /Application Support/ so I had to copy the enitre path into the SuperCollider code (to make terminal ignore the space) and enclose it in single quotes, like this:

runInTerminal("xattr -d -r com.apple.quarantine %".format("'/Users/adammac2023/Library/Application Support/SuperCollider/Extensions/nn.ar'"))
elgiano commented 1 year ago

Greaaat! So does it work now? I'll update the readme with the quotes

runInTerminal("xattr -d -r com.apple.quarantine" + shellQuote(Platform.userExtensionDir +/+ "nn.ar"))
Adampultz commented 1 year ago

Yes, I am getting sound but also what appears to be dropouts. It’s entirely possible it’s my fault, I am a total noob with this stuff. Will do more testing and report back.

Adam Pultz Melbye web https://adampultz.com/ | bandcamp https://adampultz.bandcamp.com/ | vimeo https://vimeo.com/adampultz

On 14 Jul 2023, at 15:40, gianlucaelia @.***> wrote:

Greaaat! So does it work now? I'll update the readme with the quotes

— Reply to this email directly, view it on GitHub https://github.com/elgiano/nn.ar/issues/3#issuecomment-1635883055, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUJMC7IN4ORL6CY6YQ6T7LXQFD6VANCNFSM6AAAAAA2IW4EHE. You are receiving this because you authored the thread.

elgiano commented 1 year ago

Maybe this got better with v.0.0.3-alpha? Anyway, I suggest we continue the discussion on scsynth.org:

https://scsynth.org/t/experiences-with-rave-ugen/6398/25

And the README now should have correct informations for mac quarantine stuff, also including the error you got. Thanks for opening the issue <3