MiraiForum

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

    Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签

    插件发布
    kotlin plugins pixiv
    140
    555
    141756
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      yuqiang1995 最后由 编辑

      Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
      Current input: .....iginal/img/2011/10/31/01/06/39/22735167_p0.png"},"aiType":0}
      kotlinx.serialization.json.internal.JsonDecodingException: Encountered unknown key 'aiType'.
      Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
      Current input: .....iginal/img/2011/10/31/01/06/39/22735167_p0.png"},"aiType":0}
      at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24)
      at kotlinx.serialization.json.internal.JsonExceptionsKt.UnknownKeyException(JsonExceptions.kt:71)
      at kotlinx.serialization.json.internal.JsonTreeDecoder.endStructure(TreeJsonDecoder.kt:264)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.entity.LData$$serializer.deserialize(Lolicon.kt:15)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.entity.LData$$serializer.deserialize(Lolicon.kt:15)
      at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
      at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51)
      at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206)
      at kotlinx.serialization.internal.TaggedDecoder$decodeSerializableElement$1.invoke(Tagged.kt:279)
      at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296)
      at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableElement(Tagged.kt:279)
      at kotlinx.serialization.encoding.CompositeDecoder$DefaultImpls.decodeSerializableElement$default(Decoding.kt:537)
      at kotlinx.serialization.internal.CollectionLikeSerializer.readElement(CollectionSerializers.kt:80)
      at kotlinx.serialization.internal.AbstractCollectionSerializer.readElement$default(CollectionSerializers.kt:51)
      at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:36)
      at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43)
      at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
      at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51)
      at kotlinx.serialization.internal.TaggedDecoder.decodeSerializableValue(Tagged.kt:206)
      at kotlinx.serialization.internal.TaggedDecoder$decodeNullableSerializableElement$1.invoke(Tagged.kt:288)
      at kotlinx.serialization.internal.TaggedDecoder.tagBlock(Tagged.kt:296)
      at kotlinx.serialization.internal.TaggedDecoder.decodeNullableSerializableElement(Tagged.kt:287)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.entity.Lolicon$$serializer.deserialize(Lolicon.kt:7)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.entity.Lolicon$$serializer.deserialize(Lolicon.kt:7)
      at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
      at kotlinx.serialization.json.internal.AbstractJsonTreeDecoder.decodeSerializableValue(TreeJsonDecoder.kt:51)
      at kotlinx.serialization.json.internal.TreeJsonDecoderKt.readJson(TreeJsonDecoder.kt:24)
      at kotlinx.serialization.json.Json.decodeFromJsonElement(Json.kt:119)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.sexy.SexyCenter.lolicon(SexyCenter.kt:627)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.sexy.SexyCenter.init(SexyCenter.kt:99)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.Pixiv$onEnable$1$12.invokeSuspend(Pixiv.kt:92)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.Pixiv$onEnable$1$12.invoke(Pixiv.kt)
      at pixiv-1.7.4-fix.mirai.jar//com.hcyacg.Pixiv$onEnable$1$12.invoke(Pixiv.kt)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invokeSuspend(MessageSubscribersBuilder.kt:513)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.kt)
      at net.mamoe.mirai.event.MessageSubscribersBuilder$reply$3.invoke(MessageSubscribersBuilder.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:255)
      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: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.access$process(EventListeners.kt:28)
      at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:85)
      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)

      莫名其妙的报错。。。

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

        由于自动更新和lolicon 添加字段导致失败的问题,你们可以去项目的action下载自动编译的来试试

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

          此回复已被删除!
          1 条回复 最后回复 回复 引用 0
          • Y
            yuanbolin 最后由 编辑

            此回复已被删除!
            1 条回复 最后回复 回复 引用 0
            • Y
              yuanbolin 最后由 编辑

              请问如何关闭自动更新?每次都失败卡住启动。还会造成jar包缺失导致后续启动闪退

              Nekoer 1 条回复 最后回复 回复 引用 0
              • Nekoer
                Nekoer 摸鱼 @yuanbolin 最后由 编辑

                @yuanbolin 去项目的action下载自动编译的

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

                  为啥会出现更新失败,如果启动就会报错
                  image.png

                  Nekoer 1 条回复 最后回复 回复 引用 0
                  • Nekoer
                    Nekoer 摸鱼 @MClaeMO 最后由 Nekoer 编辑

                    @MClaeMO 去项目的action下载自动编译的1.7.5

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

                      image.png
                      image.png
                      p站上有图片,但是psid发不出来

                      W 1 条回复 最后回复 回复 引用 0
                      • W
                        whloooh @akame1334 最后由 编辑

                        @akame1334 我的也这样😥

                        A 1 条回复 最后回复 回复 引用 0
                        • A
                          akame1334 @whloooh 最后由 编辑

                          @whloooh 好像现在要开会员

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

                            大佬配置好之后发送指令显示这些,bot也没回复是什么情况
                            2022-12-14 21:40:12 E/pixiv插画: Exception in coroutine Plugin com.hcyacg.pixiv of pixiv插画
                            java.lang.ExceptionInInitializerError
                            at pixiv-1.7.5.mirai2.jar//com.hcyacg.Pixiv$onEnable$1$6.invokeSuspend(Pixiv.kt:81)
                            at pixiv-1.7.5.mirai2.jar//com.hcyacg.Pixiv$onEnable$1$6.invoke(Pixiv.kt)
                            at pixiv-1.7.5.mirai2.jar//com.hcyacg.Pixiv$onEnable$1$6.invoke(Pixiv.kt)
                            at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invokeSuspend(MessageSubscribersBuilder.kt:513)
                            at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invoke(MessageSubscribersBuilder.kt)
                            at net.mamoe.mirai.event.MessageSubscribersBuilder$quoteReply$3.invoke(MessageSubscribersBuilder.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:255)
                            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: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.access$process(EventListeners.kt:28)
                            at net.mamoe.mirai.internal.event.EventListeners$callListeners$2$1.invokeSuspend(EventListeners.kt:85)
                            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)
                            Caused by: java.lang.IllegalArgumentException: Unexpected char 0x201c at 0 in token value: “eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJBbm5vciIsInV1aWQiOiI4N2RhOTE2YmU4N2Y0Y2VkYjFlMzdjYTg2N2ZkM2UzYiIsImlhdCI6MTY3MDc0NjUwNSwiYWNjb3VudCI6IntcImVtYWlsXCI6XCIxMTU0NjA3NzY0QHFxLmNvbVwiLFwiZ2VuZGVyXCI6LTEsXCJoYXNQcm9uXCI6MCxcImlkXCI6MjQyNCxcInBhc3NXb3JkXCI6XCIzYTE5OTQ1M2EzZTIzZTFmMjA1NDNmODk0NTNlOWZhM1wiLFwic3RhdHVzXCI6MCxcInVzZXJOYW1lXCI6XCJBbm5vclwifSIsImp0aSI6IjI0MjQifQ.dOWRfc46IczlPW9xkRy2IdxDn7o8EcdnUB1Zxq-MNFY”
                            at pixiv-1.7.5.mirai2.jar[private]//okhttp3.internal._HeadersCommonKt.headersCheckValue(-HeadersCommon.kt:140)
                            at pixiv-1.7.5.mirai2.jar[private]//okhttp3.internal._HeadersCommonKt.commonAdd(-HeadersCommon.kt:77)
                            at pixiv-1.7.5.mirai2.jar[private]//okhttp3.Headers$Builder.add(Headers.kt:171)
                            at pixiv-1.7.5.mirai2.jar//com.hcyacg.details.UserDetails.<clinit>(UserDetails.kt:24)
                            ... 31 more

                            Nekoer 1 条回复 最后回复 回复 引用 0
                            • Nekoer
                              Nekoer 摸鱼 @Annor 最后由 编辑

                              @Annor 检查一下你的配置文件,你这属于是文件配置错误

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

                                此回复已被删除!
                                1 条回复 最后回复 回复 引用 0
                                • S
                                  sjxkfnskdd 最后由 编辑

                                  此回复已被删除!
                                  1 条回复 最后回复 回复 引用 0
                                  • E
                                    echo-k-0 最后由 编辑

                                    大佬,搜图的时候报错
                                    2023-01-01 15:40:36 E/pixiv插画: Exception in coroutine Plugin com.hcyacg.pixiv of pixiv插画
                                    java.lang.NoClassDefFoundError: Could not initialize class java.awt.GraphicsEnvironment$LocalGE
                                    at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
                                    at java.desktop/java.awt.image.BufferedImage.createGraphics(Unknown Source)
                                    at pixiv-1.7.5.mirai2.jar//com.hcyacg.utils.ImageUtil$Companion.rotate(ImageUtil.kt:114)
                                    at pixiv-1.7.5.mirai2.jar//com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:62)
                                    at pixiv-1.7.5.mirai2.jar//com.hcyacg.search.Saucenao$picToSearch$1.invokeSuspend(Saucenao.kt)
                                    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)

                                    1 条回复 最后回复 回复 引用 0
                                    • 蔚
                                      蔚蓝621 最后由 编辑

                                      配置了代理,搜图:谷歌没有显示,saucenao没有显示,都开启了开关,配置了token

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

                                        此回复已被删除!
                                        Y 1 条回复 最后回复 回复 引用 0
                                        • Y
                                          yayangtian @yayangtian 最后由 编辑

                                          此回复已被删除!
                                          1 条回复 最后回复 回复 引用 0
                                          • Y
                                            yayangtian 最后由 编辑

                                            2023-01-07 23:22:39 I/main: Backend: version 2.13.2, built on 2022-12-05 01:50:53.
                                            2023-01-07 23:22:39 I/main: Frontend Terminal: version 2.13.2, provided by Mamoe Technologies
                                            2023-01-07 23:22:39 I/main: Welcome to visit https://mirai.mamoe.net/
                                            2023-01-07 23:22:39 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
                                            2023-01-07 23:22:39 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
                                            2023-01-07 23:22:39 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
                                            2023-01-07 23:22:39 I/plugin: Successfully loaded plugin pixiv插画 v1.7.5
                                            2023-01-07 23:22:39 I/plugin: Successfully loaded plugin Loli You Want v0.2.1
                                            2023-01-07 23:22:39 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
                                            2023-01-07 23:22:39 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
                                            2023-01-07 23:22:39 I/Loli You Want: 未安装经济插件
                                            2023-01-07 23:22:39 I/Loli You Want: Plugin loaded
                                            2023-01-07 23:22:39 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
                                            2023-01-07 23:22:39 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
                                            2023-01-07 23:22:39 I/main: 3 plugin(s) enabled.
                                            2023-01-07 23:22:39 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关闭.
                                            2023-01-07 23:22:39 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add mirai.no-desktop to JVM properties (-Dmirai.no-desktop) to disable it.
                                            2023-01-07 23:22:39 I/main: Auto-login 1060669698, protocol: ANDROID_PHONE, heartbeatStrategy: STAT_HB
                                            2023-01-07 23:22:39 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
                                            2023-01-07 23:22:40 I/Bot.1060669698: Loaded account secrets from local cache.
                                            2023-01-07 23:22:40 I/Bot.1060669698: Saved account secrets to local cache for fast login.
                                            2023-01-07 23:22:40 I/Bot.1060669698: Login successful.
                                            2023-01-07 23:22:42 V/Bot.1060669698: Event: BotOnlineEvent(bot=Bot(1060669698))
                                            2023-01-07 23:22:42 I/Bot.1060669698: Bot login successful.
                                            2023-01-07 23:22:42 I/main: mirai-console started successfully.
                                            安装了插件 但是群内发消息没有反应

                                            1 条回复 最后回复 回复 引用 0
                                            • 1
                                            • 2
                                            • 24
                                            • 25
                                            • 26
                                            • 27
                                            • 28
                                            • 26 / 28
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact