WeChat-AIChatbot-WinOnly icon indicating copy to clipboard operation
WeChat-AIChatbot-WinOnly copied to clipboard

请问下这是什么报错

Open Bromaomao opened this issue 2 years ago • 4 comments

前置确认

  • [X] 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

⚠️ 搜索issues中是否已存在类似问题

  • [X] 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

Windows

运行的python版本是?

python 3.9

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

No response

问题描述 😯

[ntchat_message.py:140] - 在 WechatMessage 的初始化过程中出现错误:Unsupported message type: Type:11058 MsgType:11058

  • WeChatInstance - ERROR - callback error, in function all_msg_handler, error: 'MsgId' -在群里第一次@不会生效,要重启一次程序重新@才会回复消息

终端日志 📒

<此处粘贴终端日志>

Bromaomao avatar Aug 18 '23 13:08 Bromaomao

这个是接收到了系统通知的消息类型,类似于拍一拍等系统通知,这个是检测不到合适的处理事件正常抛出,不应该会出现要重启的情况,有再次出现给一下日志上下文才能分析

cheungchazz avatar Aug 18 '23 15:08 cheungchazz

11058 收到消息: {'data': {'from_wxid': 'xxxx', 'is_pc': 0, 'msgid': '5329399293138704375', 'raw_msg': 'xxxx刚刚把你添加到通讯录,现在可以开始聊天了。', 'room_wxid': '', 'timestamp': 1692510708, 'to_wxid': 'xxxxx', 'wx_type': 10000}, 'type': 11058}

thinker007 avatar Aug 20 '23 06:08 thinker007

同问题,加好友似乎没有处理对。目前不能自动同意加好友。

thinker007 avatar Aug 20 '23 06:08 thinker007

thinker007 @.***>于2023年8月20日 周日14:37写道:

同问题,加好友似乎没有处理对。目前不能自动同意加好友。

— Reply to this email directly, view it on GitHub https://github.com/chazzjimel/WeChat-AIChatbot-WinOnly/issues/1#issuecomment-1685201239, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6EVDHX76LEAGSCU5PZJTQTXWGWBZANCNFSM6AAAAAA3VP7R74 . You are receiving this because you commented.Message ID: @.***>

raw_msg一看就不对,你是开了免验证吧

cheungchazz avatar Aug 20 '23 06:08 cheungchazz