bartockbat Posted April 2, 2021 Report Share Posted April 2, 2021 [Moderator’s Note: See possible solution here] When I attempt to install packages, I keep getting errors (please see below). It happens if I attempt to install ANY package with my package manager. I went into my System Preferences on my Mac and made sure that LabVIEW and VIPM has access to the disk (r/w) I'm still getting the errors - this doesn't make much sense to me. The VIPM error is as follows: Main Package Name: MakerHub Toolbox v2.0.0.35 Package Name with Error: MakerHub Toolbox v2.0.0.35 Error Message: VIPM could not install the package lvh_toolbox-2.0.0.35 . Error Code: 7 Error Source: Write to Text File in Command-Line Zip.lvlib:ABDDB5E9F4D44AE0E70A4E4F8D4F491A->90BBE5FF7A35F3CE3E236F5A778C7C48->AD4791BDA0231EB30EBF129C1A98AB7B->OGPM Class.lvlib:1D42A1CCBC79EB157F4B29421C6C7648->OGPM Class.lvlib:68DD1F408D6154AB6D8715845077EEA9->FB296AD1654D68D63B7041E1F06FA55C->VIPM Main Window.vi<APPEND> /Applications/National Instruments/LabVIEW 2020 64-bit/vi.lib/MakerHub/Toolbox/LMH-Toolbox.lvlib =============== Main Package Name: Digilent LINX (Control Arduino, Raspberry Pi, BeagleBone and more) v3.0.1.192 Package Name with Error: Digilent LINX (Control Arduino, Raspberry Pi, BeagleBone and more) v3.0.1.192 Error Message: VIPM could not install the package lvh_linx-3.0.1.192 . Error Code: 7 Error Source: Write to Text File in Command-Line Zip.lvlib:ABDDB5E9F4D44AE0E70A4E4F8D4F491A->90BBE5FF7A35F3CE3E236F5A778C7C48->AD4791BDA0231EB30EBF129C1A98AB7B->OGPM Class.lvlib:1D42A1CCBC79EB157F4B29421C6C7648->OGPM Class.lvlib:68DD1F408D6154AB6D8715845077EEA9->FB296AD1654D68D63B7041E1F06FA55C->VIPM Main Window.vi<APPEND> /Applications/National Instruments/LabVIEW 2020 64-bit/vi.lib/MakerHub/LINX/LMH-LINX.lvlib =============== =========== START of VIPM 2020.3 (build 2540) Error Message =========== An internal VIPM 2020.3 (build 2540) Error has occured on: Friday April 02, 2021 at 06:26:26 PM = Automated Message Start = Error 7 occurred at Open VI Reference in 4CAE87077DA90CCADB21E5773689EC3C->OGPM Class.lvlib:7C080BEA1EC19662B5DA3C06CFC740C3->OGPM Class.lvlib:4E437D33561025421EDB976E7004C657->8899BC0D088CF516BD12A96A34A12572->VIPM Main Window.vi Possible reason(s): LabVIEW: (Hex 0x7) 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. VI Path: /private/var/folders/w7/rtz9k1m114390vq0fxc21bv00000gn/T/AppTranslocation/54274253-33FC-46D0-A566-B7 F86CC7D1F7/d/VI Package Manager.app/support/callbacks.llb/Refresh Menus 2013.vi = Automated Message End = = User Defined Message Start = Post Package Task Errors = User Defined Message End = = Error Handler Call Chain Start = VIPM Main Window.v = Error Handler Call Chain End = =========== END of VIPM 2020.3 (build 2540) Error Message =========== I verified that the directory is there. /Applications/National Instruments/LabVIEW 2020 64-bit/vi.lib/ and VI Path: /private/var/folders/w7/rtz9k1m114390vq0fxc21bv00000gn/T/ ...... Now, this may be a clue - it seems that any package that I attempt to install with this, I get the same type of error. Error code 7. So, think that would help at all? Thanks - Glen 1 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted April 5, 2021 Report Share Posted April 5, 2021 Hi Glen, Sorry for the frustration. Mac support has been challenging for VIPM, but we try. It looks from your post that you tried all the tips mentioned on the knowledge base entry here: File Permission Errors running VIPM on macOS The "AppTranslocation" thing in the file path ("/private/var/folders/w7/rtz9k1m114390vq0fxc21bv00000gn/T/AppTranslocation/54274253-33FC-46D0-A566-B7 F86CC7D1F7/d/VI Package Manager.app/support/callbacks.llb/Refresh Menus 2013.vi") makes me curious if this is some new kind of file system thing that we're not handling. I did some googling of "AppTranslocation" and found a couple interesting reads here and here. I'm not sure right this second how to fix this, but we'll look into if. If you're able to figure out a solution, please post back here. Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted April 5, 2021 Report Share Posted April 5, 2021 Can you try typing this into a terminal? cd ~/Library/PreferencePanes/ This will navigate you into the PreferencePanes folder then type the following: ls This should list the contents of the folder. Do you see something like the following? VI Package Manager.prefPane If so, then typing the following may fix the issue (as described here) by removing the "quarantine" flag in the OS security settings: sudo xattr -d -r -s com.apple.quarantine "~/Library/PreferencePanes/VI Package Manager.prefPane" Quote Link to comment Share on other sites More sharing options...
Ram Gurung Posted May 29, 2021 Report Share Posted May 29, 2021 I also faced same issue, I was able to resolve this by using following command in the terminal. ensure you provide root folder where labview is installed in your system sudo chmod -R u=rwx,g=rwx,o=rwx <labview application path> 1 1 Quote Link to comment Share on other sites More sharing options...
Alexei k Posted December 22, 2021 Report Share Posted December 22, 2021 Hey, had the same error, and adding permissions to both - "sudo chmod -R u=rwx,g=rwx,o=rwx <labview application path>" worked well! big thanks 1 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted December 22, 2021 Report Share Posted December 22, 2021 I’m glad that worked for you @Alexei k! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.