你好 我看Releases更新了1.3.0版本 尝试了更新下 报错如下 在此之前是使用1.2.1bate- d62ddce 协议8.9.90,无奈回退了版本 另外我看恢复了http接口 这个接口也是用KFCFactory对接的吗 因为内置签名版本经常整个mirai挂掉像尝试下外置
net.mamoe.mirai.console.plugin.loader.PluginLoadException: Exception while loading QSign v1.3.0
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:373)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:40)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:54)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:100)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:164)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:303)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:512)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:182)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:181)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:59)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.itxtech.mcl.Utility.bootJars(Utility.java:86)
at org.itxtech.mcl.Utility.bootJars(Utility.java:76)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:98)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:151)
at org.itxtech.mcl.Loader.start(Loader.java:196)
at org.itxtech.mcl.Loader.main(Loader.java:84)
Caused by: kotlin.UninitializedPropertyAccessException: lateinit property CONFIG has not been initialized
at qsign-1.3.0.mirai2.jar//DataKt.getCONFIG(Data.kt:5)
at qsign-1.3.0.mirai2.jar//top.mrxiaom.qsign.QSignService$Factory$Companion.loadConfigFromFile(QSignService.kt:242)
at qsign-1.3.0.mirai2.jar//top.mrxiaom.qsign.QSignService$Factory$Companion.init(QSignService.kt:218)
at qsign-1.3.0.mirai2.jar//top.mrxiaom.qsign.PluginMain.onLoad(PluginMain.kt:45)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:388)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:371)
... 23 more
PandaLink 发布的帖子
-
RE: qsign —— 签名 不要指望用来解决code=45
-
RE: Petpet - 生成各种奇怪的图片
2023-11-28 09:12:21 W/Bot.xxxxxxxx: An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot xxxxxxxx.EventDispatcher'
java.lang.IllegalStateException: No Bot available to query image url
at net.mamoe.mirai.message.data.Image$Key.queryUrl(Image.kt:384)
at net.mamoe.mirai.message.data.Image$Key$queryUrl$2.invoke(Image.kt)
at net.mamoe.mirai.message.data.Image$Key$queryUrl$2.invoke(Image.kt)
at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:205)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115)
at me.him188.kotlin.jvm.blocking.bridge.internal.RunSuspendKt.$runSuspend$(RunSuspend.kt:18)
at net.mamoe.mirai.message.data.Image$Key.queryUrl(Image.kt)
at net.mamoe.mirai.message.data.Image.queryUrl(Image.kt)
at petpet-6.1.mirai2.jar//moe.dituon.petpet.mirai.MiraiPetpet.responseMessage(MiraiPetpet.java:234)
at petpet-6.1.mirai2.jar//moe.dituon.petpet.mirai.MiraiPetpet.onGroupMessage(MiraiPetpet.java:158)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:605)
at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51)
at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1)
at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
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)隔一会时间就弹这个报错 pet6.1 mirai2.16
-
RE: ChatLearning——让bot学会你的群聊
@Koreyoshi 没有被风控的 搜问题聊天界面会发出来一个折叠的转发消息,但是是点进去是空的。控制台可以看到折叠的信息。而搜答案就一直查找中.
-
RE: ChatLearning——让bot学会你的群聊
版本2.9.7 私聊控制台搜索问题 折叠的转发信息打不开 但是marai的cmd控制台可以看到bot是发出去了,现在我是通过控制台信息里面的网页文档链接来看。而查找回复的话会一直查找中。不知道是不是我个例,日志里面没有记录
-
RE: ChatLearning——让bot学会你的群聊
关于之前的fastdelete已经解决了,可能是我这边Python环境的问题,现在能用 虽然在控制台输入fastdelete还是会报错。
问下能否单独设置一个词库管理员的权限。
然后昨天又出现词库直接变0kb的情况了2022-06-10 18:49:52
Traceback (most recent call last):
File "ChatClass.py", line 308, in run
File "ChatMerge.py", line 99, in main
File "ChatMerge.py", line 77, in getfile
File "ChatMerge.py", line 24, in Merge
EOFError: Ran out of input
似乎和强制断开软件有关,而且很奇怪只有一个群变0kb其他正常。我这边是服务器弹了个更新直接重启了导致的。我现在已经做了每天自动定期备份了😂 -
RE: Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
本来自己做了一个类似的 但是发现大佬做的已经很完整几乎涵盖了我的所有想要的功能😥,完美👍🏻
-
RE: Mirai Administrator 机器人管理插件,好友/群管理,黑名单,宵禁
可以加个设置/取消管理员的功能吗,因为设置群头衔这个模板非常好用所以给bot上了群主 但是要设置/取消管理员就要麻烦了。尝试找了相关接口和依赖没有找到
-
RE: ChatLearning——让bot学会你的群聊
@Koreyoshi 这是log文件里面的报错 系统是windowserver2016 Python3.9
2022-06-02 13:44:08
Traceback (most recent call last):
File "ChatClass.py", line 308, in run
File "ChatLearning.py", line 202, in main
File "ChatLearning.py", line 190, in listening
File "ChatLearning.py", line 78, in creatanswer
KeyError: "[{'type': 'Image', 'imageId': '{55A75F0A-8D56-EA4B-4638-CEF82508AB08}.jpg', 'path': None, 'base64': None}]"2022-06-02 13:44:08
Traceback (most recent call last):
File "ChatClass.py", line 308, in run
File "ChatLearning.py", line 202, in main
File "ChatLearning.py", line 190, in listening
File "ChatLearning.py", line 78, in creatanswer
KeyError: "[{'type': 'Image', 'imageId': '{55A75F0A-8D56-EA4B-4638-CEF82508AB08}.jpg', 'path': None, 'base64': None}]" -
RE: ChatLearning——让bot学会你的群聊
群回复是打开的;清理的话用过管理员模式里面的自动清理词库,这个功能我用过很多次了,也没有出现过词库全被清掉的情况。刚发现的时候截止今天中午14点左右前面的词库全清了。要说中午14点做了什么可疑操作的话就是把2.95换成2.90然后又换回去了。目录下的log文件在14点有个报错但是没什么实际信息
-
RE: ChatLearning——让bot学会你的群聊
@Koreyoshi 感谢回复,这边设置config.clc文件fastdelete参数为0也无法在群里使用这个功能 尝试用上个版本(2.90)倒是可以正常。另外今天发现词库似乎被清过,聊天量最多的群词库被清到今天了,词库少的群清到前几天。是有什么设置吗
-
RE: ChatLearning——让bot学会你的群聊
一用fastdelete就闪退,这是错误信息。ChatLearning ->fastdelete
Traceback (most recent call last):
File "asyncio\tasks.py", line 258, in __step
File "prompt_toolkit\application\application.py", line 1066, in _poll_output_size
File "asyncio\tasks.py", line 654, in sleep
File "asyncio\futures.py", line 284, in await
File "asyncio\tasks.py", line 328, in __wakeup
File "asyncio\futures.py", line 196, in result
asyncio.exceptions.CancelledErrorDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "prompt_toolkit\application\application.py", line 1047, in cancel_and_wait_for_background_tasks
File "asyncio\futures.py", line 284, in await
File "asyncio\tasks.py", line 328, in __wakeup
File "asyncio\futures.py", line 196, in result
asyncio.exceptions.CancelledErrorDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Chatmain.py", line 1875, in <module>
File "nest_asyncio.py", line 81, in run_until_complete
File "asyncio\futures.py", line 201, in result
File "asyncio\tasks.py", line 258, in __step
File "Chatmain.py", line 1749, in getcommand_tui
File "Chatmain.py", line 1832, in commandchoice
File "Chatmain.py", line 433, in SetFastDeleteAdmin
TypeError: eval() arg 1 must be a string, bytes or code object
[9780] Failed to execute script 'Chatmain' due to unhandled exception!