I’m running Rhino Compute locally (in a docker container on Windows). My goal is to run Grasshopper scripts and I have got that to work.
Now I’m trying to add Grasshopper addons, so I can use them in the Grasshopper scripts.
If I try to run a script that uses the Anemone addon I get the following error;
System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at Grasshopper.Kernel.GH_Document.InstallMissingObjects(GH_IReader reader, ObjectDeserialisationInfo info) at Grasshopper.Kernel.GH_Document.ReadObjectList(GH_IReader reader, String collection, List`1 plugins) at Grasshopper.Kernel.GH_Document.Read(GH_IReader reader) at GH_IO.Serialization.GH_Archive.ExtractObject(GH_ISerializable target, String targetName) at compute.geometry.ResthopperEndpointsModule.Grasshopper(NancyContext ctx) in C:\src\compute.geometry\ResthopperEndpoints.cs:line 87 at Nancy.Routing.Route.<>c__DisplayClass4.<Wrap>b__3(Object parameters, CancellationToken context)
I guess this is Grasshopper trying to open a dialog offering to download the Anemone addon. Fine.
So I tried to fix that by adding the Anemone addon file, i.e. anemone.gha, to the following folders:
But I still get the same error.
Does anyone know if that should work, or if there are any other things to do to make it work?