You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
关键字:KeyError: 'Data'
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 141, in init
raise NotImplementedError("Unsupported message type: Type:{}".format(msg_type))
NotImplementedError: Unsupported message type: Type:51
终端日志 📒
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client) File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 141, in init
raise NotImplementedError("Unsupported message type: Type:{}".format(msg_type))
NotImplementedError: Unsupported message type: Type:51
129.211.81.74:60378 - - [24/Jan/2025 16:10:34] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 80, in init
self.msg_id = msg['Data']['NewMsgId'] KeyError: 'Data'
129.211.81.74:60378 - - [24/Jan/2025 16:10:35] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
[INFO][2025-01-24 16:10:35][gewechat_channel.py:90] - [gewechat] callback set successfully
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 80, in init
self.msg_id = msg['Data']['NewMsgId']
KeyError: 'Data'
129.211.81.74:60378 - - [24/Jan/2025 16:10:45] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
The text was updated successfully, but these errors were encountered:
前置确认
操作系统类型?
Linux
运行的python版本是?
python 3.10
使用的dify-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
运行应用后 使用手机扫码登录微信,弹出报错
问题描述 😯
关键字:KeyError: 'Data'
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 141, in init
raise NotImplementedError("Unsupported message type: Type:{}".format(msg_type))
NotImplementedError: Unsupported message type: Type:51
终端日志 📒
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 141, in init
raise NotImplementedError("Unsupported message type: Type:{}".format(msg_type))
NotImplementedError: Unsupported message type: Type:51
129.211.81.74:60378 - - [24/Jan/2025 16:10:34] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 80, in init
self.msg_id = msg['Data']['NewMsgId']
KeyError: 'Data'
129.211.81.74:60378 - - [24/Jan/2025 16:10:35] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
[INFO][2025-01-24 16:10:35][gewechat_channel.py:90] - [gewechat] callback set successfully
Traceback (most recent call last):
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 280, in process
return self.handle()
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 271, in handle
return self._delegate(fn, self.fvars, args)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 517, in _delegate
return handle_class(cls)
File "/root/anaconda3/envs/weGPT/lib/python3.10/site-packages/web/application.py", line 495, in handle_class
return tocall(*args)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_channel.py", line 151, in POST
gewechat_msg = GeWeChatMessage(data, channel.client)
File "/root/weGPT/dify-on-wechat/channel/gewechat/gewechat_message.py", line 80, in init
self.msg_id = msg['Data']['NewMsgId']
KeyError: 'Data'
129.211.81.74:60378 - - [24/Jan/2025 16:10:45] "HTTP/1.1 POST /v2/api/callback/collect" - 500 Internal Server Error
The text was updated successfully, but these errors were encountered: