Rhino 8 Failed to Save

The problem seems to be related to Grasshopper.

I started with an empty file, saved it and closed Rhino.

Opened the file, saved it successfully, added some geometry and saved successfully again.

Then opened Grasshopper, just the canvas with nothing in it.

Tried to save the Rhino file and the message appears.

I closed GH and the file cannot be saved with the same name again. A message pops up, saying the file has been opened in Read-only mode…

2 Likes

Hi Martin,

That’s a new one.

What Rhino version are you running?

Can you repeat if initiating grasshopper with GrasshopperLoadOneByOne and saying no to all 3rd party plugins? We might want to check Rhino in Safe Mode as well.

Are there any file syncing app running on the folder?

I don’t have any file syncing app. Tried to save in another folder without success.

It seems I can save without any problems in Safe Mode.

System Info

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

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 128GB)
.NET 7.0.16

Computer platform: DESKTOP

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

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 2-7-2024 (M-D-Y).
> Accelerated graphics device with 4 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: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 2-7-2024
Driver Version: 31.0.15.5152
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 23028 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.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\SectionTools.rhp “SectionTools”
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”

With GrasshopperLoadOneByOne, the assemblies listed in the block below are being loaded.

I can save the rhino file when RhinoCodePluginGH.gha is ignored.

Saving is not possible when loading just RhinoCodePluginGH.gha

I found another scenario which raises an error, when RhinoCodePluginGH.gha is loaded:

With GH open, save a file and close it. Attempt to delete the file in the file explorer. Even though I closed the file and created a new file, Grasshopper seems to do something with previously opened files.

image

The file can only be deleted when RhinoCodePluginGH.gha is ignored.

C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\CurveComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\FieldComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\GalapagosComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\IOComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\Kangaroo2Component.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\MathComponents.gha
	C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\RhinoCodePluginGH.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\ScriptComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\SurfaceComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\TriangulationComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\VectorComponents.gha
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\XformComponents.gha

C:\Users\martinsiegrist\AppData\Roaming\Grasshopper\Libraries\anemone1.gha
C:\Users\martinsiegrist\AppData\Roaming\Grasshopper\Libraries\Fattener.gha
C:\Users\martinsiegrist\AppData\Roaming\Grasshopper\Libraries\MeshCageMorpher.gha
C:\Users\martinsiegrist\AppData\Roaming\Grasshopper\Libraries\Topologizer.gha
C:\Users\martinsiegrist\AppData\Roaming\Grasshopper\Libraries\MeshCurvature\meshAnalysis.gha

C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\RhinoPolyhedra\8.0.0\GhPolyhedra.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\EleFront\4.2.2\Elefront.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Vectorize\8.0.8486\VectorizeGh.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Clipper\0.3.3\ClipperComponents.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\InstantMeshes\1.0.0\InstantMeshes.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\metahopper\1.2.4\MetaHopper.gha
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Weaverbird\0.9.0+1-yak-and-mac\Weaverbird.Gh.CommonSdk.gha

C:\Program Files\Rhino 8\Plug-ins\Grasshopper\Components\GhPython.gha

Updated to the latest service release candidate just now and the problem is still there.

System Info

Rhino 8 SR5 2024-2-27 (Rhino 8, 8.5.24058.13001, Git hash:master @ eaa901528453bac5a3cfc23321bdf4d767238d34)
License type: Kommerziell, build 2024-02-27
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 128GB)
.NET 7.0.16

Computer platform: DESKTOP

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

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 2-7-2024 (M-D-Y).
> Accelerated graphics device with 4 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: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 2-7-2024
Driver Version: 31.0.15.5152
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 23028 MB

Rhino plugins that do not ship with Rhino
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.5.24058.13001
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.24058.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”

1 Like

Thanks, I’ve assigned this Ehsan to help troubleshoot.

Let’s start by closing Rhino, then paste this into an explorer - %HOMEPATH%\.rhinocode

Please delete the folder and restart Rhino

  • Run ScriptEditor command and let it initialize languages
  • Run RhinoCodeLogs, save the logs into a text file
1 Like

Thanks Japhy and Ehsan.

Here’s the file with the logs:

ScriptEditor.log (23.2 KB)

I was able to save a file once and now the same problem occurs again.

Ooof this is a regression to this previous fix. I’ll refix it for next 8.5

RH-73933 Python subprocess keeps Rhino file open

Thanks for reporting!

1 Like

Thank you!

same exact thing started happening to me on SR5 (8.5.24058.13001, 2024-02-27)

image

followed by:

I can repeat the problem 100% of the times, the only solution is to save as new file

thanks @eirannejad for looking into this!

2 Likes

I’m like you too, same problem. Let’s hope they resolve it quickly.

2 Likes

i am too

It is fixed for then next Rhino 8.5 build :smiley:

2 Likes

When does this release come out?

I’m going through the same thing now, same build SR5 (8.5.24058.13001, 2024-02-27).

Thanks

In Europe it’s something between Tuesday night and Wednesday not sue exactly

1 Like

Would you mind trying this RC build? https://files.mcneel.com/dujour/exe/20240304/rhino_en-us_8.5.24064.15001.exe

1 Like

Installed it - I’ve hit save a few times as I work and it saves.

Thank you

2 Likes

Seems to work. Thank you

1 Like