NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -125440: An error occurred while running the custom execute queue 'post'.

Solved!
Go to solution

Hello,

 

I have incorrectly defined post actions in my custom package and now there is no way to remove it by nipm application or CLI. Can I somehow force it to be removed or remove it from nipm manualy?

0 Kudos
Message 1 of 8
(2,297 Views)
Solution
Accepted by topic author pawhan11
0 Kudos
Message 2 of 8
(2,284 Views)

Thnks, this solved my problem. But I am still fighting with how to configure package builder post action to work properly.

 

pawhan11_1-1621250764578.png

 

I am following guidelines from here

https://www.ni.com/documentation/en/ni-package-builder/latest/manual/customexecutes/

 

and it throws error, there is no description what kind of error it was. Script itself works fine when I call it directly from cmd.exe in terminal. I tried %BootVolume%, direct path to script and it still fails.

 

0 Kudos
Message 3 of 8
(2,255 Views)

I would check the NIPM logs to see if there is more detail. Also NI support might be able to help. KB about NIPM Logs

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer
Message 4 of 8
(2,239 Views)

The error message is showing the command as being executed, so that suggests that the token %BootVolume% was not replaced by NIPB. So that might be a bug. You said you replaced with actual drive and that did not help, so not sure. Once we know the root cause and if BootVolume does not work, an alternative might be to just use the system alias %SystemDrive% which should not be touched by NIPB.

 

Can you show the command as entered in NIPB?

Scott Richardson
0 Kudos
Message 5 of 8
(2,237 Views)

pawhan11, ignore my last post. I believe that I have reproduced the issue. I believe that this is a bug in NI Package Builder 20.6. The only obvious workaround at this point is to uninstall Package Builder 20.6 and install Package Builder 20.5. Thank for reporting this to us.

Scott Richardson
0 Kudos
Message 6 of 8
(2,208 Views)

Hey Scott,

 

Can you explain what the bug is and if it got fixed in NI Package Builder 20.7? I think I'm running into a similar issue and want to ensure that your suggestion will solve it.

 

 

0 Kudos
Message 7 of 8
(1,954 Views)

Hi Mason, NI Package Builder 20.6 is the latest release and there was no 20.7 release. The bug related to this issue is higher on our list, but I cannot share any specifics of when Package Builder will release with this fix in it. 

 

My recommendation is to downgrade to Package Builder 20.5 if you must use quote characters in arguments. I have not reviewed your issue in detail, but if you can specify a path to your script without space characters, you might be able to get away with not using quote characters in your custom execute arguments.

Scott Richardson
0 Kudos
Message 8 of 8
(1,947 Views)