SBT fails to download Spark Streaming Kinesis library - sbt

I have the following on my build.sbt on a multi-project layout. All other dependencies resolve nicely and I just started on the Kinesis part of my project.
I have the following line in my build.sbt:
libraryDependencies += "org.apache.spark" % "spark-streaming-kinesis-asl-assembly_2.10" % "2.0.0"
and I get this error:
Error:Error while importing SBT project:
...
[error]
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino;2.7.8: res=org.apache.spark/org/codehaus/janino/janino/2.7.8/janino-2.7.8.pom: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino/2.7.8/janino-2.7.8.pom
[error] several problems occurred while resolving dependency: org.codehaus.janino#janino-parent;2.7.8 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.pom: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.pom
[error] spark-streaming-kinesis-asl: unable to get resource for org/codehaus/janino#janino-parent;2.7.8: res=org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar: java.net.MalformedURLException: no protocol: org.apache.spark/org/codehaus/janino/janino-parent/2.7.8/janino-parent-2.7.8.jar
[error]
[error]
[error] unresolved dependency: com.google.http-client#google-http-client;1.19.0: several problems occurred while resolving dependency: com.google.http-client#google-http-client;1.19.0 {compile=[compile(*), master(*)], runtime=[runtime(*)]}:
[error] several problems occurred while resolving dependency: com.google.http-client#google-http-client-parent;1.19.0 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error]
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client/1.19.0/google-http-client-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client/1.19.0/google-http-client-1.19.0.pom
[error] several problems occurred while resolving dependency: com.google.http-client#google-http-client-parent;1.19.0 {}:
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.pom
[error] spark-streaming-kinesis-asl: unable to get resource for com/google/http-client#google-http-client-parent;1.19.0: res=org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar: java.net.MalformedURLException: no protocol: org.apache.spark/com/google/http-client/google-http-client-parent/1.19.0/google-http-client-parent-1.19.0.jar
[error] Total time: 322 s, completed Dec 6, 2016 3:43:33 PM</pre><br/>See complete log in /Users/p2345716/Library/Logs/IntelliJIdea2016.3/sbt.last.log

I got it working by fixing the dependency artifactID:
libraryDependencies += "org.apache.spark" % "spark-streaming-kinesis-asl-assembly" % "2.0.0"

Related

sbt under wsl2 throws "Operation not permitted"

Trying to use sbt on Windows11 under WSL2, getting exceptions for most operations. I can start sbt, but for most commands it throws some variation of java.nio.file.FileSystemException Operation not permitted.
Using Windows11 Pro, latest patches, WSL2 with Ubuntu 22.04 LTS, sbt 1.4.7, Java 11.
What is going on and how can I fix this?
For instance, for reload:
reload
[info] welcome to sbt 1.4.7 (Ubuntu Java 11.0.16)
[info] loading settings for project my-project-build from plugins.sbt ...
[info] loading project definition from /full/path/to/my/project/project
[error] stack trace is suppressed; run last dependencyPositions for the full output
[error] (dependencyPositions) java.nio.file.FileSystemException: /full/path/to/my/project/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted
last dependencyPositions
[error] java.nio.file.FileSystemException: /full/path/to/my/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted
[error] at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:100)
[error] at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
[error] at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
[error] at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.setTimes(UnixFileAttributeViews.java:125)
[error] at java.base/java.nio.file.Files.setLastModifiedTime(Files.java:2355)
[error] at sbt.io.JavaMilli$.$anonfun$setModifiedTime$1(JavaMilli.scala:25)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.io.JavaMilli$.mapNoSuchFileException(JavaMilli.scala:31)
[error] at sbt.io.JavaMilli$.setModifiedTime(JavaMilli.scala:24)
[error] at sbt.internal.io.Milli$.setModifiedTime(Milli.scala:386)
[error] at sbt.io.IO$.$anonfun$setModifiedTimeOrFalse$1(IO.scala:1433)
[error] at sbt.internal.io.Retry$.apply$mVc$sp(Retry.scala:40)
[error] at sbt.internal.io.Retry$.apply$mVc$sp(Retry.scala:23)
[error] at sbt.io.IO$.setModifiedTimeOrFalse(IO.scala:1433)
[error] at sbt.internal.InMemoryCacheStore$CacheStoreImpl.write(InMemoryCacheStore.scala:77)
[error] at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:74)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$5(Defaults.scala:3550)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$5$adapted(Defaults.scala:3516)
[error] at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:219)
[error] at sbt.Classpaths$.$anonfun$dependencyPositionsTask$1(Defaults.scala:3552)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] at sbt.Execute.work(Execute.scala:291)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:829)
[error] (dependencyPositions) java.nio.file.FileSystemException: /full/path/to/my/project/target/streams/_global/dependencyPositions/_global/streams/update_cache_2.12/output_dsp: Operation not permitted

