Open JonasEr opened 4 years ago
I may add that this is only a problem if the library that cannot open is the last to be processed by the "Get All Project Class Paths.vi" while-loop. This is because only the last error propagates out of the loop and the VI.
My current workaround is to add a dummy library to the project that will appear higher up in the LabVIEW project file and thus become the last one to be opened. Effectively stopping the earlier error from flowing out of the loop. I've named it something like "AAAAAA Dummy library.lvlib", just to make sure it ends up as high up as possible even if it would end up in the dependency section and not explicitly referenced in the project.
But really, just by having any "lvlib" in the project above the problematic one should work as a workaround
The VI "source/Utilities/Get All Project Class Paths.vi" makes an attempt to only look at libraries and classes that are "before dependencies", but fails to do so because of what looks like a typo in a regular expression.
The VI searches for
<Item Name="Dependencies" Type="Dependencies"/>
but the actual string in the LabVIEW project file is"<Item Name="Dependencies" Type="Dependencies">"
In my case the "Get All Project Class Paths.vi" finds some packed project libraries in dependencies which it cannot open and returns error 7