Jump to content

Error 66 while building VIPM package [cross-post]


Recommended Posts

Posted (edited)

(message first posted on jki forum, but traffic there seems very low...)

I get this error when building my package with VIPM, previously the package was building fine.

It always took a long time (~15 to 20 minutes) to build this package because it's quite large (~78 classes, 1200+ VIs).
Since the last successful build I've only added some methods in the classes.

Mass compiling the folder containing the source code doesn't report any issue.

553679461_Capturedcran2022-11-10183001.png.b8c108f933e5e522038a84f595b122b5.png

Error 66 is descibed in LabVIEW as 'The network connection was closed by the peer. If you are using the Open VI Reference function on a remote VI Server connection, verify that the machine is allowed access by selecting Tools>>Options>>VI Server on the server side.'

I've check this and other (smaller) package still build fine.


Sources are in LV 2019 32 bit

I'm using the latest version of VIPM 2021.1 b2754

Any suggestions?

Edited by Antoine Chalons
link to cross-post
Posted

I enabled the "Do Not Compile on Build" option (in Source File Settings section) and the package building worked
and took a lot less time than before

As I mass compile my source folder anyway before building the package, am I risking anything?

Why is this option "not recommended"?

Posted
On 11/11/2022 at 2:18 PM, Antoine Chalons said:

Why is this option "not recommended"?

Well, my guess is that it is normally a lot safer to compile everything than to trust that the customer did a masscompile before the build. That automatic compile "should" only take time, not somehow stumble over things that for whatever strange reasons don't cause the masscompile to fail. That's at least the theory. That it doesn't work out like that in your case is not a good reason to make it recommended for everyone to do it otherwise.

Posted

well, there might be a little more to it.

when this option is enabled, the package build goes through but the "rename" was skipped ; unless I completely misunderstand the feature,  I see that as a bug.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.