MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    RandomAnimals 随机动物图片

    插件发布
    16
    41
    4709
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nanachi-sh @WhitrayHB last edited by

      @WhitrayHB 好像也不是很行( 有时候会请求超时

      1 Reply Last reply Reply Quote 0
      • K
        Kawaii33chan @JustinHuangber last edited by

        @JustinHuangber 在 RandomAnimals 随机动物图片 中说:

        报红了,直接打开链接可以看图片

        2022-09-07 21:53:03 I/随机动物图插件: 将要下载的图片地址是https://static.jks.life/cat/images/kxUakBB2o.jpg
        2022-09-07 21:53:05 E/随机动物图插件: 图片下载失败!
        2022-09-07 21:53:05 E/随机动物图插件: java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。)
        java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\kxUakBB2o.jpg (系统找不到指定的路径。)
                at java.base/java.io.FileOutputStream.open0(Native Method)
                at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
                at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
                at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:123)
                at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.data.FetchPicture.fetchPicture(FetchPicture.java:34)
                at randomanimal-0.1.3.mirai2.jar//cn.whitrayhb.randomanimal.command.RandomCat.onCommand(RandomCat.java:36)
                at net.mamoe.mirai.console.command.java.JRawCommand.onCommand(JRawCommand.kt:121)
                at net.mamoe.mirai.console.command.java.JRawCommand$overloads$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194)
                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)
        
        2022-09-07 21:53:05 E/随机动物图插件: 图片路径为空,在图片获取过程中出现问题!
        

        @WhitrayHB 在 RandomAnimals 随机动物图片 中说:

        @JustinHuangber 草,传错构建的版本了,马上修

        内个...新版本传了吗,我也是这个问题。

        WhitrayHB 1 Reply Last reply Reply Quote 0
        • WhitrayHB
          WhitrayHB @Kawaii33chan last edited by

          @Kawaii33chan 草,忘传了,这边加了个cd直接更新0.1.4罢

          K 1 Reply Last reply Reply Quote 0
          • K
            Kawaii33chan @WhitrayHB last edited by

            @WhitrayHB
            啊这~传了踢我一下~

            WhitrayHB 1 Reply Last reply Reply Quote 0
            • WhitrayHB
              WhitrayHB @Kawaii33chan last edited by

              @Kawaii33chan 已经传了

              K 1 Reply Last reply Reply Quote 0
              • K
                Kawaii33chan @WhitrayHB last edited by

                @WhitrayHB
                好嘞谢了!

                1 Reply Last reply Reply Quote 0
                • K
                  Kawaii33chan last edited by

                  2022-09-11 01:16:28 V/Bot.2871337580: Group(817031892) <- 稍等……猫猫正在跑步前进!
                  2022-09-11 01:16:28 I/随机动物图插件: 将要下载的图片地址是https://static.jks.life/cat/images/7gn.jpg
                  2022-09-11 01:16:29 E/随机动物图插件: 图片下载失败!
                  2022-09-11 01:16:29 E/随机动物图插件: java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\7gn.jpg (系统找不到指定的路径。)
                  java.io.FileNotFoundException: .\data\cn.whitrayhb.randomanimal\cache\cat\7gn.jpg (系统找不到指定的路径。)
                  at java.base/java.io.FileOutputStream.open0(Native Method)
                  at java.base/java.io.FileOutputStream.open(Unknown Source)
                  at java.base/java.io.FileOutputStream.<init>(Unknown Source)
                  at java.base/java.io.FileOutputStream.<init>(Unknown Source)
                  at randomanimal-0.1.4.mirai2.jar//cn.whitrayhb.randomanimal.data.FetchPicture.fetchPicture(FetchPicture.java:34)
                  at randomanimal-0.1.4.mirai2.jar//cn.whitrayhb.randomanimal.command.RandomCat.onCommand(RandomCat.java:47)
                  at net.mamoe.mirai.console.command.java.JRawCommand.onCommand(JRawCommand.kt:121)
                  at net.mamoe.mirai.console.command.java.JRawCommand$overloads$1$invokeSuspend$$inlined$runBIO$1.invoke(CoroutineUtils.kt:194)
                  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)
                  
                  2022-09-11 01:16:29 E/随机动物图插件: 图片路径为空,在图片获取过程中出现问题!
                  2022-09-11 01:16:29 V/Bot.2871337580: Group(817031892) <- 猫猫迷路了……或许可以再试一次?

                  呃,他还是以上的报错,是我本地的问题吗?链接也可以直接打开、

                  博 1 Reply Last reply Reply Quote 0
                  • 博
                    博丽灵梦 @Kawaii33chan last edited by

                    @Kawaii33chan 报红的话直接在data目录下按照这个路径新建文件夹就行了cn.whitrayhb.randomanimal\cache\cat(猫猫图)dog(狗图)fox(狐图)

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      Kawaii33chan @博丽灵梦 last edited by

                      @博丽灵梦
                      谢谢谢谢,成功了!

                      1 Reply Last reply Reply Quote 0
                      • K
                        KinYOuO @WhitrayHB last edited by

                        @WhitrayHB 你好,请问上传新版本了吗,同样的问题

                        WhitrayHB 3 Replies Last reply Reply Quote 0
                        • WhitrayHB
                          WhitrayHB @KinYOuO last edited by

                          @KinYOuO 稍等我上完网课来看一下……估计是mkdirs那出了点问题

                          1 Reply Last reply Reply Quote 0
                          • WhitrayHB
                            WhitrayHB @KinYOuO last edited by

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • WhitrayHB
                              WhitrayHB @KinYOuO last edited by WhitrayHB

                              @KinYOuO 修复了((( wssb GitHub已经上传在0.1.4Release里了

                              1 Reply Last reply Reply Quote 0
                              • M
                                milanor1970 last edited by milanor1970

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • zxmacc
                                  zxmacc last edited by

                                  作者作者,能拜托增加一个可以自己配置三个api地址的选项吗

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                    1299727325 last edited by

                                    唔,作者,狗狗的图能发但是猫猫和狐狐都发不了呢

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fog233331 last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        KinYOuO last edited by

                                        作者作者,猫猫和狐狐都炸了,只有狗狗可以!

                                        WhitrayHB 1 Reply Last reply Reply Quote 0
                                        • WhitrayHB
                                          WhitrayHB @KinYOuO last edited by

                                          @KinYOuO 项目已经由NLR-DevTeam接手开发,仓库地址为https://github.com/NLR-DevTeam/RandomAnimalsRewrite

                                          1 Reply Last reply Reply Quote 0
                                          • hejinding
                                            hejinding last edited by

                                            你是一个一个一个插件

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact