08-11-2023 03:23 PM
Hi,
I looked into the log information you provided and figured out what might be happening. The packages you are including have some dependencies that were not installed as packages. NIPM is trying to get those dependencies from its cache, but the packages for them are not there. Knowing this, I was able to reproduce the problem myself.
I have not been able to find a good workaround for you, so I tried making a change in NIPM to skip looking for dependencies that are not cached so that they can be pulled from registered feeds instead. Try copying the two DLLs in the attached zip file to "C:\Program Files\National Instruments\NI Package Manager" (save the originals somewhere so you can get them back later).
Hopefully, this will solve your problem. It's possible that you might still get an error if there is no available feed for a package, but I think the error message will be more clear about which package is missing so that you can try to find a feed to register for the package.
Ronald Byrd
National Instruments
08-29-2023 11:15 AM
Hi Sebastian -
Just wanted to make sure that you saw the above post from Ron which includes a fix that we would like you to try. If possible, please let us know if this addresses the originally reported issue.
Our next release will likely have this change in it, but we want to make sure we fixed your specific issue.
08-30-2023 01:04 AM
Hi,
sorry for the late response. I was on holiday and after it i kinda forgot it.
The error message is still not precise which package is missing or causes the problem.
Error -16079: Cannot get package dependencies.
Datei kann nicht geöffnet werden: \\?\C:\Users\Public\Documents\Test\MATS2 Repository (13)
Best regards
Sebastian Neeb
08-31-2023 09:35 AM
I forgot to mention that the zip file I attached in my previous message has two copies of "nipkgclient.dll". Copy the one in the "x86" folder to "C:\Program Files\National Instruments\NI Package Manager\x86" and copy the other one to "C:\Program Files\National Instruments\NI Package Manager". Then restart Package Builder and try again.
If you still get an error, another thing to try is to launch NI Package Manager from the Start menu, wait a few seconds while it updates feeds, and then close it.
Ronald Byrd
National Instruments
09-01-2023 08:43 AM
Okay on my second attempt it builds the repository.
Maybe i forgot to restart the package builder after replacing the DLLs on my first attempt. Sorry for the confusion.
Best regards
Sebastian Neeb
09-01-2023 09:30 AM
Sebastian, great to hear, thank you for working with us to test our fix.