jgcode Posted June 26, 2011 Report Share Posted June 26, 2011 VIPM 2010.0.2 To be fair, I wouldn't call this a bug however, I will use the bug template to convey the issue. Steps to reproduce the bug (if it can be reproduced) Example using OpenG 4.x release. Note: in order to replicate this issue I had to ensure that this was the first time these packages were being downloaded i.e. I had to manually delete them from the cache to reproduce this issue after it occurred the first time. With the packages in the cache, the issue could not be reproduced. Select OpenG Toolkit and its dependencies to be installed: Error occurs and OpenG LabVIEW ZIP Library is not installed: Error details point to PostInstall.vi as issue: Re-select OpenG LabVIEW ZIP Library to be installed: Installation is successful: Expected behavior (what would happen if the bug didn't exist) When installing OpenG Toolkit, OpenG LabVIEW ZIP Library package (which is a dependency) installs without error. Actual, observed behavior (the bug) When installing OpenG Toolkit, OpenG LabVIEW ZIP Library package (which is a dependency) installs with error. LV ZIP package must be re-selected to be installed afterwhich, it installs successfully. Workarounds This issue arises from the scripts using\linking-to\calling VIs in other packages and those VIs not being available e.g. to order of installation?. I had this issue before and have two workarounds: Create simple scripts that consist of a single VI and only call native LabVIEW prims/sub-VIs. Create more complex scripts (including reusing VIs) where the scripts are built into e.g. .llb's, where all the required non-NI VIs are included so they were not dependent on the state of my LabVIEW installation during package install and uninstall. I did this previously using OpenG Package Builder and LabVIEW Application Builder - but it was a pain, and I try to stay clear of it. Thinking out aloud however, maybe as a new feature, VIPM could handle this where Scripts are treated and compiled as self-contained mini-apps and everything is handled under the hood - so you could have complicated scripts that are bullet-proof. Cheers -JG Link to comment Share on other sites More sharing options...
Michael Aivaliotis Posted June 27, 2011 Report Share Posted June 27, 2011 Are the VIs called in the scripts suppose to be available from another package? If so, is that other package declared as a dependency? Link to comment Share on other sites More sharing options...
jgcode Posted August 15, 2011 Author Report Share Posted August 15, 2011 Sorry for the delay in replying, Yes I believe the above is correct for that package. But the Dependency of a package is really for that which is required in the LabVIEW Development Environment. This is a dependency for the Installation/Uninstallation - maybe it could also be handled by declaring dependencies for the scripts? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.