Errors on Grasshopper Loading Mac M3

Hi there @mathieu1 @shapediver @snabela ,

I have some problems loading the plugin in Mac OS (Sonoma 14.4.1 (23E224) on M3 Pro); everytime grasshopper loads it opens a window popup giving me these errors:

I am attaching the text version here below.
Errors.txt (103.1 KB)

Also, after closing the above window this other popup comes up with this info:

An exception happened when adding menu items:
Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not instantiate ShapeDiver.SDK.ShapeDiverSDK
—> System.Exception: Could not instantiate ShapeDiver.SDK.ShapeDiverSDK.
—> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
—> Castle.MicroKernel.ComponentActivator.ComponentActivatorException: ComponentActivator: could not instantiate ShapeDiver.SDK.Util.SdkEnvironmentJsonConfigSingleton
—> System.Exception: Could not instantiate ShapeDiver.SDK.Util.SdkEnvironmentJsonConfigSingleton.
—> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
—> System.IO.IOException: Read-only file system : ‘/shapediver’
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.Directory.CreateDirectory(String path)
at ShapeDiver.SDK.Util.SdkEnvironmentJsonConfigSingleton…ctor(String pathToJSONFile)
at InvokeStub_SdkEnvironmentJsonConfigSingleton…ctor(Object, Object, IntPtr*)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
— End of inner exception stack trace —
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture)
at Castle.Core.Internal.ReflectionUtil.Instantiate[TBase](Type subtypeofTBase, Object ctorArgs)
— End of inner exception stack trace —
at Castle.Core.Internal.ReflectionUtil.Instantiate[TBase](Type subtypeofTBase, Object ctorArgs)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstanceCore(ConstructorCandidate constructor, Object arguments, Type implType)
— End of inner exception stack trace —
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstanceCore(ConstructorCandidate constructor, Object arguments, Type implType)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstance(CreationContext context, ConstructorCandidate constructor, Object arguments)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
at Castle.MicroKernel.Lifestyle.SingletonLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
at Castle.Windsor.WindsorContainer.ResolveT
at ShapeDiver.Common.Container.IocContainerSingleton.ResolveT
at ShapeDiver.SDK.ShapeDiverSDK…ctor(IIocContainer iocContainer, String clientId)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
— End of inner exception stack trace —
at System.Reflection.ConstructorInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture)
at Castle.Core.Internal.ReflectionUtil.Instantiate[TBase](Type subtypeofTBase, Object ctorArgs)
— End of inner exception stack trace —
at Castle.Core.Internal.ReflectionUtil.Instantiate[TBase](Type subtypeofTBase, Object ctorArgs)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstanceCore(ConstructorCandidate constructor, Object arguments, Type implType)
— End of inner exception stack trace —
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstanceCore(ConstructorCandidate constructor, Object arguments, Type implType)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstance(CreationContext context, ConstructorCandidate constructor, Object arguments)
at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalCreate(CreationContext context)
at Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Create(CreationContext context, Burden burden)
at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.CreateInstance(CreationContext context, Boolean trackedExternally)
at Castle.MicroKernel.Lifestyle.AbstractLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, Arguments additionalArguments, IReleasePolicy policy, Boolean ignoreParentContext)
at Castle.Windsor.WindsorContainerExtensions.Resolve[T](IWindsorContainer container, IEnumerable1 arguments) at ShapeDiver.Common.Container.IocContainerSingleton.Resolve[T](IEnumerable1 arguments)
at ShapeDiverForGrasshopper.SdForGhIocContainer.get_ShapeDiverSDK()
at ShapeDiverForGrasshopper.ShapeDiverTopLevelMenuCreator.b__1_0()

Please let me know if you have a solution on how to solve this or if it takes more time to investigate.
Thank you in advance for your support!

Which version of the plugin did you install? Do you maybe have leftover files from previous versions, in case you installed them with a different method?

@mathieu1 thanks for your reply.

I installed the latest version, v1.17.0 on a completely new machine.
I double-checked and the only folder where it is installed is .../Library/Application Support/McNeel/Rhinoceros/packages/8.0
so, no leftovers from previous versions / different installation methods.

Thank you.