Petpet - 生成各种奇怪的图片
-
@RainbowDash 在 Petpet - 生成各种奇怪的图片 中说:
WALLPAPER后台有报错
请问,倒放可以像其他对称一样用指令直接制作吗。
原有data文件中的json文件是不能自己修改是否出现在随机列表吗,我尝试改成true或者删除inradonlist都会无法读取json。倒放 可以添加配置项实现
json文件可以修改,根据描述 我无法复现你的问题 请提供详细参数
-
@Dituon
这个是wallpaper指令的报错,版本是2.11, 倒放配置项是指像对称一样单独做一个data.json的文件夹吗 -
这是因为无法连接raw而终止运行吗?
2022-12-01 18:45:10 I/stdout: 无法连接到远程资源: https://raw.githubusercontent.com/Dituon/petpet/main/index.json
2022-12-01 18:45:10 W/stderr: Exception in thread "Thread-9" java.lang.NullPointerException
2022-12-01 18:45:10 W/stderr: at java.base/java.util.Objects.requireNonNull(Unknown Source)
2022-12-01 18:45:10 W/stderr: at petpet-4.7.mirai2.jar//xmmt.dituon.plugin.DataUpdater.checkUpdate(DataUpdater.java:64)
2022-12-01 18:45:10 W/stderr: at petpet-4.7.mirai2.jar//xmmt.dituon.plugin.DataUpdater.autoUpdate(DataUpdater.java:21)
2022-12-01 18:45:10 W/stderr: at java.base/java.lang.Thread.run(Unknown Source)
2022-12-01 18:45:21 V/Bot.1220481280: Event: BotOfflineEvent.RequireReconnect(bot=Bot(1220481280), cause=java.lang.IllegalStateException: Timeout waiting for ConfigPush., reconnect=true)
2022-12-01 18:45:21 W/Bot.1220481280: Connection lost, reconnecting... (java.lang.IllegalStateException: Timeout waiting for ConfigPush.)
2022-12-01 18:45:21 V/Bot.1220481280: Event: BotOfflineEvent.Active(bot=Bot(1220481280), cause=java.lang.IllegalStateException: Timeout waiting for ConfigPush., reconnect=false)
2022-12-01 18:45:21 I/Bot.1220481280: Bot is closed manually with exception: java.lang.IllegalStateException: Timeout waiting for ConfigPush.
java.lang.IllegalStateException: Timeout waiting for ConfigPush.
at net.mamoe.mirai.internal.network.components.ConfigPushProcessorImpl.syncConfigPush(ConfigPushProcessor.kt:45)
at net.mamoe.mirai.internal.network.components.ConfigPushProcessorImpl$syncConfigPush$1.invokeSuspend(ConfigPushProcessor.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.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.DispatchedTask.run(DispatchedTask.kt:104)
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) -
@fffzzl 这个报错不会终止程序运行,这是自动更新数据的独立线程,可以忽略
错误是你的网络问题导致,如果想修复此问题,可以参考README中的常见问题一节
-
@Dituon 之前mcl2.1.2使用petpet4.8-mirai2没问题,升级到petpet5.0,不读取4.8的配置文件,重做配置文件并且放入data后奇怪的问题就出现了,使用petpet5.0,生成图片时会大量报错如下,并且多次生成会关闭mirai,降级到4.8重做data用旧文件,只有部分正常生成
2022-12-02 09:55:56 V/Bot.12: [(86)] 傻逼-> #remake 2022-12-02 09:55:57 W/stderr: Exception in thread "pool-9-thread-5" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:55:58 W/stderr: Exception in thread "D3D Screen Updater" java.lang.OutOfMemoryError: Java heap space > Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-9-thread-8" 2022-12-02 09:56:00 W/stderr: Exception in thread "pool-9-thread-8" Exception in thread "pool-9-thread-9" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:01 W/stderr: Exception in thread "pool-9-thread-2" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:01 W/stderr: Exception in thread "pool-9-thread-1" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:01 W/stderr: Exception in thread "pool-9-thread-11" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:02 W/stderr: Exception in thread "Thread-21" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:02 W/stderr: Exception in thread "pool-9-thread-7" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:02 W/stderr: Exception in thread "pool-9-thread-13" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:02 W/stderr: Exception in thread "pool-9-thread-6" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:56:03 W/bilibili-helper: BiliListener Handle Exception java.lang.reflect.InvocationTargetException 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) Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Thread-20" at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) > Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "pool-9-thread-27" at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108) at kotlin.reflect.full.KCallables.callSuspend(KCallables.kt:56) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.registerEventHandler$callFunction(JvmMethodListenersInternal.kt:80) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt.access$registerEventHandler$callFunction(JvmMethodListenersInternal.kt:1) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invokeSuspend(JvmMethodListenersInternal.kt:110) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.internal.event.JvmMethodListenersInternalKt$registerEventHandler$8.invoke(JvmMethodListenersInternal.kt) at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:506) 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.SafeListener$onEvent$2.invokeSuspend(SafeListener.kt:58) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at net.mamoe.mirai.internal.event.SafeListener$onEvent$2.invoke(SafeListener.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:169) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at net.mamoe.mirai.internal.event.SafeListener.onEvent(SafeListener.kt:58) at net.mamoe.mirai.internal.event.EventListeners.process(EventListeners.kt:120) at net.mamoe.mirai.internal.event.EventListeners.callListeners$mirai_core(EventListeners.kt:68) at net.mamoe.mirai.internal.event.EventListeners$callListeners$1.invokeSuspend(EventListeners.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:233) 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(CoroutineSche
和
2022-12-02 09:55:22 V/Bot.1220481280: [这才是mc拖更组(891261126)] 傻逼(2795412649) -> #喝彩 2022-12-02 09:55:23 W/stderr: Exception in thread "pool-9-thread-3" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.DataBufferInt.<init>(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.Raster.createPackedRaster(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.BufferedImage.<init>(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.loops.GraphicsPrimitive.convertFrom(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.loops.MaskBlit$General.MaskBlit(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.loops.Blit$GeneralMaskBlit.Blit(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.pipe.DrawImage.copyImage(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.pipe.DrawImage.copyImage(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.SunGraphics2D.drawImage(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/sun.java2d.SunGraphics2D.drawImage(Unknown Source) 2022-12-02 09:55:23 W/stderr: at petpet-5.0.mirai2.jar//moe.dituon.petpet.share.BaseGifMaker.lambda$makeGifUseAnimatedLib$1(BaseGifMaker.java:110) 2022-12-02 09:55:23 W/stderr: at petpet-5.0.mirai2.jar//moe.dituon.petpet.share.BaseGifMaker$$Lambda$1225/0x000000080166e058.run(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.lang.Thread.run(Unknown Source) 2022-12-02 09:55:23 W/stderr: Exception in thread "pool-9-thread-4" java.lang.OutOfMemoryError: Java heap space 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.DataBufferByte.<init>(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.Raster.createInterleavedRaster(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.desktop/java.awt.image.BufferedImage.<init>(Unknown Source) 2022-12-02 09:55:23 W/stderr: at petpet-5.0.mirai2.jar//moe.dituon.petpet.share.ImageSynthesis.synthesisImage(ImageSynthesis.java:84) 2022-12-02 09:55:23 W/stderr: at petpet-5.0.mirai2.jar//moe.dituon.petpet.share.BaseGifMaker.lambda$makeGifUseAnimatedLib$1(BaseGifMaker.java:102) 2022-12-02 09:55:23 W/stderr: at petpet-5.0.mirai2.jar//moe.dituon.petpet.share.BaseGifMaker$$Lambda$1225/0x000000080166e058.run(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 2022-12-02 09:55:23 W/stderr: at java.base/java.lang.Thread.run(Unknown Source)```
-
-
@Dituon 谢谢 jvm内存放开点就解决啦,就是java的GC效率有点感人(7个群吃400MB,然后memreduct一清理4M占用)
-
想问一下5.0版本为什么唱片/record等功能出现的图片会一闪一闪的,无法流畅输出呀?
-
@DgLer 已修复,使用最新版本
-
@Dituon 麻烦了,感谢。还想问下“wallpaper”指令配置是不是有些问题?发现多次调整仍无法调用。
-
@DgLer 忘记了 近期修复 多谢提醒
-
@Dituon 感谢您,麻烦了。
-
@DgLer 已修复,使用最新版本
-
已更新
5.1
-
很不错的插件
-
想请问一下在线编辑器为什么点addAvatar加不了头像,文字就可以
-
@Cooper 重构打包时路径错误, 已修复
-
更新了在线编辑器
-
更新了
5.2
预览版本 -
更新了在线编辑器