Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在 GroupImpl 时遇到了意料之中的问题. 请完整复制此日志提交给 mirai #2837

Open
myunco opened this issue Feb 11, 2024 · 0 comments

Comments

@myunco
Copy link

myunco commented Feb 11, 2024

问题描述

使用MCL,登录bot后出现报错。bot不是群主或管理员,2020年加入该群,群人数1633,目前并未退出。

复现

未尝试复现。bot以前也登录过,没有出现该错误,今天服务器意外重启后再次登录,出现此错误。

mirai-core 版本

2.15.0

bot-protocol

MACOS

其他组件版本

status:
Running MiraiConsole v2.15.0, built on 2023-07-11 04:57:17.
Frontend Terminal: version 2.15.0, provided by Mamoe Technologies

Permission Service: Built In Permission Service

Plugins: mirai-login-solver-sakura v0.0.9, MCL Addon v2.1.1

Object Pending Finalization Count: 0
committed | init | used | max
Heap Memory: 499.43MB | 8.0MB | 387.56MB | 1023.81MB
Non-Heap Memory: 916.94MB | 848.33MB | 117.6MB | -1

系统日志

2024-02-11 20:38:20 I/main: Starting mirai-console...
2024-02-11 20:38:20 I/main: 

===================================[ Mirai console 2.15.0 ]===================================
 __       __ __                   __  ______                                      __
|  \     /  \  \                 |  \/      \                                    |  \
| ▓▓\   /  ▓▓\▓▓ ______   ______  \▓▓  ▓▓▓▓▓▓\ ______  _______   _______  ______ | ▓▓ ______
| ▓▓▓\ /  ▓▓▓  \/      \ |      \|  \ ▓▓   \▓▓/      \|       \ /       \/      \| ▓▓/      \
| ▓▓▓▓\  ▓▓▓▓ ▓▓  ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓     |  ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\  ▓▓▓▓▓▓▓  ▓▓▓▓▓▓\ ▓▓  ▓▓▓▓▓▓\
| ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓   \▓▓/      ▓▓ ▓▓ ▓▓   __| ▓▓  | ▓▓ ▓▓  | ▓▓\▓▓    \| ▓▓  | ▓▓ ▓▓ ▓▓    ▓▓
| ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓     |  ▓▓▓▓▓▓▓ ▓▓ ▓▓__/  \ ▓▓__/ ▓▓ ▓▓  | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓
| ▓▓  \▓ | ▓▓ ▓▓ ▓▓      \▓▓    ▓▓ ▓▓\▓▓    ▓▓\▓▓    ▓▓ ▓▓  | ▓▓       ▓▓\▓▓    ▓▓ ▓▓\▓▓     \
 \▓▓      \▓▓\▓▓\▓▓       \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓   \▓▓\▓▓▓▓▓▓▓  \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓


2024-02-11 20:38:20 I/main: Backend: version 2.15.0, built on 2023-07-11 04:57:17.
2024-02-11 20:38:20 I/main: Frontend Terminal: version 2.15.0, provided by Mamoe Technologies
2024-02-11 20:38:20 I/main: Welcome to visit https://mirai.mamoe.net/
2024-02-11 20:38:23 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.9
2024-02-11 20:38:23 I/plugin: Successfully loaded plugin MCL Addon v2.1.1
2024-02-11 20:38:24 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop
2024-02-11 20:38:24 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8
2024-02-11 20:38:25 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用
2024-02-11 20:38:25 I/main: 2 plugin(s) enabled.
2024-02-11 20:38:25 I/main: mirai-console started successfully.
2024-02-11 20:38:50 I/Bot.*********: Loaded account secrets from local cache.
2024-02-11 20:38:50 I/Bot.*********: Saved account secrets to local cache for fast login.
2024-02-11 20:38:51 I/Bot.*********: Login successful.
2024-02-11 20:38:59 E/Group: ContextualBugReportException(message=在 GroupImpl 时遇到了意料之中的问题. 请完整复制此日志提交给 mirai: https://github.com/mamoe/mirai/issues/new/choose   并告知此时 Bot 是否为群管理员或群主, 和是否刚刚加入或离开这个群 调试信息: groupId: 730950315
groupUin: 730950315
membersCount: 0
botId: *********
owner: null, cause=null)
ContextualBugReportException(message=在 GroupImpl 时遇到了意料之中的问题. 请完整复制此日志提交给 mirai: https://github.com/mamoe/mirai/issues/new/choose   并告知此时 Bot 是否为群管理员或群主, 和是否刚刚加入或离开这个群 调试信息: groupId: 730950315
groupUin: 730950315
membersCount: 0
botId: *********
owner: null, cause=null)
	at net.mamoe.mirai.internal.message.ContextualBugReportExceptionKt.contextualBugReportException(contextualBugReportException.kt:26)
	at net.mamoe.mirai.internal.message.ContextualBugReportExceptionKt.contextualBugReportException$default(contextualBugReportException.kt:20)
	at net.mamoe.mirai.internal.contact.GroupImplKt.GroupImpl(GroupImpl.kt:107)
	at net.mamoe.mirai.internal.network.components.ContactUpdaterImpl.addGroupToBot(ContactUpdater.kt:252)
	at net.mamoe.mirai.internal.network.components.ContactUpdaterImpl.access$addGroupToBot(ContactUpdater.kt:73)
	at net.mamoe.mirai.internal.network.components.ContactUpdaterImpl$addGroupToBot$1.invokeSuspend(ContactUpdater.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:33)
	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:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

2024-02-11 20:39:09 V/Bot.*********: Event: BotOnlineEvent(bot=Bot(*********))
2024-02-11 20:39:09 I/Bot.*********: Bot login successful.

网络日志

No response

补充信息

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant