MCL 无法使用的相关解决方法 - 2022/3/25
-
由于 gitee 停止 raw 的直接访问, 我们已经将 mirai-console-loader 的数据文件从 gitee 搬出
要继续使用使用 mirai-console-loader, 您需要进行以下的配置
1. 打开
$MCL/config.json
2. 找到"mirai_repo": "....."
将其地址修改为以下地址中的一个 (注意不要删除双引号
""
(英文半角)) -
-
-
@xiaoyv404 来了
-
@xiaoyv404 方便给个联系方式吗,有些地方不太懂
-
@2655257336 用私信就好
-
好小子,前两天看到gitee封外链就觉得不对,国内平台气量还是太小
-
-
-
已经完成mcl-installer的修改,目前我的分支可用
https://github.com/avawuw/mcl-installer -
-
-
-
其实可以用gitee page的(
https://gitee.com/shenmo7192/live2d-widget-left-and-right
我这里就是用gitee page做的外链 -
-
http://shenmo7192.gitee.io/mirai-repo-mirror/
用gitee page即可访问raw效果不错
-
如果要做一个非官方的镜像,似乎coding会更好
支持raw和自动每日同步,gitee page需要自己点
做好了
每天凌晨1点开始同步github仓库https://spark-store-project.coding.net/p/mirai-mirror/d/mirai-repo-mirror/git/raw/master
用这个即可 -
-
-
@Karlatemp 在 MCL 无法使用的相关解决方法 - 2022/3/25 中说:
[92m2022-06-10 22:39:08 I/main: Starting mirai-console...[0m[m
[92m2022-06-10 22:39:10 I/main: Backend: version 2.11.0-M1, built on 2022-03-08 20:34:54.[0m[m
[92m2022-06-10 22:39:10 I/main: Frontend Terminal: version 2.11.0-M1, provided by Mamoe Technologies[0m[m
[92m2022-06-10 22:39:10 I/main: Welcome to visit https://mirai.mamoe.net/[0m[m
[91m2022-06-10 22:39:11 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[0m[m
[91m2022-06-10 22:39:11 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
[0m[m
[91m2022-06-10 22:39:11 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin bilibili-helper v1.5.1[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin MCL Addon v2.0.1[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin MCL Addon v2.0.2[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin Minecraft MOTD Fetcher v1.1.5[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin mirai-administrator v1.2.0-RC[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin Molly v1.2.0[0m[m
[92m2022-06-10 22:39:11 I/plugin: Successfully loaded plugin Setu v3.6.3[0m[m
[92m2022-06-10 22:39:12 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop[0m[m
[92m2022-06-10 22:39:13 I/bilibili-helper: 如果要B站动态的截图内容,请修改 DynamicInfo.template, 添加 #screenshot[0m[m
[92m2022-06-10 22:39:13 I/bilibili-helper: 如果要B站专栏的截图内容,请修改 Article.template, 添加 #screenshot[0m[m
[92m2022-06-10 22:39:14 I/MCL Addon: iTXTech MCL Version: 2.0.0-beta.2-c77173e[0m[m
[31m2022-06-10 22:39:15 E/main: Failed to init MiraiConsole.
net.mamoe.mirai.console.plugin.loader.PluginLoadException: Exception while loading MCL Addon
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:264)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:181)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:224)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:444)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:159)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:158)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:46)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at org.itxtech.mcl.Utility.bootJars(Utility.java:88)
at org.itxtech.mcl.Utility.bootJars(Utility.java:78)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:100)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:145)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:170)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:138)
at org.itxtech.mcl.Loader.start(Loader.java:170)
at org.itxtech.mcl.Loader.main(Loader.java:75)
Caused by: net.mamoe.mirai.console.permission.PermissionRegistryConflictException: Conflicting Permission registry. new: PermissionImpl(id=org.itxtech.mcl.addon:, description='The base permission', parent=PermissionImpl(id=:, description='The root permission', parent=<self>)), existing: PermissionImpl(id=org.itxtech.mcl.addon:, description='The base permission', parent=PermissionImpl(id=:, description='The root permission', parent=<self>))
at net.mamoe.mirai.console.internal.permission.AbstractConcurrentPermissionService.register(AbstractConcurrentPermissionService.kt:28)
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:49)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal$parentPermission$2.invoke(JvmPluginInternal.kt:48)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.getParentPermission(JvmPluginInternal.kt:48)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:258)
... 21 more
[0m[m
这个怎么办 -
@初然inside
检查 plugins 文件夹,有重复的插件在里面 -
@cssxsh 弄好有三个小时了哈哈哈
-
-
-
-
-
[92m2022-09-10 12:22:37 I/main: Starting mirai-console...[0m[m
[92m2022-09-10 12:22:42 I/main: Backend: version 2.12.1, built on 2022-07-31 17:49:27.[0m[m
[92m2022-09-10 12:22:42 I/main: Frontend Terminal: version 2.12.1, provided by Mamoe Technologies[0m[m
[92m2022-09-10 12:22:42 I/main: Welcome to visit https://mirai.mamoe.net/[0m[m
[91m2022-09-10 12:22:42 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[0m[m
[91m2022-09-10 12:22:42 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
[0m[m
[91m2022-09-10 12:22:42 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[0m[m
[31m2022-09-10 12:22:42 E/main: Failed to init MiraiConsole.
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1529)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1430)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1437)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1268)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1231)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:726)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:843)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:246)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:176)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:190)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.init0(JvmPluginClassLoader.kt:225)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.<init>(JvmPluginClassLoader.kt:221)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN.<init>(JvmPluginClassLoader.kt)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoaderN$Companion.newLoader(JvmPluginClassLoader.kt:325)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.extractPlugins(BuiltInJvmPluginLoaderImpl.kt:182)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.listPlugins(BuiltInJvmPluginLoaderImpl.kt:66)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.listPlugins(JvmPluginLoader.kt)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:192)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:138)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:148)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:178)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:464)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:168)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:167)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:52)
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.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:101)
at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:109)
at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:148)
at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:189)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:146)
at org.itxtech.mcl.Loader.start(Loader.java:189)
at org.itxtech.mcl.Loader.main(Loader.java:79)
[0m[m -
-
-
-