Hops error : Path appears valid, but to

Hops error : Path appears valid, but to something that is not Hops related.
Having trouble getting for hops to work on Rhino8 using DotnetFramework runtime.
If i change runtime to NetCore then everything works. Uninstalled every gh plugin, installed Core runtimes as suggested in other threads, nothing seems to help.

Ways to reproduce:

  • Open Rhino8
  • SetDotNetRuntime to NetFramework
  • Open grasshopper and try to open any .gh file in hops

Rhino 8 SR8 2024-6-11 (Rhino 8, 8.8.24163.12481, Git hash:master @ ded4d86ca901dbeaf13ee84f79b3e91b22da4880)
License type: Commercial, build 2024-06-11
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 16GB)
.NET Framework 4.8.9241.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 SUPER (NVidia) Memory: 8GB, Driver date: 9-12-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.42
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 9-12-2023
Driver Version: 31.0.15.3742
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24163.12481
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Console output

[00:10:38 INF] Rhino compute started at 16.06.2024 00:10:38
[00:10:38 INF] Initiliazing reverse proxy at 16.06.2024 00:10:38
[00:10:38 INF] Spawn children at startup is set to True
[00:10:38 INF] Now listening on: http://localhost:6500
[00:10:38 INF] Application started. Press Ctrl+C to shut down.
[00:10:38 INF] Hosting environment: Production
[00:10:38 INF] Content root path: C:\Users\Admin\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.8\rhino.compute
CG  [00:10:42 INF] Child process started at 16.06.2024 00:10:42
CG  [00:10:42 INF] Parsed port = 6001
CG  [00:10:43 INF] Compute 8.0.0.0, Rhino 8.8.24163.12481
CG  [00:10:44 INF] (1/3) Loading rhino scripting plugin
CG  [00:10:44 INF] Successfully loaded scripting plugin
CG  [00:10:44 INF] Configured scripting plugin for compute
CG  [00:10:44 INF] (2/3) Loading grasshopper
CG  [00:10:45 INF] (3/3) Loading compute plug-ins
CG  [00:10:45 INF] Now listening on: http://localhost:6001
CG  [00:10:45 INF] Application started. Press Ctrl+C to shut down.
CG  [00:10:45 INF] Hosting environment: Production
CG  [00:10:45 INF] Content root path: C:\Users\Admin\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.8\rhino.compute
CG  [00:10:50 ERR] Connection id "0HN4DFUFQV0TU", Request id "0HN4DFUFQV0TU:00000001": An unhandled exception was thrown by the application.
System.IO.FileNotFoundException: Could not load file or assembly 'GH_IO, Version=8.0.23304.9001, Culture=neutral, PublicKeyToken=6a29997d2e6b4f97'. The system cannot find the file specified.
File name: 'GH_IO, Version=8.0.23304.9001, Culture=neutral, PublicKeyToken=6a29997d2e6b4f97'
   at compute.geometry.GrasshopperDefinition.FromUrl(String url, Boolean cache)
   at compute.geometry.ResthopperEndpointsModule.GetIoNamesHelper(HttpContext ctx, Boolean asPost) in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\ResthopperEndpoints.cs:line 205
   at compute.geometry.ResthopperEndpointsModule.PostIoNames(HttpContext ctx) in D:\BuildAgent\work\4852f584398a78e4\src\compute.geometry\ResthopperEndpoints.cs:line 191
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
[00:10:50 ERR] HTTP POST /io responded 500 in 455.0198 ms

I have created a You Track issue (Compute-288) to track this bug. Thank you for reporting this.

1 Like