Petpet - 生成各种奇怪的图片
-
-
@盐酸哌甲酯 改用java11后重试,提供onebot实现信息
-
@Dituon好的,问题解决了,非常感谢!
-
更新了
6.1
版本 -
特别棒的插件,必用的插件
-
之前群被封了 新群
922959760
-
群又被封了 新群
961494251
-
@Dituon 你群炸了
-
@KaWei
961494251
-
fufuzhou
-
shihuang214
-
-
此回复已被删除! -
此回复已被删除! -
您好,现出现如下问题
2024-10-04 15:33:37 V/Bot.3779376904: [极影Extreme(791253034)] BTL.Chas(1743181509) -> pet 问问 [mirai:at:1743181509]
2024-10-04 15:33:37 W/Onebot: 请求失败: [send_group_msg] 请求失败: app=LLOneBot v3.34.1, message=Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\AppData\Local\Temp\tmp17946666157500030495.tmp', retJson={"status":"failed","retcode":1200,"data":null,"message":"Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\AppData\Local\Temp\tmp17946666157500030495.tmp'","wording":"Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\AppData\Local\Temp\tmp17946666157500030495.tmp'","echo":118}。如果你认为这是 Overflow 的问题,请带上 logs/onebot 中的日志来反馈。
2024-10-04 15:33:37 V/Bot.3779376904: Group(791253034) <- [overflow:image,url=file:///C:\Users\Administrator\AppData\Local\Temp\tmp17946666157500030495.tmp]
2024-10-04 15:33:37 W/PetPet: 发送图片时出错: 消息发送失败,详见网络日志 (logs/onebot/.log) 和 Onebot 实现 (LLOneBot v3.34.1) 的日志
java.lang.IllegalStateException: 消息发送失败,详见网络日志 (logs/onebot/.log) 和 Onebot 实现 (LLOneBot v3.34.1) 的日志
at top.mrxiaom.overflow.internal.utils.TransformerUtilsKt.safeMessageIds(TransformerUtils.kt:97)
at top.mrxiaom.overflow.internal.contact.GroupWrapper.sendMessage(GroupWrapper.kt:176)
at top.mrxiaom.overflow.internal.contact.GroupWrapper$sendMessage$1.invokeSuspend(GroupWrapper.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:178)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:166)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:397)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:431)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:420)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:328)
at kotlinx.coroutines.ResumeAwaitOnCompletion.invoke(JobSupport.kt:1413)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:318)
at kotlinx.coroutines.JobSupport.tryFinalizeSimpleState(JobSupport.kt:295)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:856)
at kotlinx.coroutines.JobSupport.makeCompleting$kotlinx_coroutines_core(JobSupport.kt:806)
at kotlinx.coroutines.CompletableDeferredImpl.complete(CompletableDeferred.kt:92)
at cn.evolvefield.onebot.client.util.ActionSendRequest.onCallback(ActionSendRequest.kt:80)
at cn.evolvefield.onebot.client.handler.ActionHandler.onReceiveActionResp(ActionHandler.kt:41)
at cn.evolvefield.onebot.client.connection.IAdapter$DefaultImpls.onReceiveMessage(IAdapter.kt:27)
at cn.evolvefield.onebot.client.connection.WSClient.onReceiveMessage(WSClient.kt:19)
at cn.evolvefield.onebot.client.connection.WSClient.onMessage(WSClient.kt:51)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:636)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrameText(Draft_6455.java:986)
at top.mrxiaom.overflow.internal.deps.websocket.drafts.Draft_6455.processFrame(Draft_6455.java:910)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:402)
at top.mrxiaom.overflow.internal.deps.websocket.WebSocketImpl.decode(WebSocketImpl.java:234)
at top.mrxiaom.overflow.internal.deps.websocket.client.WebSocketClient.run(WebSocketClient.java:516)
at java.base/java.lang.Thread.run(Thread.java:842) -
@Chaluo 版本为6.2
-
@Chaluo 是overflow的临时文件缓存问题,请去overflow反馈
-
@Chaluo 已更新新版本,改用onebot协议
-
大佬您好,我在使用petpet-onebot-1.0.0-beta2,输入指令之后返回
2025-03-17 17:57:27 ERROR/Petpet-Onebot: 处理 Onebot 事件时出现异常:
java.lang.ClassCastException: class com.google.gson.JsonPrimitive cannot be cast to class com.google.gson.JsonArray (com.google.gson.JsonPrimitive and com.google.gson.JsonArray are in unnamed module of loader 'app')
at com.google.gson.JsonObject.getAsJsonArray(JsonObject.java:209)
at moe.dituon.petpet.bot.qq.onebot.handler.OnebotMessageChainWrapper.<init>(OnebotMessageChainWrapper.kt:43)
at moe.dituon.petpet.bot.qq.onebot.handler.OnebotMessageChainWrapper.<init>(OnebotMessageChainWrapper.kt:15)
at moe.dituon.petpet.bot.qq.onebot.handler.OnebotGroupMessageChainWrapper.<init>(OnebotGroupMessageChainWrapper.kt:13)
at moe.dituon.petpet.bot.qq.onebot.handler.OnebotGroupMessageHandler$OnebotGroupMessageContext.<init>(OnebotGroupMessageHandler.kt:25)
at moe.dituon.petpet.bot.qq.onebot.handler.OnebotGroupMessageHandler.handle(OnebotGroupMessageHandler.kt:19)
at moe.dituon.petpet.bot.qq.onebot.MainKt$main$2.onMessage(Main.kt:81)
at moe.dituon.petpet.bot.qq.onebot.MainKt$main$2.onMessage(Main.kt:80)
at cn.evolvefield.onebot.client.listener.EventListenerKt.message(EventListener.kt:21)
at cn.evolvefield.onebot.client.handler.EventBus.onReceive(EventBus.kt:44)
at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1$1$1.invokeSuspend(IAdapter.kt:32)
at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1$1$1.invoke(IAdapter.kt)
at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1$1$1.invoke(IAdapter.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturnIgnoreTimeout(Undispatched.kt:100)
at kotlinx.coroutines.TimeoutKt.setupTimeout(Timeout.kt:146)
at kotlinx.coroutines.TimeoutKt.withTimeoutOrNull(Timeout.kt:103)
at cn.evolvefield.onebot.client.connection.IAdapter$onReceiveMessage$1.invokeSuspend(IAdapter.kt:30)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
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) -
2025-03-17 18:16:29 INFO/Petpet-Onebot: ▌ 已连接到服务器 ┈━═☆
2025-03-17 18:16:29 INFO/BaseHttpServer: HTTP 图像服务器已在端口 2233 上启动
2025-03-17 18:16:30 INFO/FontManager: Font register success: MiSans-Bold.ttf, Aller-Bold.ttf, Handel-Gothic.ttf
2025-03-17 18:16:31 INFO/Petpet:
=============== Petpet 环境检查 ===============
推荐使用 JetBrainsRuntime JVM 运行 Petpet:
https://github.com/JetBrains/JetBrainsRuntime使用 Oracle Corporation 提供的 JVM 可能不支持以下功能:
-
彩色 Emoji 渲染
-
Linux 上的增强字体渲染
-
亚像素抗锯齿
2025-03-17 18:16:31 INFO/Petpet-Onebot:██████╗ ███████╗████████╗██████╗ ███████╗████████╗
██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔════╝╚══██╔══╝
██████╔╝█████╗ ██║ ██████╔╝█████╗ ██║
██╔═══╝ ██╔══╝ ██║ ██╔═══╝ ██╔══╝ ██║
██║ ███████╗ ██║ ██║ ███████╗ ██║
╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝ ╚═╝ v1.0.0-beta2
2025-03-17 18:16:31 INFO/Petpet-Onebot: Petpet Onebot 客户端启动成功:
2025-03-17 18:16:31 INFO/Petpet-Onebot: 已加载 138 模板; 随机表列包含 92 模板;
2025-03-17 18:16:31 INFO/Petpet-Onebot: 已注册 2 脚本; 默认模板为 index-text-tabel;
2025-03-17 18:16:31 INFO/Petpet-Onebot: 已加载 94 字体; 默认字体为 MiSans;
2025-03-17 18:16:31 INFO/Petpet-Onebot: Petpet Onebot 客户端启动完毕, 发送 pet 以触发默认模板...
启动成功,不管给机器人输入什么指令都是收到上面那一段信息
java版本是jdk17.0.0.1,onebot用的astragocq v1.3.1-pre-8,系统是centos -
-
-
@Dituon 问题解决了,感谢大佬