Issue Running Tunny in Grasshopper (v1.0.6-RC.2)

Hi @hiron,

I’m trying to use Tunny with my Grasshopper definition, but I’ve run into an issue and would appreciate your help.

I followed the steps outlined in the documentation:

  1. Downloaded the latest version (v1.0.6-RC.2)
  2. Dragged the appropriate version for Rhino 8 into Rhino
  3. Double-clicked the Tunny component to install the required libraries

I confirmed that the .tunny_env folder was created. However, when I press the Run button, nothing happens—even after waiting several minutes. When I press Stop, I receive an error (attached).

My Grasshopper script runs fine with Opossum, and I’d really like to get Tunny working.

I also experimented with different .NET settings in Rhino (NetCore and NetFramework, versions 7 and 8). With NetFramework, Tunny fails to load due to a licensing issue with the license.php module. So I’ve been using NetCore 7 and 8, but the issue persists.

Any guidance would be greatly appreciated.

Best,
Pooyan

Hi @Pooyan_Kazemisangede,

Three possibilities can be considered:

  1. What is the status of the Python folder in .tunny_env? There may have been a failure in installing the Python files necessary for optimization.

  2. Is Wallacei installed? Depending on the environment, it seems that sometimes it doesn’t work properly when Wallacei is installed.

  3. Which sampler are you using? Since some samplers may fail to execute, could you please check if you get the same results with the TPE sampler?