Failed
it.tidalwave.captureone.impl.AppleScriptC1CollectionTest.test_findImages2 (from TestSuite)
Error Message
java.io.IOException: Can't find /usr/bin/osascript in PATH
Stacktrace
java.lang.RuntimeException: java.io.IOException: Can't find /usr/bin/osascript in PATH at it.tidalwave.captureone.impl.AppleScriptC1CollectionTest.test_findImages2(AppleScriptC1CollectionTest.java:124) Caused by: java.io.IOException: Can't find /usr/bin/osascript in PATH at it.tidalwave.captureone.impl.AppleScriptC1CollectionTest.test_findImages2(AppleScriptC1CollectionTest.java:124)
Standard Output
13:59:22.268 [main ] INFO it.tidalwave.captureone.impl.AppleScriptC1 - close() 13:59:22.269 [main ] INFO it.tidalwave.captureone.impl.AppleScriptC1 - connect() 13:59:22.269 [main ] INFO i.t.captureone.impl.AppleScriptC1CollectionTest - *********************** 13:59:22.269 [main ] INFO i.t.captureone.impl.AppleScriptC1CollectionTest - TEST "test findImages2" 13:59:22.269 [main ] INFO i.t.captureone.impl.AppleScriptC1CollectionTest - *********************** 13:59:22.271 [main ] INFO it.tidalwave.captureone.impl.AppleScriptC1 - findCollectionByName([StoppingDown, Places, Liguria]) 13:59:22.295 [main ] DEBUG it.tidalwave.captureone.impl.AppleScriptC1 - osascript /tmp/Collections10135133889729282602.applescript --byName StoppingDown Places Liguria 13:59:22.297 [main ] ERROR it.tidalwave.captureone.impl.AppleScriptC1 - java.io.IOException: Can't find /usr/bin/osascript in PATH at it.tidalwave.util.impl.DefaultProcessExecutor.findPathFor(DefaultProcessExecutor.java:406) at it.tidalwave.util.impl.DefaultProcessExecutor.<init>(DefaultProcessExecutor.java:263) at it.tidalwave.util.ProcessExecutor.forExecutable(ProcessExecutor.java:147) at it.tidalwave.captureone.impl.AppleScriptC1.run(AppleScriptC1.java:241) at it.tidalwave.captureone.impl.AppleScriptC1.findCollectionByNamePath(AppleScriptC1.java:120) at it.tidalwave.captureone.impl.AppleScriptC1CollectionTest.test_findImages2(AppleScriptC1CollectionTest.java:124) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86) at org.testng.internal.Invoker.invokeMethod(Invoker.java:643) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.privateRun(TestRunner.java:782) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.run(TestNG.java:1064) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) 13:59:22.304 [main ] ERROR i.t.captureone.impl.AppleScriptC1CollectionTest - TEST FAILED in 35 msec - test findImages2 - java.lang.RuntimeException: java.io.IOException: Can't find /usr/bin/osascript in PATH 13:59:22.306 [main ] ERROR i.t.captureone.impl.AppleScriptC1CollectionTest - TEST FAILED java.lang.RuntimeException: java.io.IOException: Can't find /usr/bin/osascript in PATH at it.tidalwave.captureone.impl.AppleScriptC1.run(AppleScriptC1.java:255) at it.tidalwave.captureone.impl.AppleScriptC1.findCollectionByNamePath(AppleScriptC1.java:120) at it.tidalwave.captureone.impl.AppleScriptC1CollectionTest.test_findImages2(AppleScriptC1CollectionTest.java:124) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86) at org.testng.internal.Invoker.invokeMethod(Invoker.java:643) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) at org.testng.TestRunner.privateRun(TestRunner.java:782) at org.testng.TestRunner.run(TestRunner.java:632) at org.testng.SuiteRunner.runTest(SuiteRunner.java:366) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319) at org.testng.SuiteRunner.run(SuiteRunner.java:268) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244) at org.testng.TestNG.runSuitesLocally(TestNG.java:1169) at org.testng.TestNG.run(TestNG.java:1064) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548) Caused by: java.io.IOException: Can't find /usr/bin/osascript in PATH at it.tidalwave.util.impl.DefaultProcessExecutor.findPathFor(DefaultProcessExecutor.java:406) at it.tidalwave.util.impl.DefaultProcessExecutor.<init>(DefaultProcessExecutor.java:263) at it.tidalwave.util.ProcessExecutor.forExecutable(ProcessExecutor.java:147) at it.tidalwave.captureone.impl.AppleScriptC1.run(AppleScriptC1.java:241) ... 29 common frames omitted 13:59:22.320 [main ] ERROR i.t.captureone.impl.AppleScriptC1CollectionTest -