When I open my Grasshopper/Hops files in Rhino 8, they Hops component usually casts one of the following error message:
1. Solution exception:One or more errors occurred. (One or more errors occurred. (Invalid URI: The hostname could not be parsed.))
1. Unable to solve on compute
I found out Hops works just fine in rh8 if I first open a rh7 instance with the same Hops component.
How can I make Hops run fine in just Rhino 8?
Here’s a Compute log of the load rh8 loading process:
[12:50:21 INF] Rhino compute started at 24/11/07 12:50:21
[12:50:21 INF] Initiliazing reverse proxy at 24/11/07 12:50:21
[12:50:21 INF] Spawn children at startup is set to True
[12:50:21 INF] Now listening on: http://localhost:6500
[12:50:21 INF] Application started. Press Ctrl+C to shut down.
[12:50:21 INF] Hosting environment: Production
[12:50:21 INF] Content root path: C:\Users\shwde\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Hops\0.16.0\rhino.compute
CG [12:50:26 INF] Child process started at 24/11/07 12:50:26
CG [12:50:26 INF] Configuration Result:
[Success] Name compute.geometry
[Success] DisplayName rhino.compute
[Success] Description rhino.compute
[Success] ServiceName compute.geometry
CG [12:50:26 INF] Topshelf v4.1.0.172, .NET Framework v4.0.30319.42000
CG [12:50:26 INF] Compute 1.0.0.0, Rhino 7.37.24107.15001
CG [12:50:26 INF] Launching RhinoCore library as shwde
CG 6001 [12:50:30 INF] (1/2) Loading grasshopper
CG 6001 [12:50:39 INF] (2/2) Loading compute plug-ins
CG 6001 [12:50:40 INF] The compute.geometry service is now running, press Control+C to exit.
[12:51:21 INF] Max concurrent requests = 0
CG 6001 [12:52:07 ERR] Exception in DocumentAdded event handler
System.NullReferenceException: Object reference not set to an instance of an object.
at SnippetManager.AssemblyPriority.DocumentServer_DocumentAdded(GH_DocumentServer sender, GH_Document doc)
at Grasshopper.Kernel.GH_DocumentServer.DocumentAddedEventHandler.Invoke(GH_DocumentServer sender, GH_Document doc)
at Grasshopper.Kernel.GH_DocumentServer.AddDocument(GH_Document document)
at compute.geometry.GrasshopperDefinition.Construct(GH_Archive archive) in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\GrasshopperDefinition.cs:line 201
CG 6001 [12:52:08 INF] ::1 - [2024-11-07T12:52:08.0246369+01:00] “POST /io HTTP/1.1” 200 -
[12:52:08 INF] HTTP POST /io responded 200 in 864.1936 ms
CG 6001 [12:52:08 ERR] Exception in DocumentAdded event handler
System.NullReferenceException: Object reference not set to an instance of an object.
at SnippetManager.AssemblyPriority.DocumentServer_DocumentAdded(GH_DocumentServer sender, GH_Document doc)
at Grasshopper.Kernel.GH_DocumentServer.DocumentAddedEventHandler.Invoke(GH_DocumentServer sender, GH_Document doc)
at Grasshopper.Kernel.GH_DocumentServer.AddDocument(GH_Document document)
at compute.geometry.GrasshopperDefinition.Construct(GH_Archive archive) in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\GrasshopperDefinition.cs:line 201
CG 6001 [12:52:08 INF] ::1 - [2024-11-07T12:52:08.8517679+01:00] “POST /io HTTP/1.1” 200 -
[12:52:08 INF] HTTP POST /io responded 200 in 439.1245 ms
[12:52:21 INF] Max concurrent requests = 1
CG 6001 [12:52:26 INF] ::1 - [2024-11-07T12:52:26.3330357+01:00] “POST /grasshopper HTTP/1.1” 200 -
[12:52:26 INF] HTTP POST /grasshopper responded 200 in 13380.7377 ms
CG 6001 [12:52:40 INF] ::1 - [2024-11-07T12:52:40.1481639+01:00] “POST /grasshopper HTTP/1.1” 200 -
[12:52:40 INF] HTTP POST /grasshopper responded 200 in 7131.1096 ms