NGINX HTTP/3 phpMyAdmin 5.1.1 epoll_ctl(1, 16) failed (17: File exists)

I am getting this log and Interner Server Error 500 message, when using phpMyAdmin 5.1.1 and HTTP/3 enabled on NGINX Server. With HTTP/2 protocol works well.
2021/11/04 18:11:27 [alert] 21777#21777: *259 epoll_ctl(1, 16) failed (17: File exists), client: 37.234.***.***, server: *******, request: "POST /phpadmin/index.php?route=/config/get HTTP/3", host: "*******"
EDIT:
I installed a new nginx server with Cloudflare's http3. I used this script:
https://github.com/angristan/nginx-autoinstall/blob/master/nginx-autoinstall.sh
I installed Php 7.4 fastCgi and downloaded and unpacked Phpmyadmin 5.1.1.
I got these nginx error log after started up nginx and logging in to phpmyadmin:
2021/11/04 18:54:32 [notice] 23537#23537: signal process started
2021/11/04 18:54:46 [alert] 23539#23539: *288 epoll_ctl(1, 16) failed (17: File exists), client: 37.234.122.188, server: harisnyauzlet.hu, request: "POST /phpadmin/index.php?route=/ HTTP/3", host: "harisnyauzlet.hu"
2021/11/04 18:55:10 [alert] 23539#23539: *288 epoll_ctl(1, 16) failed (17: File exists), client: 37.234.122.188, server: harisnyauzlet.hu, request: "POST /phpadmin/index.php?route=/ HTTP/3", host: "harisnyauzlet.hu"
2021/11/04 20:14:00 [crit] 23539#23539: *307 SSL_do_handshake() failed (SSL: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC) while SSL handshaking, client: 128.1.248.26, server: 0.0.0.0:443
2021/11/04 21:00:08 [crit] 23539#23539: *314 SSL_do_handshake() failed (SSL: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC) while SSL handshaking, client: 193.118.53.202, server: 0.0.0.0:443
2021/11/05 01:07:19 [crit] 23539#23539: *354 SSL_do_handshake() failed (SSL: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT error:1000008b:SSL routines:OPENSSL_internal:DECRYPTION_FAILED_OR_BAD_RECORD_MAC) while SSL handshaking, client: 128.14.134.134, server: 0.0.0.0:443
It's a known bug by Cloudflare (Angristan use their quiche/nginx patch). You have this error when you use POST with a body.
But, the Cloudflare team doesn’t use POST in their system, so it is not a priority for them.
Clouflare Team : It's definitely something we should fix at some point, though we don't really have an estimate right now as it's not very high priority (we don't use this option ourselves in production). Would definitely welcome patches though, so I'll leave this ticket open if anyone wants to work on this before we get to it.
This was from one year ago. More about the issue.

sbt crashes on attempt to run after installation

