Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签
-
@nekoer 大佬,我访问不了https://www.saucenao.com/(挂代理可以访问)但是可以访问https://www.saucenao.cn/,能修改为https://www.saucenao.cn/吗
-
@_casual 在 Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签 中说:
那你下载源代码修改后编译吧,这个网址只是重定向到
saucenao.com
,你原来访问不了之后还是访问不了;
如果你服务器能挂代理的话,就配置下插件里的proxy就行了 -
启动崩溃了
2021-11-18 01:19:56 E/main: Failed to init MiraiConsole.
net.mamoe.mirai.console.plugin.loader.PluginLoadException: Exception while loading pixiv插画 v1.0-SNAPSHOT
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:112)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.load(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadPluginNoEnable(PluginManagerImpl.kt:85)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:141)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:157)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:151)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:176)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:145)
at org.itxtech.mcl.Loader.start(Loader.java:176)
at org.itxtech.mcl.Loader.main(Loader.java:68)
Caused by: com.alibaba.fastjson.JSONException: syntax error, pos 86, line 7, column 17{
"admins": [
已正确填入
],
"config": {
"token": {
"acgmx":已正确填入,
"saucenao": 已正确填入,
"trace": null
},
"proxy": {
"host": null,
"port": null
},
"recall": 5000
},
"command": {
"getDetailOfId": "psid-",
"picToSearch": "ptst-",
"showRank":"rank-",
"findUserWorksById": "user-",
"searchInfoByPic": "ptsf-",
"setu": "setu",
"tag":"tag-"
},
"groups": [
已正确填入
]
}
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1507)
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1393)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:619)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:584)
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:584)
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1427)
at com.alibaba.fastjson.parser.DefaultJSONParser.parse(DefaultJSONParser.java:1393)
at com.alibaba.fastjson.JSON.parse(JSON.java:181)
at com.alibaba.fastjson.JSON.parse(JSON.java:191)
at com.alibaba.fastjson.JSON.parse(JSON.java:147)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:252)
at com.hcyacg.initial.Configuration$Companion.init(Configuration.kt:59)
at com.hcyacg.Pixiv.onLoad(Pixiv.kt:70)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnLoad$mirai_console(JvmPluginInternal.kt:196)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.load(BuiltInJvmPluginLoaderImpl.kt:110)
... 39 more -
@okatu-loli 这bug你绝对填错了
-
@nekoer 我是把配置文件下载下来填好后上传上去的,不知道哪填错了。。
能帮我填一下吗?我把我的API密匙给你 -
@okatu-loli 直接私聊我发截图
我看看你哪里错了
acgmx和saucenao有没有加上双引号 -
@nekoer 啊,这
就是没加双引号
正常启动了
不过出现了新的问题
2021-11-18 02:13:24 E/main: Exception in coroutine <unnamed>
java.lang.NullPointerException
at com.hcyacg.rank.Rank.showRank(Rank.kt:112)
at com.hcyacg.Pixiv$onEnable$1.invokeSuspend(Pixiv.kt:44)
at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
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.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665) -
@okatu-loli 你的命令
-
@nekoer rank-day-1
-
貌似是网络的问题
2021-11-18 02:25:38 W/stderr: java.net.SocketTimeoutException: Read timed out
2021-11-18 02:25:38 W/stderr: at java.base/java.net.SocketInputStream.socketRead0(Native Method)
2021-11-18 02:25:38 W/stderr: at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
2021-11-18 02:25:38 W/stderr: at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
2021-11-18 02:25:38 W/stderr: at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:111)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1426)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1336)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
2021-11-18 02:25:38 W/stderr: at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:367)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:325)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:197)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:249)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:108)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:76)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:245)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
2021-11-18 02:25:38 W/stderr: at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.utils.RequestUtil$Companion.httpObject(RequestUtil.kt:88)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.utils.RequestUtil$Companion.requestObject(RequestUtil.kt:35)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.rank.TotalProcessing.dealWith(TotalProcessing.kt:24)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.rank.Rank.showRank(Rank.kt:76)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invokeSuspend(Pixiv.kt:44)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-18 02:25:38 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
2021-11-18 02:25:38 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
2021-11-18 02:25:38 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-11-18 02:25:38 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-11-18 02:25:38 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-11-18 02:25:39 V/Bot.2420452107: Group(698392680) <- 当前排行榜暂无数据 -
-
@nekoer 好的
-
@okatu-loli 现在应该恢复了
-
@nekoer 嗯,不报错了,也正常显示了
-
@Nekoer 大佬....我在使用您的插件一段时间后,遇到了一些小问题,想来找您询问一下是什么情况,我尝试过自行解决但是我做不到
-
具体情况是使用搜图功能时会发生报错
2021-11-19 01:50:41 W/stderr: javax.imageio.IIOException: Can't get input stream from URL!
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:64)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invokeSuspend(Pixiv.kt:40)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-11-19 01:50:41 W/stderr: Caused by: java.io.FileNotFoundException: https://gchat.qpic.cn/gchatpic_new/0/0-0-24861FB0F28BD67378D809DD8F8104E4/0?
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1920)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
2021-11-19 01:50:41 W/stderr: at java.base/java.net.URL.openStream(URL.java:1165)
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1405)
2021-11-19 01:50:41 W/stderr: ... 26 more -
@lookstars 在 Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签 中说:
具体情况是使用搜图功能时会发生报错
2021-11-19 01:50:41 W/stderr: javax.imageio.IIOException: Can't get input stream from URL!
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1407)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.search.Saucenao.picToSearch(Saucenao.kt:64)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invokeSuspend(Pixiv.kt:40)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at com.hcyacg.Pixiv$onEnable$1.invoke(Pixiv.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invokeSuspend(EventChannel.kt:432)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.event.EventChannel$subscribeAlways$1.invoke(EventChannel.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invokeSuspend(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler$onEvent$2.invoke(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.Handler.onEvent(InternalEventListeners.kt:50)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.process(InternalEventListeners.kt:166)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt.callAndRemoveIfRequired(InternalEventListeners.kt:115)
2021-11-19 01:50:41 W/stderr: at net.mamoe.mirai.internal.event.InternalEventListenersKt$callAndRemoveIfRequired$1.invokeSuspend(InternalEventListeners.kt)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.UndispatchedCoroutine.afterResume(CoroutineContext.kt:142)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
2021-11-19 01:50:41 W/stderr: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2021-11-19 01:50:41 W/stderr: at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-11-19 01:50:41 W/stderr: Caused by: java.io.FileNotFoundException: https://gchat.qpic.cn/gchatpic_new/0/0-0-24861FB0F28BD67378D809DD8F8104E4/0?
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1920)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
2021-11-19 01:50:41 W/stderr: at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
2021-11-19 01:50:41 W/stderr: at java.base/java.net.URL.openStream(URL.java:1165)
2021-11-19 01:50:41 W/stderr: at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1405)
2021-11-19 01:50:41 W/stderr: ... 26 more在此之前都是正常使用的,最近出现的报错,不知道是不是我哪里有点问题...
-
@lookstars 在 Pixiv插件 查看排行榜 以图搜图 以图搜番 查看原图 查看作者作品 搜标签 中说:
https://gchat.qpic.cn/gchatpic_new/0/0-0-24861FB0F28BD67378D809DD8F8104E4/0?
这个是无法从腾讯服务器提供的网址获取图片,不是插件问题
-
setu命令可以设置不撤回嘛 时间设置太长会不生效
-
@nanodesu09 撤回时间最长为2分钟,不撤回就设置null