TG-EFB-QQ-Docker icon indicating copy to clipboard operation
TG-EFB-QQ-Docker copied to clipboard

使用最新版的go-cqhttp,可以发消息,不能收

Open lancer-wang opened this issue 1 year ago • 4 comments

2023-06-28 06:27:30,391 [ERROR]: asyncio (base_events.default_exception_handler; base_events.py:1753) Task exception was never retrieved future: <Task finished name='Task-813' coro=<GoCQHttp.init..handle_msg.._handle_msg() done, defined at /usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py:191> exception=TypeError('string indices must be integers')> Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 232, in _handle_msg main_text, messages, at_dict = await message_elements_wrapper(context, msg_elements, chat) File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 177, in message_elements_wrapper sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat) File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 117, in message_element_wrapper msg_type = msg_element["type"] TypeError: string indices must be integers

lancer-wang avatar Jun 28 '23 06:06 lancer-wang

更了 EFB-Docker,重拉一下镜像试试

sakarie9 avatar Jun 28 '23 14:06 sakarie9

更了 EFB-Docker,重拉一下镜像试试

2023-06-29 01:12:29,799 [ERROR]: asyncio (base_events.default_exception_handler; base_events.py:1753) Task exception was never retrieved future: <Task finished name='Task-79' coro=<GoCQHttp.init..handle_msg.._handle_msg() done, defined at /usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py:245> exception=TypeError('string indices must be integers')> Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 314, in _handle_msg main_text, messages, at_dict = await message_elements_wrapper(context, msg_elements, chat) File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 223, in message_elements_wrapper sub_main_text, sub_messages, sub_at_list = await message_element_wrapper(context, msg_element, chat) File "/usr/local/lib/python3.9/site-packages/efb_qq_plugin_go_cqhttp/GoCQHttp.py", line 158, in message_element_wrapper msg_type = msg_element["type"] TypeError: string indices must be integers

还是这个报错,能发送,tg那边收不到

lancer-wang avatar Jun 29 '23 01:06 lancer-wang

我用的go-cqhttp的最新版 https://github.com/Mrs4s/go-cqhttp/releases/tag/v1.1.0

lancer-wang avatar Jun 29 '23 01:06 lancer-wang

一样,好像很久都不能收到信息了,gocq 那边logs 有看到群消息,但是 tgbot那边没有任何信息

yanshibin avatar Jul 01 '23 06:07 yanshibin