In order to solve this issue, I tried to install sbt using the following commands:
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt
When I then type sbt, I get this output:
[warn] No sbt.version set in project/build.properties, base directory: /usr/share
[error] java.lang.IllegalArgumentException: requirement failed: Source file '/usr/share/icons/Humanity/status#2/48/aptdaemon-update-cache.svg' does not exist.
[error] at scala.Predef$.require(Predef.scala:277)
[error] at sbt.io.IO$.copyFile(IO.scala:823)
[error] at sbt.io.IO$.copyImpl(IO.scala:766)
[error] at sbt.io.IO$.$anonfun$copy$1(IO.scala:754)
[error] at scala.Function$.$anonfun$tupled$1(Function.scala:77)
[error] at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233)
[error] at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:58)
[error] at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:51)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
[error] at scala.collection.TraversableLike.map(TraversableLike.scala:233)
[error] at scala.collection.TraversableLike.map$(TraversableLike.scala:226)
[error] at scala.collection.AbstractTraversable.map(Traversable.scala:104)
[error] at sbt.io.IO$.copy(IO.scala:754)
[error] at sbt.io.IO$.copyDirectory(IO.scala:800)
[error] at sbt.io.IO$.copyDirectory(IO.scala:789)
[error] at sbt.io.IO$.copyDirectory(IO.scala:772)
[error] at sbt.Resolvers$.$anonfun$local$3(Resolvers.scala:34)
[error] at sbt.Resolvers$.creates(Resolvers.scala:148)
[error] at sbt.Resolvers$.$anonfun$local$2(Resolvers.scala:34)
[error] at sbt.internal.BuildLoader$.$anonfun$componentLoader$2(BuildLoader.scala:172)
[error] at scala.Option.map(Option.scala:146)
[error] at sbt.internal.BuildLoader$.$anonfun$componentLoader$1(BuildLoader.scala:171)
[error] at sbt.internal.MultiHandler.apply(BuildLoader.scala:28)
[error] at sbt.internal.BuildLoader.apply(BuildLoader.scala:240)
[error] at sbt.internal.Load$.loadURI$1(Load.scala:546)
[error] at sbt.internal.Load$.loadAll(Load.scala:562)
[error] at sbt.internal.Load$.loadURI(Load.scala:492)
[error] at sbt.internal.Load$.load(Load.scala:471)
[error] at sbt.internal.Load$.$anonfun$apply$1(Load.scala:251)
[error] at sbt.internal.Load$.timed(Load.scala:1395)
[error] at sbt.internal.Load$.apply(Load.scala:251)
[error] at sbt.internal.Load$.defaultLoad(Load.scala:69)
[error] at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:829)
[error] at sbt.BuiltinCommands$.doLoadProject(Main.scala:829)
[error] at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:800)
[error] at sbt.Command$.$anonfun$applyEffect$4(Command.scala:142)
[error] at sbt.Command$.$anonfun$applyEffect$2(Command.scala:137)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] java.lang.IllegalArgumentException: requirement failed: Source file '/usr/share/icons/Humanity/status#2/48/aptdaemon-update-cache.svg' does not exist.
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] java.lang.RuntimeException: Session not initialized.
[error] at scala.sys.package$.error(package.scala:26)
[error] at sbt.Project$.$anonfun$getOrError$1(Project.scala:442)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at sbt.Project$.getOrError(Project.scala:442)
[error] at sbt.Project$.session(Project.scala:448)
[error] at sbt.Project$.extract(Project.scala:453)
[error] at sbt.BuiltinCommands$.notifyUsersAboutShell(Main.scala:928)
[error] at sbt.BuiltinCommands$.$anonfun$notifyUsersAboutShell$3(Main.scala:937)
[error] at sbt.Command$.$anonfun$command$2(Command.scala:91)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] Session not initialized.
[error] Use 'last' for the full log.
What is the problem here? I'm on Ubuntu 18.04.2.
[warn] No sbt.version set in project/build.properties, base directory: /usr/share
Did you try to run sbt in /usr/share?
If so please try running it in a working directory where you have write rights. For a quick start see sbt by example.

Running `publishLocalAllModule` on SBT source says `crossScalaVersions is undefined` for `zinc`

