Failed to Save File - read only

After installing the latest WIP, I have a problem saving files. Rhino 8 says the file is opened read-only but there’s no info in the window name saying read-only. I tried this suggestion but it didn’t help.

test_8.3dm (53.2 KB)

My System Info

Rhino 8 SR0 2023-7-4 (Rhino WIP, 8.0.23185.16305, Git hash:master @ 3889e31f9e1cf5f1d2f0a059582acbbc3014e0ce)
License type: Kommerziell, build 2023-07-04
License details: Cloud Zoo
Expires on: 2023-08-18

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 1.3e+02Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA RTX A5000 (NVidia) Memory: 22GB, Driver date: 6-10-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 536.25
> 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: 6-10-2023 (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: 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-10-2023
Driver Version: 31.0.15.3625
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\8.0\Plug-ins\KeyShot9RhinoPlugin (ecfe8d1f-876a-460f-aa5e-3dd816936811)\1.4.0.0\KeyShot9RhinoPlugin\Rhino 7\KeyShot9RhinoPlugin.rhp “KeyShot9RhinoPlugin” 1.4.0.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8 WIP\Plug-ins\Commands.rhp “Commands” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 8 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoCode\RhinoRoslyn.rhp “RhinoRoslyn” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\SectionTools.rhp “SectionTools”
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\RhinoCode\RhinoCPython.rhp “RhinoCPython” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.0.23185.16305
C:\Program Files\Rhino 8 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8 WIP\Plug-ins\Displacement.rhp “Displacement”

image

image

After a right click onto the file and setting it to read-only, I opened the file with a double click, it says read-only next to the file name / app name.

The same thing happens when running Rhino 8 WIP as administrator.

I set exceptions for Rhino in my antivirus software Acronis. Pausing protection did not seem to make a difference.

I’m using the Rhino Feeder @jeremy5 maybe you’d have an idea?

The only way I can currently save a file is when opening Rhino 8 WIP, wait until the welcome window is gone and then use the open command in Rhino.

Hi Martin,

I can repeat the problem with your file and with a newly created file of my own. It happens whether using Rhino Feeder or not. Saving the file in v7 format allows it to be saved without problem in R7, so it seems to be specific to the WIP.

It appears to be related to Rhino’s .RHL file locking mechanism. If you turn that off in options, the WIP seems to save the file without any problems. I’ve tagged your post with bug accordingly. Looks like one for @stevebaer.

HTH
Jeremy

Thanks Jeremy

RH-75731 Failed to Save File - read only

1 Like

We don’t think this has to do with the RHL locking system. It has to do with a child process of rhino.exe holding onto reference to an open file which is making the Windows report that the file is in use. We are working on a fix right now and may publish another WIP this week if we think we have this fixed.

1 Like

RH-75731 is fixed in the latest WIP

1 Like

Thanks everyone who was involved fixing this.

Drove me insane this week. Glad it’s gone.

We have been moving away from working from a server and working off of OneDrive. I am still getting this error occasionally, usually in files in the 800-1200MB range.
I thought it was related to OneDrive, but this happened to me yesterday during some cleanup of a solidWorks assembly import. I had a few problems actually. I didn’t realize it was trying to link the blocks and I couldn’t delete them. It didn’t report 2 assemblies as missing on import. I tried saving a second time and it gave me the read-only business. I restarted windows and was able to open it, but then it gave me missing linked blocks error. So, odd that it didn’t mention that before.
On trying to get rid of all of the blocks and purge that data somewhere I crashed and sent a report.

It seems to be working ok now, but it was touch and go for a bit.
So I don’t think it’s a OneDrive problem, but rather a problem related to this post. I question if the issue was fixed, or has come back up after some updates? I’m running Rhino 8 SR5 (8.5.24072.13001, 2024-03-12)
The reason I thought it was related to OneDrive is because when it happens to a Rhino file that is saved in OneDrive, the file never gets released to OneDrive for upload, as if it hasn’t finished writing yet. But I got the same issue with a file outside of OneDrive. It only seems to happen with large files. Asking some coworkers, they have been getting the same thing but they just never said anything >:/