@cssxsh 谢谢,已解决
Asuna521 发布的最新帖子
-
mcl启动报错
15:50:41 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 15:50:41 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.5 (arch: 64) 15:50:41 [INFO] https://github.com/iTXTech/mirai-console-loader 15:50:41 [INFO] This program is licensed under GNU AGPL v3 15:50:43 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏 如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) `- 如 Unsupported image type for ExternalResource * ` considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose 常用资源整合 `- https://mirai.mamoe.net/topic/653 MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。 15:50:43 [INFO] Verifying "net.mamoe:mirai-console" v2.13.0 15:50:43 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.0 15:50:44 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.0 15:50:45 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 15:50:45 [INFO] Verifying "net.mamoe:chat-command" v0.5.1 15:50:45 [INFO] Verifying "net.mamoe:mirai-api-http" v2.6.2 15:50:45 [ERROR] "net.mamoe:mirai-api-http" is corrupted. 15:50:45 [INFO] Updating "net.mamoe:mirai-api-http" to v2.6.2 Downloading mirai-api-http-2.6.2.mirai2.jar [==============================] 1.76 MB Downloading mirai-api-http-2.6.2.mirai2.jar.sha1 [==============================] 40 B 15:50:47 [WARN] Package "net.mamoe:chat-command" requires "net.mamoe:mirai-console" version 2.0-RC. Current version is 2.13.0 2022-11-15 15:50:49 I/main: Starting mirai-console... 2022-11-15 15:50:49 I/main: ==================================[ Mirai consosle 2.13.0 ]=================================== __ __ __ __ ______ __ | \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ \/ \ | \| \ ▓▓ \▓▓/ \| \ / \/ \| ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ __| ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ \| ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓__/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓ 2022-11-15 15:50:49 I/main: Backend: version 2.13.0, built on 2022-11-01 10:47:11. 2022-11-15 15:50:49 I/main: Frontend Terminal: version 2.13.0, provided by Mamoe Technologies 2022-11-15 15:50:49 I/main: Welcome to visit https://mirai.mamoe.net/ 2022-11-15 15:50:50 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2022-11-15 15:50:50 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-11-15 15:50:50 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2022-11-15 15:50:54 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2022-11-15 15:50:54 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2022-11-15 15:50:54 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2022-11-15 15:50:54 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2022-11-15 15:50:54 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2022-11-15 15:50:54 W/net.mamoe.mirai-api-http: USING INITIAL KEY, please edit the key 2022-11-15 15:50:54 I/Mirai HTTP API: ******************************************************** 2022-11-15 15:50:54 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2022-11-15 15:50:54 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-11-15 15:50:54 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2022-11-15 15:50:55 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2022-11-15 15:50:55 I/Mirai HTTP API: Http api server is running with verifyKey: INITKEYZPUe7BYN 2022-11-15 15:50:55 I/Mirai HTTP API: adaptors: [http] 2022-11-15 15:50:55 I/Mirai HTTP API: ******************************************************** at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84) Caused by: net.mamoe.mirai.console.permission.PermissionRegistryConflictException: Conflicting Permission registry. new: PermissionImpl(id=net.mamoe.mirai.console.chat-command:*, description='The base permission', parent=PermissionImpl(id=*:*, description='The root permission', parent=<self>)), existing: PermissionImpl(id=net.mamoe.mirai.console.chat-command:*, description='The base permission', parent=PermissionImpl(id=*:*, description='The root permission', parent=<self>)) at net.mamoe.mirai.console.internal.permission.AbstractConcurrentPermissionService.register(AbstractConcurrentPermissionService.kt:29) at net.mamoe.mirai.console.permission.PermissionService.register$default(PermissionService.kt:101) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal$parentPermission$2.invoke(JvmPluginInternal.kt:52) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal$parentPermission$2.invoke(JvmPluginInternal.kt:51) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.getParentPermission(JvmPluginInternal.kt:51) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:126) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:305) ... 23 more
求大佬指点
-
RE: 【涩图插件喜加一】mirai-console-lolicon
莫名其妙的出了这个问题,是网络的原因吗?
config的proxy: 'https://i.pixiv.re'2022-03-12 14:34:28 E/Lolicon: io.ktor.network.sockets.SocketTimeoutException: Socket timeout has expired [url=https://i.pixiv.re/img-master/img/2016/09/21/16/56/20/59095452_p0_master1200.jpg, socket_timeout=unknown] ms
io.ktor.network.sockets.SocketTimeoutException: Socket timeout has expired [url=https://i.pixiv.re/img-master/img/2016/09/21/16/56/20/59095452_p0_master1200.jpg, socket_timeout=unknown] ms
at io.ktor.client.features.HttpTimeoutKt.SocketTimeoutException(HttpTimeout.kt:207)
at io.ktor.client.engine.okhttp.OkHttpEngineKt.mapExceptions(OkHttpEngine.kt:175)
at io.ktor.client.engine.okhttp.OkHttpEngineKt.access$mapExceptions(OkHttpEngine.kt:1)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1$1$1.invoke(OkHttpEngine.kt:167)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1$1$1.invoke(OkHttpEngine.kt:163)
at io.ktor.utils.io.ByteBufferChannel.writeAvailable(ByteBufferChannel.kt:1493)
at io.ktor.utils.io.ByteBufferChannel.write$suspendImpl(ByteBufferChannel.kt:1523)
at io.ktor.utils.io.ByteBufferChannel.write(ByteBufferChannel.kt)
at io.ktor.utils.io.ByteWriteChannel$DefaultImpls.write$default(ByteWriteChannel.kt:99)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1.invokeSuspend(OkHttpEngine.kt:163)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1.invoke(OkHttpEngine.kt)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1.invoke(OkHttpEngine.kt)
at io.ktor.utils.io.CoroutinesKt$launchChannel$job$1.invokeSuspend(Coroutines.kt:132)
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: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)
Caused by: java.net.SocketTimeoutException: timeout
at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:677)
at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:686)
at okhttp3.internal.http2.Http2Stream$FramingSource.read(Http2Stream.kt:382)
at okhttp3.internal.connection.Exchange$ResponseBodySource.read(Exchange.kt:276)
at okio.RealBufferedSource.read(RealBufferedSource.kt:82)
at io.ktor.client.engine.okhttp.OkHttpEngineKt$toChannel$1$1$1.invoke(OkHttpEngine.kt:165)
... 15 more2022-03-12 14:34:29 V/Bot.3286744685: Friend(1705781334) <- 网络连接失败/超时或图片已被删除,之后再试试吧
-
RE: DrawMeme - 基于Skiko的奇怪的图片生成器
图片合成报错,字体也放到相应的文件夹了
java.lang.NoClassDefFoundError: org/laolittle/plugin/Fonts
at DrawMeme-1.0.3.jar//org.laolittle.plugin.draw.DrawMeme$onEnable$2$2.invokeSuspend(DrawMeme.kt:159)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147) at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
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)
Caused by: java.lang.ClassNotFoundException: org.laolittle.plugin.Fonts
at java.base/java.net.URLClassLoader.findClass(Unknown Source)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.resolvePluginPublicClass$mirai_console(JvmPluginClassLoader.kt:209)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.loadClass(JvmPluginClassLoader.kt:249)
... 27 more