05-19-2020 06:51 PM - edited 05-19-2020 06:54 PM
NI Package Manager hangs on startup for a long time (5-10 minutes) when I run it on a computer that has LAN connectivity but no access to the "outside world".
The network connection is a hard requirement, and it would be REALLY nice if there was a "timeout" setting I could toggle... The boards suggested that there was one, but I couldn't find the setting in any INI files and am at a loss of what to do aside from just wander off for a coffee everytime I go to update my packages on this computer...
Running latest version of NI Package Manager (20.0, I believe)
Thanks.
05-19-2020 08:20 PM
Some additional info... the timeout is closer to 15-20 minutes, and at the end of the wait I get the following pop-up
The code seems to cover all use cases except for extended timeouts because of LAN vs WAN access....
05-19-2020 08:40 PM - edited 05-19-2020 08:41 PM
Have you tried this
NI Package Manager feed timeout
05-20-2020 06:29 PM
I saw that post, and the setting is no longer in that file.
I was able to edit the setting using the command line tool "nipkg.exe set-config timeout XX" and I've tried a few different values, to no avail. It still hangs for a ridiculous amount of time.
Currently my "workaround" is that I'm installing needed packages by command line "nipkg.exe install <package path>" which avoids the timeout, but this is a pretty frustrating problem...
05-22-2020 10:44 AM
As a workaround, you can do the following:
1. Open an admin command prompt to %ProgramFiles%\National Instruments\NI Package Manager
2. Run "nipkg remove ni-package-manager-released-feed --force-essential"
3. In the NIPM settings window, untick the setting for showing the "BROWSE PRODUCTS" tab. You can get to the settings window by clicking the little gear icon in the upper-right corner of the NIPM main window.