MiraiForum

    • 注册
    • 登录
    • 搜索
    • 热门
    • 最新
    • 未解决
    • 标签
    • 群组
    • 友情链接

    Petpet - 生成各种奇怪的图片

    插件发布
    73
    320
    75014
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Q
      qingfengxiu @Dituon 最后由 编辑

      @Dituon

      2022-07-08 10:02:50 W/PetPet: Linked class org.w3c.dom.Node in Plum-1.0-SNAPSHOT.mirai.jar but plugin not depend on it.
      2022-07-08 10:02:50 W/PetPet: Class loading logic may change in feature.
      2022-07-08 10:02:50 W/Bot.1781649904: An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot 1781649904.EventDispatcher'
      java.lang.LinkageError: loader constraint violation: loader 'bootstrap' wants to load interface org.w3c.dom.Node. A different interface with the same name was previously loaded by 'Plum-1.0-SNAPSHOT.mirai.jar' @2fd954f. (org.w3c.dom.Node is in unnamed module of loader 'Plum-1.0-SNAPSHOT.mirai.jar' @2fd954f, parent loader 'global-shared' @5578be42)
              at java.desktop/com.sun.imageio.plugins.gif.GIFImageMetadata.getNativeTree(Unknown Source)
              at java.desktop/com.sun.imageio.plugins.gif.GIFImageMetadata.getAsTree(Unknown Source)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.share.GifBuilder.configureRootMetadata(GifBuilder.java:57)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.share.GifBuilder.<init>(GifBuilder.java:26)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.share.BaseGifMaker.makeAvatarGIF(BaseGifMaker.java:31)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.share.BasePetService.generateImage(BasePetService.java:151)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.plugin.PluginPetService.sendImage(PluginPetService.java:128)
              at petpet-3.5-M1.mirai.jar//xmmt.dituon.plugin.Petpet.onGroupMessage(Petpet.java:149)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
              at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
              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:749)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
              at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
      

      依然报错

      1 条回复 最后回复 回复 引用 0
      • Q
        qingfengxiu @Dituon 最后由 编辑

        @Dituon 把Plum-1.0-SNAPSHOT.mirai.jar删除后就可以使用了

        1 条回复 最后回复 回复 引用 0
        • Dituon
          Dituon 最后由 编辑

          更新了3.5版本

          https://github.com/Dituon/petpet/releases

          1 条回复 最后回复 回复 引用 0
          • Dituon
            Dituon 最后由 Dituon 编辑

            更新了3.6预览版本

            https://github.com/Dituon/petpet/releases

            1 条回复 最后回复 回复 引用 2
            • Dituon
              Dituon 最后由 编辑

              更新了3.6正式版本

              https://github.com/Dituon/petpet/releases

              1 条回复 最后回复 回复 引用 1
              • Dituon
                Dituon 最后由 编辑

                更新了3.7-M1预览版本

                https://github.com/Dituon/petpet/releases

                1 条回复 最后回复 回复 引用 0
                • Dituon
                  Dituon 最后由 编辑

                  更新了3.7版本

                  https://github.com/Dituon/petpet/releases

                  1 条回复 最后回复 回复 引用 0
                  • K
                    KinYOuO 最后由 编辑

                    你好,请问使用在线编辑器时,放入图片后显示这样怎么解决
                    image.png

                    Dituon 1 条回复 最后回复 回复 引用 0
                    • Dituon
                      Dituon @KinYOuO 最后由 Dituon 编辑

                      @KinYOuO 打开浏览器控制台截图

                      可能的原因

                      • 无法连接到fabric等js库CDN
                      • 浏览器版本过低,不支持ES6新语法
                      • 浏览器缓存资源错误,使用ctrl+f5刷新缓存
                      1 条回复 最后回复 回复 引用 0
                      • Dituon
                        Dituon 最后由 编辑

                        更新了3.8-M2版本

                        https://github.com/Dituon/petpet/releases

                        1 条回复 最后回复 回复 引用 0
                        • Dituon
                          Dituon 最后由 编辑

                          更新了3.8-M3版本

                          https://github.com/Dituon/petpet/releases

                          1 条回复 最后回复 回复 引用 0
                          • Dituon
                            Dituon 最后由 编辑

                            更新了3.8版本

                            https://github.com/Dituon/petpet/releases

                            1 条回复 最后回复 回复 引用 0
                            • Z
                              zyckk4 摸鱼 最后由 zyckk4 编辑

                              想请问下这是怎么回事。版本3.8
                              error.png

                              Dituon 1 条回复 最后回复 回复 引用 0
                              • Dituon
                                Dituon @zyckk4 最后由 编辑

                                @zyckk4 使用4.0

                                1 条回复 最后回复 回复 引用 0
                                • Z
                                  zyckk4 摸鱼 最后由 编辑

                                  话说项目是否应该使用AGPL3协议,因为mirai是使用的AGPL3

                                  Dituon 1 条回复 最后回复 回复 引用 0
                                  • Dituon
                                    Dituon @zyckk4 最后由 编辑

                                    @zyckk4 感谢提醒,已更改

                                    1 条回复 最后回复 回复 引用 0
                                    • Dituon
                                      Dituon 最后由 Dituon 编辑

                                      更新了4.0-M1版本

                                      https://github.com/Dituon/petpet/releases

                                      1 条回复 最后回复 回复 引用 0
                                      • 2
                                        2366282633 最后由 编辑

                                        此回复已被删除!
                                        1 条回复 最后回复 回复 引用 0
                                        • 尤十甫寸
                                          尤十甫寸 最后由 编辑

                                          动图发送失败,请问哪里出了问题qwq
                                          2022-07-22 16:51:17 W/Bot.3318675668: An exception occurred when processing event. Subscriber scope: '<unnamed>'. Broadcaster scope: 'Bot 3318675668.EventDispatcher'
                                          java.lang.LinkageError: loader constraint violation: when resolving method 'org.w3c.dom.Node javax.imageio.metadata.IIOMetadata.getAsTree(java.lang.String)' the class loader 'petpet-4.0.jar' @2dd0f797 of the current class, xmmt/dituon/share/GifBuilder, and the class loader 'bootstrap' for the method's defining class, javax/imageio/metadata/IIOMetadata, have different Class objects for the type org/w3c/dom/Node used in the signature (xmmt.dituon.share.GifBuilder is in unnamed module of loader 'petpet-4.0.jar' @2dd0f797, parent loader 'global-shared' @17c2d509; javax.imageio.metadata.IIOMetadata is in module java.desktop of loader 'bootstrap')
                                          at petpet-4.0.jar//xmmt.dituon.share.GifBuilder.configureRootMetadata(GifBuilder.java:57)
                                          at petpet-4.0.jar//xmmt.dituon.share.GifBuilder.<init>(GifBuilder.java:26)
                                          at petpet-4.0.jar//xmmt.dituon.share.BaseGifMaker.makeAvatarGIF(BaseGifMaker.java:15)
                                          at petpet-4.0.jar//xmmt.dituon.share.BasePetService.generateImage(BasePetService.java:170)
                                          at petpet-4.0.jar//xmmt.dituon.plugin.PluginPetService.sendImage(PluginPetService.java:141)
                                          at petpet-4.0.jar//xmmt.dituon.plugin.Petpet.responseMessage(Petpet.java:212)
                                          at petpet-4.0.jar//xmmt.dituon.plugin.Petpet.onGroupMessage(Petpet.java:106)
                                          at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
                                          at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:631)
                                          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:749)
                                          at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
                                          at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

                                          1 条回复 最后回复 回复 引用 0
                                          • Dituon
                                            Dituon @qingfengxiu 最后由 Dituon 编辑

                                            相似问题 - 👆

                                            @尤十甫寸 mirai类加载器问题, 可能与其它插件冲突导致

                                            尤十甫寸 1 条回复 最后回复 回复 引用 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 15
                                            • 16
                                            • 7 / 16
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact