未解决 在登录mirai时报错不能正确弹出滑动验证窗口
-
请问各位大佬这是怎么回事[92m2022-10-26 12:07:07 I/main: Starting mirai-console...[0m[m
[92m2022-10-26 12:07:07 I/main: Backend: version 2.12.3, built on 2022-09-11 21:02:46.[0m[m
[92m2022-10-26 12:07:07 I/main: Frontend Terminal: version 2.12.3, provided by Mamoe Technologies[0m[m
[92m2022-10-26 12:07:07 I/main: Welcome to visit https://mirai.mamoe.net/[0m[m
[91m2022-10-26 12:07:08 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[0m[m
[91m2022-10-26 12:07:08 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation
[0m[m
[91m2022-10-26 12:07:08 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[0m[m
[92m2022-10-26 12:07:09 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2[0m[m
[92m2022-10-26 12:07:09 I/plugin: Successfully loaded plugin MCL Addon v2.0.2[0m[m
[92m2022-10-26 12:07:10 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop[0m[m
[31m2022-10-26 12:07:10 E/net.mamoe.mirai-api-http: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: Yaml Block Class: bad indentation, baseIndent=0, newIndent=4
debug: false
^ at line 4, column 11net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: Yaml Block Class: bad indentation, baseIndent=0, newIndent=4
debug: false
^ at line 4, column 11at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$IndentedDecoder.checkIndent$yamlkt(YamlDecoder.kt:1114) at net.mamoe.yamlkt.internal.YamlDecoder$BlockClassDecoder.decodeElementIndex(YamlDecoder.kt:288) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:75) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:47) at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162) at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:44) at net.mamoe.mirai.console.plugin.jvm.AbstractJvmPlugin.reloadPluginConfig(AbstractJvmPlugin.kt:59) at mirai-api-http-2.6.2.jar//net.mamoe.mirai.api.http.HttpApiPluginBase.onEnable(HttpApiPluginBase.kt:34) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278) 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:178) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235) 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(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) 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
[92m2022-10-26 12:07:10 I/MCL Addon: iTXTech MCL Version: 2.1.0-71ec418[0m[m
[91m2022-10-26 12:07:10 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用[0m[m
[92m2022-10-26 12:07:10 I/main: 1 plugin(s) enabled.[0m[m
[92m2022-10-26 12:07:10 I/main: mirai-console started successfully.[0m[m -
有个东西叫 logs 文件夹
-
@cssxsh 什么东西
-
在mirai-console的安装目录下有一个logs文件夹,里面有一个latest.log文件记录了最后一次启动mirai-console的控制台完整输出,可以使用这个文件提供完整的报错信息。
-
@diyigemt 哦哦谢谢
-
2022-10-26 12:07:07 I/main: Starting mirai-console... 2022-10-26 12:07:07 I/main: Backend: version 2.12.3, built on 2022-09-11 21:02:46. 2022-10-26 12:07:07 I/main: Frontend Terminal: version 2.12.3, provided by Mamoe Technologies 2022-10-26 12:07:07 I/main: Welcome to visit https://mirai.mamoe.net/ 2022-10-26 12:07:08 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2022-10-26 12:07:08 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-10-26 12:07:08 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2022-10-26 12:07:09 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2022-10-26 12:07:09 I/plugin: Successfully loaded plugin MCL Addon v2.0.2 2022-10-26 12:07:10 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2022-10-26 12:07:10 E/net.mamoe.mirai-api-http: net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: Yaml Block Class: bad indentation, baseIndent=0, newIndent=4 debug: false ^ at line 4, column 11 net.mamoe.yamlkt.YamlDecodingException: Top-level decoder: Yaml Block Class: bad indentation, baseIndent=0, newIndent=4 debug: false ^ at line 4, column 11 at net.mamoe.yamlkt.internal.YamlUtils__ContextualExceptionKt.contextualDecodingException(ContextualException.kt:154) at net.mamoe.yamlkt.internal.YamlUtils.contextualDecodingException(Unknown Source) at net.mamoe.yamlkt.internal.YamlDecoder$IndentedDecoder.checkIndent$yamlkt(YamlDecoder.kt:1114) at net.mamoe.yamlkt.internal.YamlDecoder$BlockClassDecoder.decodeElementIndex(YamlDecoder.kt:288) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:75) at net.mamoe.mirai.console.internal.data.PluginDataImpl$updaterSerializer$1.deserialize(PluginDataImpl.kt:47) at net.mamoe.yamlkt.Yaml.decodeFromString(Yaml.kt:162) at net.mamoe.mirai.console.internal.data.MultiFilePluginDataStorageImpl.load(MultiFilePluginDataStorageImpl.kt:44) at net.mamoe.mirai.console.plugin.jvm.AbstractJvmPlugin.reloadPluginConfig(AbstractJvmPlugin.kt:59) at mirai-api-http-2.6.2.jar//net.mamoe.mirai.api.http.HttpApiPluginBase.onEnable(HttpApiPluginBase.kt:34) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:278) 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:178) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:235) 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(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.base/java.lang.reflect.Method.invoke(Unknown Source) 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) 2022-10-26 12:07:10 I/MCL Addon: iTXTech MCL Version: 2.1.0-71ec418 2022-10-26 12:07:10 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2022-10-26 12:07:10 I/main: 1 plugin(s) enabled. 2022-10-26 12:07:10 I/main: mirai-console started successfully.
-
mirai-api-http-2.6.2.jar 的配置文件有问题
-
@cssxsh 可以具体说说嘛
-
@cssxsh mirai-api-http-2.6.2.jar 的配置文件有问题怎么解决啊
-
-
yaml格式对缩进有很严格的检查,https://www.bejson.com/validators/yaml_editor/ 这个可以在线检查缩进有没有问题
-