NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing a required attribute key-value pair 'Conflicts: ni-package-manager' (self-answered)

Solved!
Go to solution

Posting for others who might run into this:

 

When trying to build nipkg files on my build system, I got a rather confusing error message from my System Exec node (with command cmd /s /c "nipkg pack "%s" "%s"" where the %s are replaced with the appropriate paths using Format into String).

 

Stdderr:

Error -125089: A plugin returned one or more errors while creating a package: \\?\C:\...\data

Additional error information:
Error -125057: Cannot create the specified package. Missing a required attribute key-value pair 'Conflicts: ni-package-manager' in the control file.

 the path given is the data subdirectory of the first argument - the source directory for the pkg.

 

On closer inspection, this has seemingly nothing to do with the 'Conflicts' attribute (which is not required).

The control file had an extra line break after the "Depends" attribute, and removing this allowed the build to succeed.

 

So if you hit this error (and find this via Google etc) then check that you don't have extra trailing lines being inserted to the control file via substitutions etc.


GCentral
0 Kudos
Message 1 of 2
(1,946 Views)
Solution
Accepted by topic author cbutcher

Adding a reply to mark as solved.

 

Check for empty lines in the control file.

This might or might not only occur when you have a Depends line (untested without).


GCentral
0 Kudos
Message 2 of 2
(1,945 Views)