使用/nai 时报编码错误
2024-03-26 10:38:44 V/Bot.3689647775: 水祀(2311152420) -> /nai <1girl, solo, red eyes, white hair,>
2024-03-26 10:38:44 I/novelai-helper: generate image seed: 397181145, tags: red, white parabellum, hair,>, solo,, <1girl,, eyes,
2024-03-26 10:38:49 W/novelai-helper: Exception in executing command [mirai:source:ids=[20432], internalIds=[1198336397], from friend 2311152420 to 3689647775 at 1711420725]/nai <1girl, solo, red eyes, white hair,>
command owned by novelai-helper v1.1.1 with Friend(2311152420)
io.ktor.utils.io.core.internal.MalformedUTF8InputException: Expected 1 more character bytes
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.internal.UTF8Kt.malformedByteCount(UTF8.kt:342)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiterToSlowUtf8(Strings.kt:831)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiterTo(Strings.kt:137)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiter(Strings.kt:107)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.utils.io.core.StringsKt.readUTF8UntilDelimiter$default(Strings.kt:105)
at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.ai.AIController.generateImage(AIController.kt:93)
at novelai-helper-1.1.1.mirai2.jar//xyz.cssxsh.novelai.ai.AIController$generateImage$1.invokeSuspend(AIController.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:138)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:112)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:14)
at novelai-helper-1.1.1.mirai2.jar[private]//io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:62)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
F
foamsea 发布的帖子
-
RE: NovelAi Helper AI图片生成, 可对接自建/colab在线运行的 Naifu api