I discovered a strange bug in Rhino’s package manager that seems to have been introduced in Rhino 8 SR 7. How to reproduce:
Install ShapeDiver version 1.17.1-beta.1
Restart Rhino
On loading one of the plug-ins contained in the package (e.g. running the ShapeDiver command, or when starting Grasshopper), the package folder %USERPROFILE%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\ShapeDiver\1.17.1-beta.1 gets copied to %USERPROFILE%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\ShapeDiver\1.17.1, i.e., the semantic versioning part of the version gets stripped of.
The 1.17.1-beta.1 folder stays there, which means next time when starting Grasshopper there are conflicts popping up.
First I thought it’s an issue related to the multi-targeting feature, but it also happens for normal packages like the version 1.17.1-beta.1 mentioned above.
The problem happens regardless of using .NET Framework or .NET 7.
This means semantic versioning is unusable currently, which I consider a big problem. Can this be reviewed asap please?
Hmm, this happens regardless of semantic versioning. If I install version 1.16.1, then restart Rhino, version 1.17.1 gets installed and the 1.16.1 folder stays there (i.e., “File conflict” popups showing up when loading Grasshopper).
Seems like the package manager is automatically updating to the latest version (but leaving old versions behind)?
Aha, found the advanced option Rhino.Options.PackageManager.CheckForUpdates. Seems to default to True. When setting it to False, the problem does not happen.
Anyway, this is a serious problem, because the old versions do not get removed.
Thanks for reporting this @snabela. Definitely an unintended consequence of adding auto-update in Rhino 8. Looking to improve this ASAP to make it easier to install older versions, or stick with a specific version.
As of Rhino 8.8 you can run the PackageManager command and find a new checkbox to toggle the automatic check for updates on start. No need to go fishing in the advanced settings anymore!
@brian@Dan I have been tracking this issue for a while, and it seems it still does not work reliably. I have upgraded to the latest build, but Rhino keeps updating Lunchbox even when I turn off automatic updates in the package manager. Also, in the advanced options, the check for updates is set to false. I am now trying a workaround where I can delete the address for the updated sources. It’s not ideal, but let’s see if that makes the trick.
I need to keep Lunchbox in version 2023.2.2.0, as this is the latest version that works with Rhino Inside Revit. The two 2024 releases don’t load in Rhino Inside Revit, making many of my definitions unusable.
I would appreciate any advice or updates on this.
Thanks