MiraiForum

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

    RandomAnimals 随机动物图片

    插件发布
    16
    41
    4709
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • N
      nanachi-sh @WhitrayHB 最后由 编辑

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

      1 条回复 最后回复 回复 引用 0
      • K
        Kawaii33chan @JustinHuangber 最后由 编辑

        @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 条回复 最后回复 回复 引用 0
        • WhitrayHB
          WhitrayHB @Kawaii33chan 最后由 编辑

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

          K 1 条回复 最后回复 回复 引用 0
          • K
            Kawaii33chan @WhitrayHB 最后由 编辑

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

            WhitrayHB 1 条回复 最后回复 回复 引用 0
            • WhitrayHB
              WhitrayHB @Kawaii33chan 最后由 编辑

              @Kawaii33chan 已经传了

              K 1 条回复 最后回复 回复 引用 0
              • K
                Kawaii33chan @WhitrayHB 最后由 编辑

                @WhitrayHB
                好嘞谢了!

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

                  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 条回复 最后回复 回复 引用 0
                  • 博
                    博丽灵梦 @Kawaii33chan 最后由 编辑

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

                    K 1 条回复 最后回复 回复 引用 0
                    • K
                      Kawaii33chan @博丽灵梦 最后由 编辑

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

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

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

                        WhitrayHB 3 条回复 最后回复 回复 引用 0
                        • WhitrayHB
                          WhitrayHB @KinYOuO 最后由 编辑

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            你是一个一个一个插件

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