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

每天定时发送信息时发现超时问题 #186

Open
CIDE-0409 opened this issue Mar 10, 2024 · 1 comment
Open

每天定时发送信息时发现超时问题 #186

CIDE-0409 opened this issue Mar 10, 2024 · 1 comment

Comments

@CIDE-0409
Copy link

作者你好,我现在写了一个脚本,是定时每天9点发送一段文字给微信,然后发现报这个错误
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\github-cve-monitor-master\github_cve_monitor.py", line 452, in wechat
wechatbot.SendMsg("".join(result), who)
File "C:\Users\Administrator\Desktop\github-cve-monitor-master\wxauto\wxauto\wxauto.py", line 244, in SendMsg
raise TimeoutError(f'发送消息超时 --> {editbox.Name} - {msg}')

然后我发现在手动运行发送信息的代码时,是能正常发送的,这是什么问题呢。

@CIDE-0409
Copy link
Author

是有可能发送的字符太长导致的吗?可是我直接运行脚本后,发现是能正常发送的。

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