Error loading RhinoCycles plugin

This problem started popping up for when starting Rhino 8 SR 4:

Error occurred loading plug-in
 Details:
The process cannot access the file 'C:\Users\worker_user\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\RhinoCycles (9bc28e9e-7a6c-4b8f-a0c6-3d05e02d1b97)\data\RhinoCycles20240215431003.log' because it is being used by another process.
----
mscorlib
====
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at RhinoCyclesCore.Core.RcCore.PurgeOldLogs()
   at RhinoCycles.Plugin.OnLoad(String& errorMessage)
   at Rhino.PlugIns.PlugIn.InternalOnLoad(Int32 pluginSerialNumber)
----

This is fixed in Rhino 8src5. This happens when you start multiple Rhino instances at the same time.

1 Like

@nathanletwory
I’ve just had the same issues popping up with 8.5 on windows

Systeminfo:

Rhino 8 SR5 2024-3-12 (Rhino 8, 8.5.24072.13001, Git hash:master @ e3530849b75f00b2b977766a567ae29b055837e9)
License type: Commercial, build 2024-03-12
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET Framework 4.8.9181.0

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

Hybrid graphics configuration.
Primary display: Intel(R) HD Graphics 530 (Intel) Memory: 1GB, Driver date: 11-18-2018 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA Quadro M2000M (NVidia) Memory: 4GB, Driver date: 11-2-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.79
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

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: 11-2-2023
Driver Version: 31.0.15.3779
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

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.24072.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.24072.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.5.24072.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24072.13001
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”

Hmm, I will need steps to reproduce - Each log file is opened with a process id of the running Rhino. I have not seen two Rhino instances being run with the same process ID. That is something that is globally unique to the machine being run on, determined by the operating system.

I just opened a file and that error popped up. Haven’t had it happen before yet.

Right, my point is that for that to happen Windows should start two Rhino instances with the same process id.

Well, I’ll try to go over the code and see if there is something I missed.

Logged RH-81208 Log file access problem while starting Rhino

A collueague of mine has the same issue. I could ask for log files if that’s useful?
image

You need to make sure you’re on Rhino 8.6