How did you install the grasshopper connectors btw?
Was it via app.speckle.systems or your rhino next-gen connector, or did you drag and drop the .gha file into grasshopper?
Could you try a clean uninstall/reinstall of the connector first (via our .exe), and see if this registration issue persists?
@clrkng I followed the Next-gen installation page instructions, so first un-installed all old, and then used the exe (“speckle.rhino.installer-3.2.0.exe”). Already did a re-installation once, but it did not resolve the issue. Nothing was drag-dropped.
The behaviour you’re seeing is very strange indeed.
Rhino8 should not be trying to load the Speckle Rhnio7 Grasshopper .gha file.
Please can you confirm, do you receive the error when loading Rhino, or only while Grasshopper is loading?
If you run the command SpeckleBeta, does the regular rhino connector work correctly? or is that failing also…
I also have some other steps we could try to get to the bottom of why Grasshopper is trying to load the Rhino7 plugin also…
Hi @Jedd
I have VisualARQ3 installed, and starts up with the startup template. So, Grasshopper loads during Rhino startup. I unabled Tibidabo and Visualarq, and then opened up Rhino without errors. So, I can confirm that the errors appear on Gh loadup.
In Rhino SpeckleBeta works correctly and already used it to upload model without issue. (separate issue: uploaded text objects do not respect model scale in the viewer).
Save the .reg file somewhere.
I don’t think the file will contain anything that would be unsafe to post publicly here, but lets play safe, send this to me as a direct message.
Then, I would like to you to:
5. Uninstall the Speckle for Rhino + Grasshopper v3 connector. Wait for the uninstaller to say it’s finished.
6. Close and reopen the registry editor, and same way as before, Re-export the Plugin.
So you’ll be sending me two files, a registry export with the connector installed, and one without.
Thank you for your patience, I am able to get some useful information from those files…
I’m still not certain how things got into this state, there’s a couple suspicions things in there. Hopefully can now suggest some things that might solve the issue.
Firstly, please ensure Rhino is fully closed, and the Speckle connector is uninstalled.
Then, Please ensure the following folder is deleted. %appdata%\McNeel\Rhinoceros\8.0\Plug-ins\Speckle.Connectors.Rhino8 (2153799A-0CEC-40DE-BC3A-01E5055222FF)
Then right click on 40f6defd-3677-42b6-9d19-3cd604a0a288 and delete.
For good measure, please also check the following registry keys, and delete it if it exists.
2153799A-0CEC-40DE-BC3A-01E5055222FF
Note, be careful not to delete the wrong keys, but if you do accidently delete the wrong key, then you can restore by double clicking using the files you sent me
Then re-install the Speckle connector.
Please let me know the results. I think there’s a couple more things we can try if this fails
Deleted those exact key-folders from several locations under Rh7 and Rh8. Locations, such as Plug-ins; Schema:Default/Plug-ins and Global Options/Plug-ins
Re-installed exe (as “admin” just in case)
Open Rhino8 - no error messages, and Specklebeta works.
Open Grasshopper - Speckle is not loaded and thus nothing present
I drag .gha from “C:\Users\Toni\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\Speckle.Connectors.Rhino8 (2153799A-0CEC-40DE-BC3A-01E5055222FF)” to Grasshopper and Speckle appears.
Restart Rhino8 - no conflict error, but get Grashopper loading errors:
This first error seems relevant, as other are just NullExceptions.
"Menetelmää ei löydy: System.IDisposable Speckle.Connectors.Common.Connector.Initialize(Microsoft.Extensions.DependencyInjection.IServiceCollection, Speckle.Sdk.Application, Speckle.Connectors.Common.HostAppVersion).
MissingMethodException
"
Is this dependent on some .NET version, etc… I really don’t know anything about those, but I just had to install one particular ASP.NET version, in order to get Hops working.
Ok, a small progress. I opened Rhino in Safe Mode. It queries for each plugin, and I said ok only to Speckle. Then loading Grasshopper, and no error. This could implicate a Rhino plugin as the culprit..?
@Jedd
Found it! It was Enscape plugin. When Escape is not loaded, then there’s no Load Error for Gh.
I have version 4.2.1.88 installed. I’ll first try to see if there’s an update. But I would think you could now be able to replicate this.
Edit: Updated to 4.6.0.451. The issue still persists. I’ll keep Enscape un-loaded for now.
Escape is not some obscure plugin, so other’s might also come across this issue.