@博丽灵梦
谢谢谢谢,成功了!
Kawaii33chan 发布的帖子
-
RE: RandomAnimals 随机动物图片
[0m2022-09-11 01:16:28 V/Bot.2871337580: Group(817031892) <- 稍等……猫猫正在跑步前进![0m[m
[92m2022-09-11 01:16:28 I/随机动物图插件: 将要下载的图片地址是https://static.jks.life/cat/images/7gn.jpg[0m[m
[31m2022-09-11 01:16:29 E/随机动物图插件: 图片下载失败![0m[m
[31m2022-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)
[0m[m
[31m2022-09-11 01:16:29 E/随机动物图插件: 图片路径为空,在图片获取过程中出现问题![0m[m
[0m2022-09-11 01:16:29 V/Bot.2871337580: Group(817031892) <- 猫猫迷路了……或许可以再试一次?[0m[m呃,他还是以上的报错,是我本地的问题吗?链接也可以直接打开、
-
RE: RandomAnimals 随机动物图片
@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 草,传错构建的版本了,马上修
内个...新版本传了吗,我也是这个问题。