Hi!
I’m trying to run a minimal script with a ladybug component using rhino.inside. The ladybug component downloads an EPW weather file. If I open the script in the grasshopper UI, there’s no problem with the script and it saves the expected files in “C:\Users<username>\AppData\Roaming\ladybug_tools\weather\USA_CA_Burbank-Hope.AP.722880_TMY3”.
When I try to execute the same script programatically, in grasshopper headless mode, it fails silently and I am not able to extract the error messages I know exist!
InstanceDescription: This component ran once.
Two runtime errors.
- What could the root cause be?
- Where can I read what the runtime errors are?
Source code: GitHub - GSvensk/lbt-inside-rhino
Operating system:
Windows using parallells on m4 mac
Dependencies:
Ladybug tools: 1.7.26
Grasshopper: 1.0.0008
System Information from my script
Rhino Version: 8.21.25188.17001
Rhino Build Date: 7/7/2025 12:00:00 AM
Rhino SDK Version: -1946131191
Rhino SDK Service Release: -1873505715
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
SystemInfo from Rhino 8 UI
Rhino 8 SR21 2025-7-7 (Rhino 8, 8.21.25188.17001, Git hash:master @ 2e05bb7e11ec03aa58cc543d92330d59df05d32b)
License type: Evaluation, build 2025-07-07
License details: Cloud Zoo
Expires on: 2025-10-16
Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 6GB)
.NET 8.0.18
Computer platform: DESKTOP
Standard graphics configuration.
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.1 (primary GPU’s maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: Parallels and Apple
Render version: 4.1
Shading Language: 4.10
Driver Date: 6-13-2025
Driver Version: 20.18.2040.55980
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 3142688 KB
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.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.21.25188.17001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.21.25188.17001
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”
Please let me know if you need any more context!
Cheers,
Gustav