大佬,动图头像获取不了是吧
kott 发布的帖子
-
最近机器人监听群消息会一直弹YAML编码器出现异常
2022-08-16 14:26:00 I/stdout: 2022-08-16 14:26:00 W/MultiFilePluginDataStorageImpl: Could not save message in YAML format due to exception in YAML encoder. Please report this exception and relevant configurations to https://github.com/mamoe/mirai/issues/new/choose
2022-08-16 14:26:00 I/stdout: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '1' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - 把你杀了@
2022-08-16 14:26:00 I/stdout: ^ at line 56760, column 14
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.Yaml.decodeAnyFromString(Yaml.kt:229)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.store(MultiFilePluginDataStorageImpl.kt:73)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.doSave(AutoSavePluginData.kt:117)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.save(AutoSavePluginData.kt:109)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData.access$save(AutoSavePluginData.kt:34)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invokeSuspend(AutoSavePluginData.kt:78)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invoke(AutoSavePluginData.kt)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.data.AutoSavePluginData$onInit$5.invoke(AutoSavePluginData.kt)
2022-08-16 14:26:00 I/stdout: at net.mamoe.mirai.console.util.TimedTask$job$1.invokeSuspend(CoroutineScopeUtils.kt:87)
2022-08-16 14:26:00 I/stdout: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
2022-08-16 14:26:00 I/stdout: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '13' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - '[图片]'
2022-08-16 14:26:00 I/stdout: ^ at line 56759, column 15
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 23 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '5' in 'kotlin.collections.LinkedHashMap'
2022-08-16 14:26:00 I/stdout: - 打架去@
2022-08-16 14:26:00 I/stdout: ^ at line 56758, column 13
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:111)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.MapLikeSerializer.readElement(CollectionSerializers.kt:84)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:86)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 31 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: deserializing nested class for '204' in 'kotlin.collections.ArrayList'
2022-08-16 14:26:00 I/stdout: - ,,Ծ‸Ծ,,
2022-08-16 14:26:00 I/stdout: ^ at line 56757, column 16
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:181)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:535)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.ListLikeSerializer.readElement(CollectionSerializers.kt:80)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
2022-08-16 14:26:00 I/stdout: at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:94)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 39 more
2022-08-16 14:26:00 I/stdout: Caused by: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: illegal beginning token COMMA on decoding contextual
2022-08-16 14:26:00 I/stdout: - ,,Ծ‸Ծ,,
2022-08-16 14:26:00 I/stdout: ^ at line 56757, column 10
2022-08-16 14:26:00 I/stdout:
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder.beginStructureImpl$yamlkt(YamlDecoder.kt:899)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.beginStructure(YamlDecoder.kt:152)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.YamlNullableDynamicSerializer.deserialize(YamlNullableDynamicSerializer.kt:79)
2022-08-16 14:26:00 I/stdout: at net.mamoe.yamlkt.internal.YamlDecoder$AbstractDecoder.decodeSerializableElement(YamlDecoder.kt:179)
2022-08-16 14:26:00 I/stdout: ... 46 more
2022-08-16 14:26:00 I/stdout: -
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
想请问一下这个是什么原因,好像提示有什么文件夹没有
2022-07-08 16:48:45 I/SkikoMirai: 开始下载skiko运行所需库
2022-07-08 16:48:45 E/SkikoMirai: java.lang.UnsatisfiedLinkError: /www/miraiBot1/data/org.laolittle.plugin.SkikoMirai/lib/libskiko-linux-x64.so: libGL.so.1: cannot open shared object file: No such file or directory
java.lang.UnsatisfiedLinkError: /www/miraiBot1/data/org.laolittle.plugin.SkikoMirai/lib/libskiko-linux-x64.so: libGL.so.1: cannot open shared object file: No such file or directory
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(Unknown Source)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.base/java.lang.Runtime.load0(Unknown Source)
at java.base/java.lang.System.load(Unknown Source)
at org.jetbrains.skiko.Library.loadLibraryOrCopy(Library.kt:20)
at org.jetbrains.skiko.Library.findAndLoad(Library.kt:85)
at org.jetbrains.skiko.Library.load(Library.kt:59)
at SkikoMirai-1.1.3.mirai2.jar//org.laolittle.plugin.SkikoMirai.loadSkikoLibrary(SkikoMirai.kt:111)
at SkikoMirai-1.1.3.mirai2.jar//org.laolittle.plugin.SkikoMirai.onEnable(SkikoMirai.kt:101)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:119)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:262)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:34)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:183)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:231)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79)发送#ph 这个生成pornhub的指令也是会报错,emoji合成是正常的,这个是因为字体还是什么没加载进去吗,字体文件夹我是创建好了的,里边放了自己下载好的字体
2022-07-08 17:01:57 E/DrawMeme: Exception in coroutine Plugin org.laolittle.plugin.draw.DrawMeme of DrawMeme
java.lang.UnsatisfiedLinkError: 'long org.jetbrains.skia.PaintKt.Paint_nMake()'
at org.jetbrains.skia.PaintKt.Paint_nMake(Native Method)
at org.jetbrains.skia.PaintKt.access$Paint_nMake(Paint.kt:1)
at org.jetbrains.skia.Paint.<init>(Paint.kt:25)
at DrawMeme-1.3.0.mirai2.jar//org.laolittle.plugin.draw.meme.PornHubKt.<clinit>(PornHub.kt:7)
at DrawMeme-1.3.0.mirai2.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invokeSuspend(DrawMeme.kt:56)
at DrawMeme-1.3.0.mirai2.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt)
at DrawMeme-1.3.0.mirai2.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$1.invoke(DrawMeme.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invokeSuspend(messageSubscribersInternal.kt:58)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$startsWithImpl$2.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invokeSuspend(messageSubscribersInternal.kt:27)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.internal.event.MessageSubscribersInternalKt$content$1.invoke(messageSubscribersInternal.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invokeSuspend(subscribeMessages.kt:253)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.SubscribeMessagesKt__SubscribeMessagesKt$subscribeGroupMessages$$inlined$createBuilder$SubscribeMessagesKt__SubscribeMessagesKt$1$1.invoke(subscribeMessages.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:455)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:166)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:202)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
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:749)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) -
RE: B站订阅插件,动态、视频、直播订阅 @全体成员
想问一下这个是什么问题
2022-07-07 22:28:00 W/bilibili-helper: Ignore io.ktor.network.sockets.SocketTimeoutException: Socket timeout has expired [url=https://raw.fastgit.org/cssxsh/bilibili-helper/master/src/main/resources/xyz/cssxsh/mirai/bilibili/data/dynamic.json, socket_timeout=15000] ms 2022-07-07 22:28:01 E/bilibili-helper: Exception in coroutine Plugin xyz.cssxsh.mirai.plugin.bilibili-helper of bilibili-helper io.ktor.client.features.ClientRequestException: Client request(https://raw.fastgit.org/cssxsh/bilibili-helper/master/src/main/resources/xyz/cssxsh/mirai/bilibili/data/dynamic.json) invalid: 403 . Text: "<html> <head><title>403 Forbidden</title></head> <body> <center><h1>403 Forbidden</h1></center> <hr><center>nginx</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> " at io.ktor.client.features.DefaultResponseValidationKt$addDefaultResponseValidation$1$1.invokeSuspend(DefaultResponseValidation.kt:47) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46) at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191) at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15) at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) 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:749) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
-
RE: [mirai-api-http]梗查询插件——GengSearch
想请问一下项目在我重启机器人后好像没法通过之前发的nohup指令自动启动了,运行是没问题,就是需要我每天手动启动,不知道是什么问题,有空的话可以帮忙看看,谢谢
During handling of the above exception, another exception occurred:Traceback (most recent call last):
File "/www/gengSearch/GengSearch.Linux/GengSearch.py", line 233, in Listening
message=simuse.Fetch_Message(data)
File "/www/gengSearch/GengSearch.Linux/simuse.py", line 63, in Fetch_Message
res=r.request('get',url)
File "/www/gengSearch/GengSearch.Linux/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/www/gengSearch/GengSearch.Linux/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/www/gengSearch/GengSearch.Linux/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/www/gengSearch/GengSearch.Linux/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9023): Max retries exceeded with url: /fetchMessage?sessionKey=vbAs37re&count=10 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffbbebaf490>: Failed to establish a new connection: [Errno 111] Connection refused'))save log
Traceback (most recent call last):
File "/www/gengSearch/GengSearch.Linux/GengSearch.py", line 385, in <module>
main()
File "/www/gengSearch/GengSearch.Linux/GengSearch.py", line 381, in main
GengSearch(data,seting,plat)
File "/www/gengSearch/GengSearch.Linux/GengSearch.py", line 305, in GengSearch
SearchList=Listening(data,seting)
File "/www/gengSearch/GengSearch.Linux/GengSearch.py", line 240, in Listening
if type(message)==type(0):
UnboundLocalError: local variable 'message' referenced before assignment