After downloading the SBT source and running the SBT shell:
$ mkdir sbt-modules
$ cd sbt-modules
$ for i in sbt io util librarymanagement zinc; do \
git clone https://github.com/sbt/$i.git && (cd $i; git checkout -b develop origin/develop)
done
$ cd sbt
$ ./sbt-allsources.sh
When I publish, I get the following error:
sbt:sbtRoot> publishLocalAllModule
[error] java.lang.RuntimeException: ProjectRef(uri("file:/Users/nhooey/git/github/sbt/zinc/"), "compilerBridge") / ./ ./ crossScalaVersions is undefined.
[error] at scala.sys.package$.error(package.scala:27)
[error] at sbt.Extracted.$anonfun$getOrError$1(Extracted.scala:119)
[error] at scala.Option.getOrElse(Option.scala:121)
[error] at sbt.Extracted.getOrError(Extracted.scala:119)
[error] at sbt.Extracted.getOrError(Extracted.scala:124)
[error] at sbt.Extracted.get(Extracted.scala:34)
[error] at $127b0bc6e7d0db0357c4$.$anonfun$customCommands$18(build.sbt:803)
[error] at scala.Option.map(Option.scala:146)
[error] at $127b0bc6e7d0db0357c4$.$anonfun$customCommands$10(build.sbt:801)
[error] at sbt.Command$.$anonfun$command$2(Command.scala:91)
[error] at sbt.Command$.process(Command.scala:181)
[error] at sbt.MainLoop$.processCommand(MainLoop.scala:151)
[error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139)
[error] at sbt.State$$anon$1.runCmd$1(State.scala:246)
[error] at sbt.State$$anon$1.process(State.scala:250)
[error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.MainLoop$.next(MainLoop.scala:139)
[error] at sbt.MainLoop$.run(MainLoop.scala:132)
[error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110)
[error] at sbt.io.Using.apply(Using.scala:22)
[error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104)
[error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59)
[error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44)
[error] at sbt.MainLoop$.runLogged(MainLoop.scala:35)
[error] at sbt.StandardMain$.runManaged(Main.scala:138)
[error] at sbt.xMain.run(Main.scala:89)
[error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109)
[error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128)
[error] at xsbt.boot.Launch$.run(Launch.scala:109)
[error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35)
[error] at xsbt.boot.Launch$.launch(Launch.scala:117)
[error] at xsbt.boot.Launch$.apply(Launch.scala:18)
[error] at xsbt.boot.Boot$.runImpl(Boot.scala:56)
[error] at xsbt.boot.Boot$.main(Boot.scala:18)
[error] at xsbt.boot.Boot.main(Boot.scala)
[error] ProjectRef(uri("file:/Users/nhooey/git/github/sbt/zinc/"), "compilerBridge") / ./ ./ crossScalaVersions is undefined.
[error] Use 'last' for the full log.
This is after:
Deleting my ~/.sbt directory recursively
Running git clean -dfx to delete all untracked and ignored files in each SBT repository
This is the head of the branch for the sbt/sbt project that was checked out when I ran the for loop above, which I did just now:
* commit 550c068b9829f8b691f046e87cd1023d87735973 (HEAD -> develop, origin/develop, origin/HEAD)
|\ Merge: a8e319e97 b47ca1b9e
| | Author: eugene yokota <eed3si9n#gmail.com>
| | Date: Wed Sep 19 23:19:16 2018 -0400
| |
| | Merge pull request #4369 from eed3si9n/wip/task-sequential
| |
| | Implement sequential[B](tasks: Seq[Initialize[Task[B]]])

wordpress error,Undefined offset: 1 in /srv/www/mywork/public_html/wp-includes/class-wp-xmlrpc-server.php on line 6284

I builted my blog with wordpress.recently,my blog can't access. i check the nginx error log:
016/02/17 21:49:56 [error] 27909#0: *8303029 open() "/usr/share/nginx/www/50x.html" failed (2: No such file or directory), client: 185.130.5.209, server: localhost, request: "POST /xmlrpc.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "xxx.xxx.xxx.xxx"
then ,i checked zhe wordpress log:
PHP Notice: Undefined offset: 1 in /srv/www/zhk1/public_html/wp-includes/class-wp-xmlrpc-server.php on line 6284
I did not modify zhe file class-wp-xmlrpc-server.php.
Can anybody can help me ?

Resources