ScriptEditor Python in Grasshopper crashes on any code

Hi,

ScriptEditor on Grasshopper crashes on any code. I reinstalled Rhino8. Also deleted .rhinocode folder and installed Rhino8 again latest release same problem. Rhino Python scripteditor works but not in grasshopper.

Info 07.07.2024 21:08:13 [RhinoCode] Language Registered: Plain Text 1.0 (rhinocode.builtin.text)
Info 07.07.2024 21:08:13 [RhinoCode] Language Registered: JSON 1.0 (rhinocode.builtin.json)
Info 07.07.2024 21:08:13 [RhinoCode] Storage Site Registered: Local Drive (mcneel.eto.file)
Info 07.07.2024 21:08:13 [RhinoCode] Storage Site Registered: Rhino Files (mcneel.rhinoFiles.file)
Info 07.07.2024 21:08:13 [RhinoCode] Storage Site Registered: Web (mcneel.eto.http)
Info 07.07.2024 21:08:13 [RhinoCode] Rhino3D Initialized on Windows - NETCoreApp
Info 07.07.2024 21:08:13 [RhinoCode] Platform Registered: Rhinoceros 3D @ 8.9.24183.19001 (mcneel.rhino3d.rhino)
Info 07.07.2024 21:08:13 [RhinoCode] Operating System: Microsoft Windows NT 10.0.22631.0
Info 07.07.2024 21:08:13 [RhinoCode] RhinoCode server starting on \\.\pipe\rhinocode_remotepipe_32980
Info 07.07.2024 21:08:13 [RhinoCode] Language Loader Registered: mcneel.pythonnet.python@3.*
Info 07.07.2024 21:08:13 [RhinoCode] Language Loader Registered: mcneel.ironpython.python@2.*
Info 07.07.2024 21:08:13 [RhinoCode] Language Loader Registered: mcneel.roslyn.csharp@9.*
Info 07.07.2024 21:08:13 [RhinoCode] Language Loader Registered: mcneel.gh1.grasshopper@1.*
Info 07.07.2024 21:08:13 [RhinoCode] Language Loader Registered: mcneel.markdig.markdown@0.*

Rhino 8 SR9 2024-7-1 (Rhino 8, 8.9.24183.19001, Git hash:master @ a4bd50f250320125e2343a3e5c7f97eb3618688e)
License type: Educational, build 2024-07-01
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.20

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

Hybrid graphics configuration.
  Primary display: Intel(R) UHD Graphics (Intel) Memory: 1GB, Driver date: 7-20-2023 (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 4080 Laptop GPU (NVidia) Memory: 12GB, Driver date: 6-4-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 532.10
    > 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: 6-4-2023
  Driver Version: 31.0.15.3210
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 12282 MB

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.9.24183.19001
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.9.24183.19001
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.9.24183.19001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.9.24183.19001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.9.24183.19001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.9.24183.19001
  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"

image

Can you run Rhinocodelogs and send us the results? We can take a look.

1 Like

It is already pasted above.

That is the full length of the log (14 lines)? Yuk…

When does the editor crash? Does it take down Rhino?

The Intel and Nvidia drivers are a year old, updating both of those might be worth it. I do not expect that has anything to do with this problem, just something noticed in the SystemInfo.

Yup that is it… Any solution would be much appreciated.

Does the Play button need to be clicked to crash?

Yes, exactly after click it crashes.

@Petras_Vestartas Is this still happening?

Yes, it still does not work.

  • Does Rhino leave any crash log text file on your desktop?
  • Would you be able to try this in 8.10 SRC?
  • Does Rhino show a submit crash dialog? if yes which email do you use to submit the logs?

I have to manually terminate the process there no logs and script editor log does not say much.

I will try also to delete rhino and any grasshopper plugins and start from scratch.

2 Likes

Me too

I’ve encountered the same issue…

I am using a Windows 11 computer with an Intel processor. I’ve tried every possible solution, including uninstalling and reinstalling, deleting Rhino user files, and cleaning the registry, but the same problem persists even after updating to the latest version 8.10. This issue doesn’t occur with IronPython or C#. I have no idea what’s going on, and my other computer doesn’t have this problem at all, which is really frustrating. I haven’t even installed any plugins, but it still freezes after I click to run the script.

Please run Rhinocodelogs in the Rhino command line and post the result.