Recover GH file that crashes Rhino 8

I had been working on a file with python3. It wasn’t too complicated, took in some geometry, did some processing in a script, and output some triangle mesh.

It was working fine, except when I tried a test for grasshopper, where I made a line component in the UI, clicked 4 lines in the scene, and then use the “line to polygon” component. It crashed rhino.

Now when I open grasshopper, I can use grasshopper, but even when I lock the solver and open the GH file, it immediately crashes Rhino, no “crash report” or anything.

Is there a way to access the grasshopper components in a “safe mode” so I can delete the problematic components?

Could you share the file with us? :slight_smile:

I would still like to know how to pull out or edit a GH file.

However, my specific problem was solved:

The line to polygon was (unbeknownst to me), part of decoding spaces plugin, not grasshopper. It was corrupeted/crashed. Steps I took to resolve:

  1. Given the file simply crashes on open… Open the GH script on a different computer with new Rhino Install.
  2. If asked to download plugin, say no.
  3. Try to view error information. In my case, I got nothing useful to pull out the data
  4. Use the grashopper load onebyone command, don’t load any third-part plugins
  5. If using a third-party component, it shows up as a white block that is not selectable.
  6. Since you can’t select it, you can’t delete it. Ctrl+A to copy everything, paste into a new script
  7. Save.