cheungchazz / WeChat-AIChatbot-WinOnly

基于chatgpt-on-wechat框架,只能运行在Win平台的项目,通过本项目可以将微信或者企业微信个人号接入ChatGpt、文心一言、FastGpt、LinkAI,可以文字对话、语音对话、图片交互、文件交互等。
Apache License 2.0
296 stars 71 forks source link

请问下这是什么报错 #1

Open Bromaomao opened 10 months ago

Bromaomao commented 10 months ago

前置确认

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

操作系统类型?

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

终端日志 📒

<此处粘贴终端日志>
cheungchazz commented 10 months ago

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

thinker007 commented 10 months ago

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 commented 10 months ago

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

cheungchazz commented 10 months ago

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一看就不对,你是开了免验证吧