OrkestraOnline / Orkestra_Online

Orkestra Online is a cloud based platform for deploying, documenting and securing DynamoBIM and Grasshopper content.
https://www.orkestra.online
36 stars 2 forks source link

Known issue : deployment of Orchid docs #248

Closed MostafaElAyoubi closed 1 week ago

MostafaElAyoubi commented 4 months ago

Describe the bug The Orchid package contains a folder named Docs that contains files with extremely long names (and have extremely long filepaths), such as : Orchid.RevitProject.Common.Link.SetCadFile(document,file,positioning,unit,colorMode,referencePoint,visibleLayersOnly,view,orientToView,thisViewOnly)

These long paths cause the System.IO.File.Delete method (standard method) to fail, causing Orkestra's package maintenance routines to not complete which, in turn, causes inconsistencies in run behavior.

How to solve it for now Before deploying the Orchid package, delete the “docs” folder. It doesn’t serve any computing purpose because it is only documentation for the nodes, it doesn’t contain anything necessary for the code to run.

⚠️ However, you’ll unfortunately need to manually cleanup the %APPDATA%\orkestra folders as Orkestra won’t be able to update those because of Orchid. This needs to be done on all affected computers, as Orkestra won't be able to perform the cleanup due to the issue mentioned above. ⚠️

In the future We have figured out a way to handle this by building a custom delete function. This will be pushed with the next Orkestra update.

MostafaElAyoubi commented 1 week ago

This has been fixed in Orkestra 1.9.0