Script component causes Rhino to freeze

Hi. I just bought Rhino 8. Fresh install (with Rhino 7 still installed). Placing “Script” or “Python 3” component on Grasshopper canvas causes Rhino / Grasshopper to freeze. It even doesn’t catch the crash report so I have to force the process to end. Could someone from McNeed help me, please?

1 Like

Hi -
Please start with providing the SystemInfo data.
-wim

Rhino 8 SR4 2024-2-13 (Rhino 8, 8.4.24044.15001, Git hash:master @ 5d3f86ffffae3c2ed84d21147c008b3907a40a2e)
License type: Commercial, build 2024-02-13
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 63GB)
.NET 7.0.0

Computer platform: DESKTOP

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

Secondary graphics devices.
AMD Radeon™ Graphics (AMD) Memory: 1GB, Driver date: 3-29-2023 (M-D-Y).
> Accelerated graphics device with 5 adapter port(s)
- There are no monitors attached to this 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: 1-12-2024
Driver Version: 31.0.15.4665
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24 GB

Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 5.3.1.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.4.24044.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.4.24044.15001
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”

1 Like

Hi PetrVacek,

Try opening Rhino, run scriptEditor in the Rhino command and then Run Grasshopper.

If you use the ScriptEditor & Grasshopper components often please subscribe to the Service Release Candidate. Thanks

1 Like

Thanks for suggestion. This approach leads to some freeze, too. But this time it looks like this:

1 Like

Hi lets start fresh

  • Please delete the %HOMEPATH%\.rhinocode and start Rhino
  • Run ScriptEditor command and let it attempt to start
  • Run RhinoCodeLogs, save the logs into a text file

I deleted //RhinoCodePlugin.rhp - is that what you meant?
After doing that, there is no known command “ScriptEditor” in Rhino. Run “RhinoCodeLogs” is not possible as well.

the rhp is required.

paste this path into a file explorer and delete the contents.

Done. Not possible to upload the .log file to this thread. Content:

Info 26.02.2024 16:00:02 [RhinoCode] Language Registered: Plain Text 1.0 (rhinocode.builtin.text)
Info 26.02.2024 16:00:02 [RhinoCode] Language Registered: JSON 1.0 (rhinocode.builtin.json)
Info 26.02.2024 16:00:02 [RhinoCode] Language Loader Registered: mcneel.pythonnet.python@3.*
Info 26.02.2024 16:00:02 [RhinoCode] Language Loader Registered: mcneel.ironpython.python@2.*
Info 26.02.2024 16:00:02 [RhinoCode] Language Loader Registered: mcneel.roslyn.csharp@.
Info 26.02.2024 16:00:02 [RhinoCode] Language Loader Registered: mcneel.gh1.grasshopper@1.*
Info 26.02.2024 16:00:02 [RhinoCode] Language Loader Registered: mcneel.markdig.markdown@.
Info 26.02.2024 16:00:02 [RhinoCode] Storage Site Registered: File (mcneel.eto.file)
Info 26.02.2024 16:00:02 [RhinoCode] Storage Site Registered: Web (mcneel.eto.http)
Info 26.02.2024 16:00:02 [RhinoCode] Platform Registered: Rhinoceros 3D @ 8.4.24044.15001 (mcneel.rhino3d.rhino)
Info 26.02.2024 16:00:02 [RhinoCode] RhinoCode server starting on \.\pipe\rhinocode_remotepipe_10748
Info 26.02.2024 16:00:02 [RhinoCode] Rhino3D Initialized on Windows - NETCoreApp
Info 26.02.2024 16:00:08 [RhinoCode] File watcher start: C:\Users\PC.rhinocode\editor.json
Info 26.02.2024 16:00:08 [RhinoCode] Language Registered: Python 3.9.10 (mcneel.pythonnet.python)
Info 26.02.2024 16:00:08 [RhinoCode] Language Registered: IronPython 2.7.12 (mcneel.ironpython.python)
Info 26.02.2024 16:00:08 [RhinoCode] Added C# 9.0 (mcneel.roslyn.csharp) search path: C:\Users\PC\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts
Info 26.02.2024 16:00:08 [RhinoCode] Language Registered: C# 9.0 (mcneel.roslyn.csharp)
Info 26.02.2024 16:00:08 [RhinoCode] Language Registered: Grasshopper 1.0 (mcneel.gh1.grasshopper)
Info 26.02.2024 16:00:08 [RhinoCode] Language Registered: Markdown 0.30.4 (mcneel.markdig.markdown)
Info 26.02.2024 16:00:08 [RhinoCode] Creating python 2.7.12 runtime
Info 26.02.2024 16:00:08 [RhinoCode] Configuring IronPython runtime for the first time on X64

Thanks, looks like its hanging on the ironPython if that’s the extent of it. I’m going to kick this up to @eirannejad.

I’m assuming you updated, can you post systeminfo again? Thanks

:thinking: Updating to release candidate 8.5 and restarting the computer actually solver the issue. I am wondering what this is related to, but it seems that it’s okay now. I will reply to this thread if there will be something else related to Rhino freeze after working with the script editor. Thanks for your help.

Rhino 8 SR5 2024-2-20 (Rhino 8, 8.5.24051.15001, Git hash:master @ 8ad7c99e58df0a8c09e572ba1ae2b52a6f429060)
License type: Commercial, build 2024-02-20
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 63GB)
.NET 7.0.0

Computer platform: DESKTOP

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

Secondary graphics devices.
AMD Radeon™ Graphics (AMD) Memory: 1GB, Driver date: 3-29-2023 (M-D-Y).
> Accelerated graphics device with 5 adapter port(s)
- There are no monitors attached to this 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: 1-12-2024
Driver Version: 31.0.15.4665
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24 GB

Rhino plugins that do not ship with Rhino
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter” 5.3.1.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.5.24051.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24051.15001
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”