Hello,
acutally I'm not able to get the bot running. On Manjaro Linux the gradle build fails with:
> Task :compileKotlin FAILED
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (7, 17): Unresolved reference: http
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (8, 17): Unresolved reference: http
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (9, 17): Unresolved reference: http
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (21, 26): Unresolved reference: HttpClient
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (22, 27): Unresolved reference: HttpRequest
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (27, 34): Unresolved reference: HttpResponse
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (38, 42): Unresolved reference: HttpRequest
e: /home/syljo/git/impf-bot/src/main/kotlin/de/tfr/impf/ifttt/IftttClient.kt: (43, 12): Unresolved reference: HttpRequest
FAILURE: Build failed with an exception.
When trying to use docker I get a different error message in the container:
Current browser version is 90.0.4430.93 with binary path /usr/bin/chromium
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: '18a6139af3be', ip: '172.18.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '5.10.41-1-MANJARO', java.version: '11.0.11'
Driver info: driver.version: ChromeDriver
remote stacktrace: #0 0x55f6bcb02949 <unknown>
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:157)
at de.tfr.impf.selenium.DriverFactoryKt.createDriver(DriverFactory.kt:19)
at de.tfr.impf.ReportJob.<init>(ReportJob.kt:16)
at de.tfr.impf.StartKt.main(Start.kt:4)
at de.tfr.impf.StartKt.main(Start.kt)
> Task :run FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':run'.
> Process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 13s
3 actionable tasks: 2 executed, 1 up-to-date
So at the end both approaches does not work for me.
Any ideas are warmly welcome :-)
Cheers
Jörg
Hello,
acutally I'm not able to get the bot running. On Manjaro Linux the gradle build fails with:
When trying to use docker I get a different error message in the container:
So at the end both approaches does not work for me.
Any ideas are warmly welcome :-)
Cheers
Jörg