NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Package Builder Error -16078: Cannot get packages from NI Package Manager cache.

Solved!
Go to solution
Solution
Accepted by topic author MOBA-User

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

0 Kudos
Message 21 of 26
(571 Views)

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.

Scott Richardson
https://testeract.com
0 Kudos
Message 22 of 26
(490 Views)

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

0 Kudos
Message 23 of 26
(473 Views)

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

0 Kudos
Message 24 of 26
(439 Views)

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

0 Kudos
Message 25 of 26
(428 Views)

Sebastian, great to hear, thank you for working with us to test our fix.

Scott Richardson
https://testeract.com
0 Kudos
Message 26 of 26
(421 Views)