Error: Path appears valid, but to something that is not Hops related

I’m trying to use Hops for the first time, but I cannot get it to run. When linking the .gh file in a hops component, I get this message 1. Path appears valid, but to something that is not Hops related

After linking the path, the grasshopper freezes for 10-15 seconds before throwing the error.

The file I’m trying to run is linked below

And here is my system info

Rhino 7 SR29 2023-4-17 (Rhino 7, 7.29.23107.03001, Git hash:master @ 5f05ef3a2eea3d910c4c2fb79ccc75b413d33ca7)
License type: Educational, build 2023-04-17
License details: Cloud Zoo

Windows 11 (10.0.22621 SR0.0) or greater (Physical RAM: 32Gb)

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 12-3-2022 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3080 Laptop GPU (NVidia) Memory: 8GB, Driver date: 10-6-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 496.13
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

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: 10-6-2021
Driver Version: 30.0.14.9613
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
C:\Program Files\SimLab\Plugins\SimLab USDZ From Rhino\SimLabUSDZExporter.rhp “SimLab USDZ Exporter”
C:\Users\azizb\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Bullant\1.5.12.0\bullant.rhp “bullant” 1.5.12.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RPC.rhp “RPC”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Users\azizb\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.29.23107.3001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

simpleHopsPercentage.gh (5.8 KB)

1 Like

I have a similar issue, did you manage to solve it?
I get the same error, but grasshopper does not freeze

1 Like

I receive the same error and Rhino freezes as well for me, were you able to find a solution?

I’m experiencing the same error message “1. Path appears valid, but to something that is not Hops related”

I’m using the latest Rhino build and I’ve tried loading Grasshopper with only the Hops plugin. No luck.

Here’s my system info:

Rhino 7 SR37 2024-4-16 (Rhino 7, 7.37.24107.15001, Git hash:master @ d2e42f70b9d3aa58f6053e2998a0db2abcd7555b)
License type: Educational, build 2024-04-16
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 15Gb)

Computer platform: LAPTOP - Unplugged [25% battery remaining] ~24 minutes left

Hybrid graphics configuration.
Primary display: AMD Radeon™ Graphics (AMD) Memory: 1GB, Driver date: 8-5-2021 (M-D-Y).
> Integrated accelerated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 3070 Laptop GPU (NVidia) Memory: 8GB, Driver date: 5-19-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 512.95
> Integrated accelerated graphics device with 4 adapter port(s)
- Video pass-through to primary display device

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: 5-19-2022
Driver Version: 30.0.15.1295
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 7\Plug-ins\Commands.rhp “Commands” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.37.24107.15001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

Any thoughts on how I can get Hops working, or a resource to help me?

Here’s my hops function:
AddTwoNumbers.gh (6.5 KB)

@AndyPayne

I have also got this error but only on Rhino 8 - hops works fine on Rhino 7. I tried updating to the latest version of Rhino 8 but no success.

Hi @AndyPayne,

Do you have any idea why I might be getting this error in Rhino 8 but not Rhino 7? Is there any system information I could send that might be helpful?

Many thanks,
Will

Do you have a file you’re trying to load? Does the Rhino.Compute console window contain any error messages?

Hi Andy, thank you for your reply. I managed to work out how to get the Compute console window open and got this error message.

You must install or update .NET to run this application.

App: C:\Users\W.Curwen\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Hops\0.16.13\compute.geometry\compute.geometry.exeArchitecture: x64
Framework: ‘Microsoft.AspNetCore.App’, version ‘7.0.0’ (x64)
.NET location: C:\Program Files\dotnet\

The following frameworks were found:
3.1.32 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]

Learn about framework resolution:
Troubleshoot app launch failures - .NET | Microsoft Learn

To install missing framework, download:
Download ASP.NET Core 7.0 Runtime (v7.0.20) - Windows x64 Installer
[10:34:17 INF] Max concurrent requests = 0
[10:34:22 INF] Unable to start a local compute server
[10:34:22 ERR] HTTP POST /io responded 500 in 41775.3480 ms
System.Exception: Unable to start a local compute server
at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 227 at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98 at rhino.compute.ReverseProxyModule.<>c.<InitializeChildren>b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119 at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179 at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext) [10:34:22 ERR] Connection id "0HN7DOM8BBO64", Request id "0HN7DOM8BBO64:00000001": An unhandled exception was thrown by the application. System.Exception: Unable to start a local compute server at rhino.compute.ComputeChildren.LaunchCompute(Queue1 processQueue, Boolean waitUntilServing) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 227
at rhino.compute.ComputeChildren.GetComputeServerBaseUrl() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ComputeChildren.cs:line 98
at rhino.compute.ReverseProxyModule.<>c.b__5_0() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 43
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
— End of stack trace from previous location —
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
— End of stack trace from previous location —
at rhino.compute.ReverseProxyModule.AwaitInitTask() in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 119
at rhino.compute.ReverseProxyModule.ReverseProxyPost(HttpRequest req, HttpResponse res) in D:\BuildAgent\work\4852f584398a78e4\src\rhino.compute\ReverseProxy.cs:line 179
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Serilog.AspNetCore.RequestLoggingMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
[10:35:17 INF] Max concurrent requests = 0

Looks like I need to update the .NET to a slightly later version. I will try this and see if it works

Hi @AndyPayne

I (with some IT help) updated ASP.NET to 8.0.1 as 7.0.2 is no longer supported, but I am getting the same error message. Does this mean Hops will only work with that specific version of ASP.NET? Hops and Rhino Compute still work on Rhino 7.

Many thanks, Will

Yes, I believe at the moment Hops/Rhino.Compute will only work with .NET 7.0. I believe one of the latest service releases made Rhino 8 compatible with .NET 8.0 although it has to be launched in a special way in order for this change to be in effect. Perhaps @curtisw could provide more input here as he is the developer with the most knowledge on this change.

Currently, Rhino.Compute and Compute.Geometry are compiled with the following properties:

    <RuntimeFrameworkVersion>7.0.0</RuntimeFrameworkVersion>
    <RollForward>LatestMinor</RollForward>

This means that it will only run on a 7.0.x runtime. In order to run on .NET 8, the RollForward property would need to be set to LatestMajor. Unfortunately, this means that if .NET 8 is installed it will use it even if 7.0.x runtime is available, so there’s no real control over which one would be used on a user or server machine.

Fortunately, you can set the DOTNET_ROLL_FORWARD environment variable to LatestMajor to allow it to roll forward to .NET 8 even without recompiling (or changing the .runtimeconfig.json file). You can read details of it here.

This should allow everything to roll forward to the latest (stable) version of .NET runtime you have installed.

Hope this helps!

1 Like

Hi @curtisw and @AndyPayne,

Thank you both for your help. Using your suggestions, Ali from IT at my company managed to get it to work by removing any older .NET packages (such as ASP.NET Core Runtime and .NET Desktop Runtime) with versions predating v8. He uninstalled them via Programs and Features on Control Panel, and then installed ASP.NET Core Runtime 8.0.10 and .NET Desktop Runtime 8.0.10. Then, as per your suggestion he set the environment variable on my machine so it rolls forward to the latest .NET version i.e.DOTNET_ROLL_FORWARD = LatestMajor.

This now works in both Rhino 7 and Rhino 8, However, when I try to run them both at the same time Hops will only work in the one I started first. This is not a major issue as I am trying to migrate to Rhino 8.

Many thanks,

Will