07-07-2023 04:06 AM
Hello,
since the last update of the Package Builder I get the following error:
Error -16078: Cannot get packages from NI Package Manager cache.
At least one package was not found in the cache.
File cannot be opened: C:\Package Builder\Test_Repo\MATS2Repository\MATS2 Repository (13)
Any ideas where i could look which package is missing?
If i build an installer, everything works fine. Only if i try to build my repository the error occures.
Thanks for your advice.
Solved! Go to Solution.
07-07-2023 02:11 PM
Sebastian -
If you are using 20.6, the following issue was fixed in version 2022 Q3: "1371798 Building a local repository that contains a package with a missing dependency reports an une...", but the error you are reporting seems to be different.
When building an installer that includes an installed package, if that package was manually removed from the C:\ProgramData\National Instruments\NI Package Manager\Packages\ directory, NI Package Builder will download the package from ni.com if the internet is accessible.
When building a repository that includes an installed package that is missing from the cache, NI Package Builder does not try to download the package from ni.com and will error in a similar manner to what you listed, except that the log usually lists the specific package that it could not find, e.g.:
Test Repo: Build Installers & Repositories started.
Error -16078: Cannot get packages from NI Package Manager cache.
Some package(s) could not be located in the cache.
The package '../../../../../pool/ni-p/ni-package-builder/22.5.0/22.5.0.49190-0+f38/ni-package-builder_22.5.0.49190-0+f38_windows_x64.nipkg' could not be located in the cache.
Test Repo: Build Installers & Repositories failed
Questions:
07-10-2023 01:22 AM
Hi,
I am using the NIPB version 22.5.1.49816.
Unfortunately the error message doesn´t mention the full package Name:
[10:34:41.10 ] Error -16078: Cannot get packages from NI Package Manager cache.
Mindestens ein Paket wurde im Cache nicht gefunden.
Datei kann nicht geöffnet werden: C:\Package Builder\Test_Repo\MATS2Repository\MATS2 Repository (13)
I attached the requested log.
Thanks for your help.
07-10-2023 09:13 AM
Sebastian, I agree that no specific package was listed, so I have not seen this before.
Questions:
07-11-2023 06:24 AM
Hi,
1. Correct, this is the current output directory. Usually our Repository is on a Network-Path.
2. I tried to create the repository at "C:\Users\Public\Documents\Test", same error.
3. There is no protection, as far as i know.
4. This must be the Logfile, which belongs to the PackageBuilder Log
07-12-2023 09:39 PM - edited 07-12-2023 10:10 PM
The NIPM log did not have any more detail, only two lines with:
10:27:16.501897 CLILIB: Mindestens ein Paket wurde im Cache nicht gefunden.
10:27:16.501897 CAPI: nipkg_WaitUntilRequestCompletes: Request (1066390899) completed with result of -125106
In your original post you stated "since the last update of the Package Builder I get the following error"; can you clarify what version of NI Package Builder and NI Package Manager you were using when you say you did not see this error?
Could you share the following NIPM file? %localappdata%\National Instruments\NI Package Manager\Logs\errorlog.txt
Can you share the list of files in (1) the "C:\ProgramData\National Instruments\NI Package Manager\packages" directory and in (2) the "C:\ProgramData\National Instruments\NI Package Manager\downloads" directory?
07-13-2023 02:22 AM
Hi Scott,
with the NIPB version 22.5.0.0 and NIPM version 22.8.0.49254 i did the last succesful build of the repository. I added the LogFile from this build.
I attached two additional files with the list of files of the two requested file paths.
Thanks for your help.
07-13-2023 09:11 PM
Thanks for the additional information. I will be checking up on the content of the errorlog.txt file next with some developers.
Can you share a file list of the following directory as well?
C:\ProgramData\National Instruments\NI Package Manager\eulas
07-14-2023 03:20 AM
Here you go.
07-14-2023 01:39 PM
What we are seeing is that NIPM is returning an error after failing to open a file where the path is not a file, but is the repo directory that you are building. This error we are seeing seems very odd so we are unsure are next steps to debug.
Questions: