Unable to lunch webdriveragent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message - appium-ios

Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message:
Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
when I run it with appium, it is shown. I find this type of problem in stackoverflow but i don't find any appropriate solution. can anybody help me?

Related

getting time clock error while installing chatterbot

I am using bot = ChatBot(name='pybot',read_only = True,Logic_adapters = ['chatterbot.logic.MathematicalEvolutions','chatterbot.logic.BestMatch'])
but I am getting
error ERROR: Could not build wheels for srsly, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

React Native giving Error while installing app

After installing react-native-googlesignin (https://www.npmjs.com/package/#react-native-google-signin/google-signin) package this error occurs
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/rohanvirangna/Desktop/React Native Projects/NotesApp/android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:27: error: a type with the same simple name is already defined by the single-type-import of RNGoogleSigninPackage
import co.apptailor.googlesignin.RNGoogleSigninPackage;
^
Note: /Users/rohanvirangna/Desktop/React Native Projects/NotesApp/android/app/src/debug/java/com/igniteapp/ReactNativeFlipper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.

Java error in MacOS Mojavew when loading a package

I am facing the familiar Java error in r while loading library(xlsx) in Macos-Mojave.
I have tried reinstalling the jdk-8 and sudo R CMD javareconf as mentioned here,
https://github.com/rstudio/rstudio/issues/2254
rJava load error in RStudio/R after "upgrading" to OSX Yosemite
Note the library(rjava) loads fine, but fails at library(xlsx)
WARNING: Initial Java 12 release has broken JNI support and does NOT work. Use stable Java 11 (or watch for 12u if avaiable).
ERROR: Java exception occurred during rJava bootstrap - see stderr for Java stack trace.
Exception in thread "main" java.lang.NullPointerException
at java.base/jdk.internal.reflect.Reflection.verifyMemberAccess(Reflection.java:130)
at java.base/java.lang.reflect.AccessibleObject.slowVerifyAccess(AccessibleObject.java:673)
at java.base/java.lang.reflect.AccessibleObject.verifyAccess(AccessibleObject.java:666)
at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:638)
at java.base/java.lang.reflect.Field.checkAccess(Field.java:1075)
at java.base/java.lang.reflect.Field.get(Field.java:416)
Error: package or namespace load failed for ‘xlsx’:
.onLoad failed in loadNamespace() for 'xlsx', details:
call: .jcheck(silent = FALSE)
error: java.lang.NullPointerException.jcall(f, "Ljava/lang/Object;", "get", .jcast(ic, "java/lang/Object"))new("jobjRef", jobj = <pointer: 0x11d737c38>, jclass = "java/lang/NullPointerException")
Can someone direct to a solution here. Thanks a lot.
Based on #Konrad's answer I did the following to get rid of all versions except Java 8.
Check for existing versions
/usr/libexec/java_home -V
Navigate to that version of Java that needs to be uninstalled.
cd /Library/Java/JavaVirtualMachines
In the JavaVirtualMachines path, type in ls to see what versions of Java are existing there. It showed up as,
jdk-11.0.2.jdk jdk-12.0.1.jdk jdk1.8.0_211.jdk
removed all except 8.
sudo rm -rf jdk-11.0.2.jdk (and others)
library(xlsx) works now.

Deployment Error of shiny app on shiny server

I'm trying to deploy a shiny app on shiny server, I get this error, Any idea about this error?
Building with AppArmor (Linux)
Using PKG_CFLAGS=
Using PKG_LIBS=-lapparmor
On Debian/Ubuntu this package requires AppArmor.
Please run: sudo apt-get install libapparmor-dev
To build without AppArmor support, set NO_APPARMOR=1 for example:
install.packages('sys', configure.vars = 'NO_APPARMOR=1')
ERROR: configuration failed for package �sys�
* removing �/usr/local/lib/R/site-library/sys�
################################# End Task Log #################################
Error: Unhandled Exception: Child Task 428423284 failed: Error building image: Error building sys (1.3). Build exited with non-zero status: 1
Execution halted

PHPUnit not correctly installed. Can not execute my PHPUnitTest classes

I am not able to run PHPUnit test after installing PHPUnit using PEAR. This is the following error:
[rpteira#f-dev-rpteira tests]$ phpunit
PHP Warning: Module 'memcache' already loaded in Unknown on line 0
PHP Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in /usr/share/php/Zend/Loader.php on line 266
PHP Warning: require_once(PHPUnit/Framework/TestCase.php): failed to open stream: No such file or directory in /usr/share/php/Zend/Test/PHPUnit/ControllerTestCase.php on line 23
Warning: require_once(PHPUnit/Framework/TestCase.php): failed to open stream: No such file or directory in /usr/share/php/Zend/Test/PHPUnit/ControllerTestCase.php on line 23
PHP Fatal error: require_once(): Failed opening required 'PHPUnit/Framework/TestCase.php' (include_path='/home/rpteira/workspace/ums/api/trunk/library:.:/usr/share/pear:/usr/share/php') in /usr/share/php/Zend/Test/PHPUnit/ControllerTestCase.php on line 23
Fatal error: require_once(): Failed opening required 'PHPUnit/Framework/TestCase.php' (include_path='/home/rpteira/workspace/ums/api/trunk/library:.:/usr/share/pear:/usr/share/php') in /usr/share/php/Zend/Test/PHPUnit/ControllerTestCase.php on line 23
[rpteira#f-dev-rpteira tests]$
After installing I can see this:
[rpteira#f-dev-rpteira tests]$ sudo find / -name PHPUnit
/tmp/ZendFramework-1.11.0/library/Zend/Test/PHPUnit
/tmp/ZendFramework-1.11.0/tests/Zend/Test/PHPUnit
/usr/share/php/Zend/Test/PHPUnit
/usr/share/php/Zend-2.0/Test/PHPUnit
/usr/share/pear/doc/PHPUnit
/usr/share/pear/PHPUnit
I tried re-installing the package but the same error occurs.
Any help?
Installing PHP unit via PEAR is no longer supported. See phpunit.de.
You'll probably find it easier to install and maintain if you use composer. Detailed instructions on how to install can be found in the PHPUnit Documentation.

Resources