Native library `yoda_phy_pa_x86_64` not found while installing Unet audio in macOS - unetstack

macOS GateKeeper is giving me the following error message while trying to run Unet audio:
"libyoda_phy_pa_x86_64.dylib" cannot be opened because the developer cannot be verified
and the terminal reads:
> bin/unet audio
Native library yoda_phy_pa_x86_64 not found

Once you see the prompt with the message, click "Cancel".
Open "System Preferences", and go to "Security & Privacy". The message "libyoda_phy_pa_x86_64.dylib" was blocked from use because it is not from an identified developer. will be listed at the bottom part of the dialog with a button saying Allow Anyway next to it. Click the button.
Go back to the terminal, type bin/unet audio again and press Enter.
It will show a dialog with message macOS cannot verify the developer of "libyoda_phy_pa_x86_64.dylib. Are you sure you want to open it?
Click "open" and that should open a browser window with the Overview dashboard of Unet audio.
To install PortAudio:
Download source from http://files.portaudio.com/download.html
Build and install instructions: http://files.portaudio.com/docs/v19-doxydocs/compile_mac_coreaudio.html
Alternatively, you can install PortAudio using brew by typing the following in a terminal.
> brew install portaudio
NOTE: Installation instructions for brew can be found here: https://docs.brew.sh/Installation
To install Java 8:
> brew tap adoptopenjdk/openjdk
> brew cask install adoptopenjdk8
If the following error persists, it might be an issue with the path.
> bin/unet audio
Native library yoda_phy_pa_x86_64 not found
Brew installs PortAudio at /usr/local/Cellar/portaudio/ (with symlinks to /usr/local/opt/portaudio/). If you installed from source, make sure there is a symlink at the above location to your PortAudio folder.

Related

“choregraphe-suite-2.8.6.23-mac64-setup” cannot be opened because the developer cannot be verified

I am trying to install Choregraphe Suite on my macOS Catalina (v10.15.7) from the softbankrobotics website but I get this message:
Website link: https://developer.softbankrobotics.com/nao6/naoqi-developer-guide/choregraphe-suite/choregraphe-suite-installation-guide#desktop-installation
I don't know what I'm missing in order to run the installation on my laptop. I would appreciate it if anyone can help me on this.
Update: I left clicked it and it opened in command line. I went into the choregraphe-folder/bin/naoqi-bin and when I executed the file I got this:
Last login: Sat Nov 7 09:05:34 on ttys000
/Users/name/EEP_work/choregraphe-suite-2.8.6.23-mac64/bin/naoqi-bin ; exit;
name#Mahlas-MBP ~ % /Users/name/EEP_work/choregraphe-suite-2.8.6.23-mac64/bin/naoqi-bin ; exit;
dyld: Library not loaded: #rpath/QtCore.framework/Versions/5/QtCore
Referenced from: /Users/name/EEP_work/choregraphe-suite-2.8.6.23-mac64/bin/naoqi-bin
Reason: image not found
zsh: abort
[Process completed]
Thanks :)
You can go to the system settings > security & privacy and explicitly allow the opening of the installer (screenshot attached).
allow opening of installer
It will then bring up a second dialog:
"macOS cannot verify the developer of “choregraphe-suite-2.8.6.23-mac64-setup”. Are you sure you want to open it?
By opening this app, you will be overriding system security which can expose your computer and personal information to malware that may harm your Mac or compromise your privacy."
You can then click on "Open", but for my Mac (10.15.7) the installer crashes directly afterwards and I cannot install anything.
allow installation
It seems impossible to install Choregraphe on a recent Mac OS X. Help would be much appreciated.
'Allow install from internet' is the step you have to go over for all 3rd party apps(always happening) for macs. But still 'choregraphe' setup file didn't worked.
I hope my solution helps, i searched a lot too :)
install not setup file, try binaries oneenter image description here, and unzip. Open file you will see 'choregraphe' unix executable file, i clicked that file and app worked, best
P.s. i am not expert or anything that is only way i was able to make it work for my MacOs 10.15.7 (Catalina)

Setup Cypress on WSL ubuntu for windows 10

I am trying to setup Cypress on WSL ubuntu for windows 10 machine. WSL ubuntu does not come up with its own display. Hence, we need to follow few steps before setting up Cypress. I followed all the steps mentioned in the blog here:
https://nickymeuleman.netlify.app/blog/gui-on-wsl2-cypress
But I keep getting the following error:
Cypress failed to start.
This is usually caused by a missing library or dependency.
The error below should indicate which dependency is missing.
https://on.cypress.io/required-dependencies
If you are using Docker, we provide containers with all required dependencies installed.
----------
(Cypress:1690): Gtk-WARNING **: 10:15:51.766: cannot open display: 183.87.117.18:0.0
----------
Platform: linux (Ubuntu Linux - 18.04)
Cypress Version: 4.6.0
I have also installed XLaunch for windows 10.
Was anyone able to resolve this issue earlier ? Could anyone please help me resolve this ?
Thanks
Got the idea from here: https://github.com/microsoft/WSL/issues/4106#:~:text=you%20may%20also%20need%20to%20launch%20vcxsrv%20with%20the%20-ac%20argument.
If you have XLaunch running - exit it by double-clicking on the icon in the taskbar and click Exit;
Then open your start menu > right-click XLaunch shortcut > More > Open file location;
Right-click XLaunch shortcut in the Explorer window > Properties;
Add " -ac" without double quotes right after the closing double quote in the Target field - i.e. for me it was "C:\Program Files\VcXsrv\xlaunch.exe" -ac;
Click ok
Now run Cypress again. Yay! Ran for me :)
For me, this was caused by having a WSL1 image (despite having WSL2 installed). You can check via wsl --list --verbose. Follow steps here to convert to WSL2.

Trouble installing/using Atom packages on offline PC

I'm currently in the process of setting up my workspace on my company machine and have chosen Atom as my text editor of choice. The computer is not connected to the internet, so I will have to "manually" install packages. I've been having difficulties installing packages via usb transfer. I've copied and extracted packages to my ~/.atom/packages
The package I'm attempting to use (atom-beautify) shows up on the packages tab on the top of the editor. It also shows up under [Settings] -> [Packages].
When attempting to use the beautify I get the error message "Failed to activate the atom-beautify package" ... Cannot find module 'event-kit'
Also using Windows 10. Any help is greatly appreciated!
You can solve your problem. There are some way to solve your problem.I did not used win10, I am on win7.Yet you can try.
Paste atom-beautify to C:\Users\User.atom\packages and change pacakage.json
atom-beautify needs a dependency named bluebird, if you can try to add this to atom.
It step 1 or step 2 failed then goes to step 2,
Connecting your pc to internet run this command from your terminal: apm install atom-beautify
Source: https://github.com/Glavin001/atom-beautify/issues/879#issuecomment-218753674
Safest bet with installing atom packages offline is to install it on another online PC and then copy all contents from your packages location to offline PC.

Error: ENOENT: no such file or directory, scandir '/Documents/android-sdk-linux/build-tools' at Error (native)

I am new to Appium and I am running a selenium script with device connected and while running in terminal i am getting this error:
“Error: ENOENT: no such file or directory, scandir ‘/Documents/android-sdk-linux/build-tools’ at Error (native)”
I am running in Linux. Can you please help me out ?
You need to paste this two lines in .bashrc file
export ANDROID_HOME=/home/rijomon/Documents/android-sdk-linux/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
then you will not get that error
This error is caused when Appium can not find a valid path to the Android SDK in the ANDROID_HOME environment variable
...or when the SDK installation is corrupt.
Rijo Mon's answer is correct for his system but the ANDROID_HOME path will need to be changed to point to the actual location of your installed SDK.
Install Android Studio if you aren't already using it.
Make sure only one version of Android SDK is installed in Android studio, and make sure Android Studio does not display any errors or warnings about the SDK installation.
Go to Android Studio Preferences → Appearance and Behavior → System Settings → Android SDK
Uninstall all installed Android SDK versions here by unchecking
their boxes and clicking Apply
Uninstall any other copies of the Android SDK on your system
In Android Stduio, check only one SDK version and install it by clicking Apply.
Close and re-open Android Studio (you may want to reboot your machine)
Go back into the Android SDK window in Preferences → Appearance and Behavior → System Settings → Android SDK
Confirm that Android Studio does not display any warnings about the installed Android SDK.
Make sure the ANDROID_HOME environment variable is in your bash_profile and that it points to the location of your installed SDK. For an SDK installation managed by Android Studio on OSX, this should be ~/Library/Android/sdk
The output of "ls -l ~/Library/Android/sdk" or the ls for your correct path to your SDK should now show a directory listing with the installed SDK files and folders including "build-tools" and "emulator"
Add the following line to ~/.bash_profile (OSX) or ~/.bashrc (Linux)
export ANDROID_HOME="${HOME}/Library/Android/sdk" (replace the path with your actual SDK path)
Restart your terminal or source the modified bash profile with "source ~/.bash_profile" or "source ~/.bashrc"

Ionic emulate ios - Error

I'm getting this following error after I ran my app on my own ios device.
No target specified for emulator. Deploying to iPhone-6 simulator
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
Invalid device state
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=159):
Invalid device state
ENOENT, no such file or directory '/Users/cauealmeida/Library/Logs/CoreSimulator/5C6DA43E-3993-4260-87EE-73FEB27DE181/system.log'
Error code 1 for command: ios-sim with args: launch,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/build/emulator/map-test.app,--devicetypeid,com.apple.CoreSimulator.SimDeviceType.iPhone-6,--stderr,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/console.log,--stdout,/Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/console.log,--exit
Error: /Users/cauealmeida/Documents/jobs/dev/ionic-maptest/map-test/platforms/ios/cordova/run: Command failed with exit code 2
I've tried with ionic emulate ios -cls from different projects and the same error is shown.
What am I missing?
Here are the steps you can use to correct this issue:
1) Empty the 'platforms' folder in your Ionic project
2) Re-run ionic platform add ios, ionic build ios, and ionic emulate ios without sudo
3) Still getting a permissions error, make sure all the files in your user's home folder actually belong to that user by running
sudo chown -R username /Users/username
We fixed this using the SO answer here, which was just to Reset Content and Settings in the Simulator menu.
You need to download ios simulator.
Go to xcode and download ios 9 or other simulator.
you also need to install ios-sim using your terminal.
sudo npm install -g ios-sim
also check and confirmed your device is connected properly.
connected device you see in xcode window

Resources