12-18-2017 06:10 PM
Trying to build an application (which has been built with the same build spec in the past). But partway through I get this message and the build fails:
_____________________________________________________________
error copying files.
Source: C:\Program Files\National Instruments\LabVIEW 2017\help\_LaunchHelp.vi
Destination: C:\_Development\Neural Suite\Builds\Neural Vision Suite V4\Executables\Production Generic.exe\1abvi3w\help\_LaunchHelp.vi
Invoke Node in AB_Source_VI.lvclass:Set_VI_Path.vi->AB_Source_VI.lvclass:Copy_SourceItem.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
<APPEND>
Method Name: <b>Set Path</b>
Error 7 occurred at AB_Source_VI.lvclass:Copy_SourceItem.vi -> AB_Build.lvclass:Copy_Files.vi
Possible reason(s):
LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
=========================
Nonexistent GPIB interface.
_______________________________________________________________
I navigated to the path of the _LaunchHelp.vi in Program Files and it is most definitely there, so I'm not sure why LabVIEW is unable to find the file. Any ideas why this is failing?
Thank you!
Michael
12-18-2017 06:15 PM
Additional Information! This error only occurs when the destination for the application is on the C:\ drive. When I move the build location to my personal network drive, it builds just fine...
12-18-2017 06:47 PM
Are some of the destination paths very long?
12-18-2017 06:59 PM
This is the path that the file is supposed to save to when the build errors. C:\_Development\Neural Suite\Builds\Neural Vision Suite V4\Executables\Production Generic.exe\1abvi3w\help\_LaunchHelp.vi
There aren't many paths much longer than that. Maybe 1 layer deeper, 2 at most.
12-18-2017 07:19 PM
Sometimes build errors are caused by your antivirus program grabbing onto a file, and my workaround for that is the same as yours, to build on a network drive.
12-18-2017 09:18 PM
@michael.lambert wrote:
This is the path that the file is supposed to save to when the build errors. C:\_Development\Neural Suite\Builds\Neural Vision Suite V4\Executables\Production Generic.exe\1abvi3w\help\_LaunchHelp.vi
There aren't many paths much longer than that. Maybe 1 layer deeper, 2 at most.
I didn't count that out. But, is it longer than 140 characters? If so, that is likely what you're running into.
12-19-2017 10:42 AM
I'm not sure, but I will check! I thought the char limit was greater than that, so that could be the problem
12-19-2017 10:47 AM
It should be 260 characters, I think 140 is for twitter 🙂
12-19-2017 10:49 AM
This path: C:\_Development\Neural Suite\Builds\Neural Vision Suite V4\Executables\Production Generic.exe\1abvi3w\help\_LaunchHelp.vi
Is 121 Characters
12-19-2017 11:51 AM
@Gregory wrote:
It should be 260 characters, I think 140 is for twitter 🙂
There are too many character requirements these days =/