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

[Bug]: wechat4u 发送消息error情况 #401

Open
SOl0QQ opened this issue May 17, 2023 · 1 comment
Open

[Bug]: wechat4u 发送消息error情况 #401

SOl0QQ opened this issue May 17, 2023 · 1 comment

Comments

@SOl0QQ
Copy link

SOl0QQ commented May 17, 2023

Environment

wechaty                0.10.7
wechaty-grpc           0.20.19
wechaty-plugin-contrib 0.0.25
wechaty-puppet         0.4.23
wechaty-puppet-service 0.8.10
WECHATY_PUPPET="wechaty-puppet-wechat4u"
WECHATY_TOKEN="python-wechaty-{uuid}"  the uuid is generated by  "uuid.uuid4()"

the version of wechaty docker container: [0.65]

Description

使用wechaty4u协议,发送大于1条消息时,会捕获到error的事件记录
2023-05-17 16:55:20,214 - Wechaty - INFO - receive message <Message#message_type_text[🗣 Contact <@XXX> <XXX>	ding>
2023-05-17 16:55:20,214 - Message - INFO - say() <dong>
2023-05-17 16:55:20,681 - Wechaty - ERROR - internal error <>

问题1:error的事件记录是微信服务端发出的吗?是因为发送频率导致的吗?
问题2:事件捕获的处理代码是在什么位置,请麻烦指教
问题3:padlocal协议为什么发送大于1条消息时,没有得到以上这个错误

Minimum reproducible code

async def on_message(self, msg: Message) -> None:
    print(msg.text())
    if msg.text() == "ding":
        await msg.say("dong")
        await msg.say("I'm alive ...")
@SOl0QQ
Copy link
Author

SOl0QQ commented May 17, 2023

期待回复

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