GithubHelp home page GithubHelp logo

zhayujie / chatgpt-on-wechat Goto Github PK

View Code? Open in Web Editor NEW
25.0K 197.0 6.8K 3.75 MB

基于大模型搭建的聊天机器人,同时支持 企业微信、微信 公众号、飞书、钉钉 等接入,可选择GPT3.5/GPT4.0/Claude/文心一言/讯飞星火/通义千问/Gemini/GLM-4/Claude/Kimi/LinkAI,能处理文本、语音和图片,访问操作系统和互联网,支持基于自有知识库进行定制企业智能客服。

Home Page: https://docs.link-ai.tech/cow

License: MIT License

Python 99.49% Shell 0.50% Dockerfile 0.01%
chatgpt wechat openai python3 feishu-bot linkai ai gpt-4 llm qwen

chatgpt-on-wechat's Introduction

chatgpt-on-wechat's People

Contributors

6vision avatar a5225662 avatar bachery avatar befantasy avatar cheungchazz avatar chiaki-chan avatar dividduang avatar erayyym avatar goldfishh avatar hanfangyuan4396 avatar huiwentt avatar iredscarf avatar js00000 avatar lanvent avatar lichengzhe avatar lihuaiyu0131 avatar limccn avatar mari1995 avatar poseidonli0514 avatar resphinas avatar saboteur7 avatar scut-chenzk avatar uezhenxiang2023 avatar wanggang1987 avatar wayshall avatar wqh0109663 avatar xyc0123456789 avatar zhayujie avatar zrzrzrzrzrzrzr avatar zwssunny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgpt-on-wechat's Issues

openai安装失败

[ERROR][2023-01-11 14:30:16][wechat_channel.py:115] - No module named 'openai'
Traceback (most recent call last):
File "/root/chatgpt/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 111, in _do_send
reply_text = super().build_reply_content(query, context).strip()
File "/root/chatgpt/chatgpt-on-wechat/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/chatgpt/chatgpt-on-wechat/bridge/bridge.py", line 9, in fetch_reply_content
return bot_factory.create_bot("openAI").reply(query, context)
File "/root/chatgpt/chatgpt-on-wechat/bot/bot_factory.py", line 24, in create_bot
from bot.openai.open_ai_bot import OpenAIBot
File "/root/chatgpt/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 6, in
import openai
ModuleNotFoundError: No module named 'openai'

(这是一个错误消息,表明程序正在运行的环境中找不到名为'openai'的模块。
可能是因为 openai python package没有正确安装或者安装的包版本不对导致。或者程序设计中没有正确引用了openai package.
它尝试从/root/chatgpt/chatgpt-on-wechat/bot/openai/open_ai_bot.py文件中引用了openai package 但是它没有找到。
建议检查 openai package 是否已经正确安装,并确保程序正确地引用了这个包.)

openai.error.RateLimitError 限流问题

[INFO][2023-02-06 15:49:21][open_ai_bot.py:20] - [OPEN_AI] query=@在吗
[ERROR][2023-02-06 15:49:21][wechat_channel.py:116] - can only concatenate str (not "NoneType") to str
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 112, in _do_send
reply_text = super().build_reply_content(query, context).strip()
File "/root/chatgpt-on-wechat/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/chatgpt-on-wechat/bridge/bridge.py", line 9, in fetch_reply_content
return bot_factory.create_bot("openAI").reply(query, context)
File "/root/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 26, in reply
new_query = Session.build_session_query(query, from_user_id)
File "/root/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 129, in build_session_query
prompt += "Q: " + conversation["question"] + "\n\n\nA: " + conversation["answer"] + "<|im_end|>\n"
TypeError: can only concatenate str (not "NoneType") to str

涉及到代码的部分会输出较少甚至会不输出

和使用原本官方的chatGPT有一些区别,比如“对于WNOHANG的用法,可以举一个例子说明吗”,官方网站上会给出一个可以运行的代码并且有提供解释;而这个机器人无法给出代码。比如“给出一个Dijkstra算法C++的例子”,等待了很长时间之后,这个机器人会没有输出。

无法登录

itchat.auto_login(enableCmdQR=2)
File "E:\Anaconda\lib\site-packages\itchat\components\register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "E:\Anaconda\lib\site-packages\itchat\components\login.py", line 53, in login
status = self.check_login()
File "E:\Anaconda\lib\site-packages\itchat\components\login.py", line 137, in check_login
if process_login_info(self, r.text):
File "E:\Anaconda\lib\site-packages\itchat\components\login.py", line 172, in process_login_info
for node in xml.dom.minidom.parseString(r.text).documentElement.childNodes:
File "E:\Anaconda\lib\xml\dom\minidom.py", line 1998, in parseString
return expatbuilder.parseString(string)
File "E:\Anaconda\lib\xml\dom\expatbuilder.py", line 925, in parseString
return builder.parseString(string)
File "E:\Anaconda\lib\xml\dom\expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: mismatched tag: line 64, column 4

报错,无法登录

启动失败

requests.exceptions.SSLError: HTTPSConnectionPool(host='login.weixin.qq.com', port=443): Max retries exceeded with url: / (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
试了好几个版本的python都报这个

登录成功后自动退出了

██████
██████████████████████████████████████████████████████████████████████████████
Login successfully as 溶进咖啡的糖🔝
Start auto replying.
Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

Traceback (most recent call last):
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\login.py", line 256, in maintain_loop
msgList = produce_msg(self, msgList)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\components\messages.py", line 257, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "C:\Users\prm\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

LOG OUT!

failed log

Python 3.9.13
Traceback (most recent call last):
File "D:\python39\lib\site-packages\itchat\components\login.py", line 255, in maintain_loop
msgList = produce_msg(self, msgList)
File "D:\python39\lib\site-packages\itchat\components\messages.py", line 62, in produce_msg
produce_group_chat(core, m)
File "D:\python39\lib\site-packages\itchat\components\messages.py", line 236, in produce_group_chat
utils.msg_formatter(msg, 'Content')
File "D:\python39\lib\site-packages\itchat\utils.py", line 69, in msg_formatter
d[k] = htmlParser.unescape(d[k])
AttributeError: 'HTMLParser' object has no attribute 'unescape'

不稳定,docker 挂几天就会出现异常

}
19:12:39 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:17:39 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:22:39 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:27:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:32:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:37:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:42:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:47:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:52:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
19:57:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:02:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:07:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:12:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:17:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:22:40 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:27:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:32:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:37:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:42:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:47:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
20:52:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
20:57:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:02:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:07:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:12:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:17:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:22:41 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:27:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:32:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:37:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:42:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:47:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:52:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
21:57:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:02:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
22:07:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:12:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:17:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:22:42 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:27:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:32:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:37:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:42:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:47:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:52:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
22:57:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:02:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:07:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:12:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:17:43 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:22:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:27:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:32:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:37:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:42:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:47:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:52:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
23:57:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:02:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:07:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:12:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:17:44 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:22:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:27:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:32:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:37:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:42:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:47:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:52:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
00:57:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:02:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:07:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:12:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:17:45 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:22:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:27:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:32:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:37:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:42:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}
01:47:46 WARN PuppetWechat4u monkeyPatch() wechat4u.checkPolling() notifyMobile() exception: AssertionError [ERR_ASSERTION]: 3 == 0
uncaughtException AssertionError [ERR_ASSERTION]: 3 == 0
at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)
at /app/node_modules/wechat4u/src/core.js:228:16
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 2,
details: 'AssertionError [ERR_ASSERTION]: 3 == 0\n' +
'    at Object.equal (/app/node_modules/wechat4u/src/util/global.js:53:14)\n' +
'    at /app/node_modules/wechat4u/src/core.js:228:16\n' +
'    at runMicrotasks (<anonymous>)\n' +
'    at processTicksAndRejections (node:internal/process/task_queues:96:5)'
}

console输出barcode前含有空格和字符“#015”,无法正常扫描

请问大家知道这是什么问题吗?stdout输出log好像总是含有字符“#15”。
目前使用的服务器是PythonAnywhere。
之前有尝试过部署在Heroku上是可以正常输出barcode的,所以是环境的问题吗?

console输出如下:

Feb  1 15:41:38 Getting uuid of QR code.
Feb  1 15:41:39 Downloading QR code.
Feb  1 15:41:39                                                   #015██████████████████████████████████████████████████████████████████████████████
Feb  1 15:41:39 ██              ████    ██  ██  ████████    ██████  ██  ██████              ██
Feb  1 15:41:39 ██  ██████████  ████  ██  ██    ████████  ████  ████  ████████  ██████████  ██
Feb  1 15:41:39 ██  ██      ██  ██      ████████    ██  ██████  ████  ██    ██  ██      ██  ██

pip3 install openai==0.25.0

ERROR: Could not find a version that satisfies the requirement openai==0.25.0 (from versions: 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.3.0, 0.4.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.8.0, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5)
ERROR: No matching distribution found for openai==0.25.0

20230206版启动报错

Loading the contact, this may take a little while.
[ERROR][2023-02-06 01:14:35][app.py:19] - App startup failed!
[ERROR][2023-02-06 01:14:35][app.py:20] - Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/Users/siyan/codes/weai/chatgpt-on-wechat/app.py", line 17, in
channel.startup()
File "/Users/siyan/codes/weai/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/itchat/components/register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/itchat/components/login.py", line 81, in login
self.get_contact(True)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/itchat/components/contact.py", line 300, in get_contact
seq, batchMemberList = _get_contact(seq)
^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/itchat/components/contact.py", line 296, in _get_contact
j = json.loads(r.content.decode('utf-8', 'replace'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

大段文字类的政策,但是咨询一些简单代码不行

Login successfully as 白河寒秋
Start auto replying.
[INFO][2023-02-06 12:39:09][open_ai_bot.py:20] - [OPEN_AI] query=写一段linux自动清理日志的shell脚本
[INFO][2023-02-06 12:39:14][open_ai_bot.py:54] - [OPEN_AI] reply=下面的shell脚本可以用来实现linux自动清理日志:

[INFO][2023-02-06 12:39:14][wechat_channel.py:103] - [WX] sendMsg=[bot] 下面的shell脚本可以用来实现linux自动清理日志:
```bash, receiver=filehelper

----》回复不全



[INFO][2023-02-06 12:43:04][open_ai_bot.py:20] - [OPEN_AI] query=听说过**的富国基金有限公司吗
[INFO][2023-02-06 12:43:12][open_ai_bot.py:54] - [OPEN_AI] reply=**富国基金有限公司是**三大国有投资经理之一,成立于1993年,总部位于北京,主要从事股权投资、房地产投资、债权投资、金融咨询等业务。
[INFO][2023-02-06 12:43:12][wechat_channel.py:103] - [WX] sendMsg=@白河寒秋 **富国基金有限公司是**三大国有投资经理之一,成立于1993年,总部位于北京,主要从事股权投资、房地产投资、债权投资、金融咨询等业务。, receiver=@@5844db1267f92232468790624f9e8e4de572860934dded403730f98e29ebdfbb
----->回复正常

扫码登录 一直超时问题

项目跑起来之后,我用微信扫码登录,但是微信有个安全验证需要5s时间,5s还没结束,控制台就报超时,然后给我一个新的二维码,然后就陷入循环。。。
image

12.27起登录成功以后无回复

image
12.27以前发送消息会提示,之后正常回复
[INFO][2022-12-25 17:31:52][open_ai_bot.py:21] - [OPEN_AI] query=你好
但是现在发送消息,什么反应也没有
Login successfully as "这里没有任何用户名信息"
Start auto replying.

注:我用于登录的微信号已经实名,之前功能正常,现在可以手动发消息,登录桌面PC

Group name white name list

For http will send escaped char,&-& So is Group nickname with those special chat, code cannot identify.

Use group_name=html.escape(group_name) maybe good

list index out of range

[ERROR][2022-12-20 18:39:33][app.py:19] - App startup failed!
[ERROR][2022-12-20 18:39:33][app.py:20] - list index out of range

Traceback (most recent call last):
File "/Users/notwin/Code/chatgpt-on-wechat/app.py", line 17, in
channel.startup()
File "/Users/notwin/Code/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 37, in startup
itchat.auto_login(enableCmdQR=2)
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/register.py", line 35, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 61, in login
status = self.check_login()
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 152, in check_login
if process_login_info(self, r.text):
File "/Users/notwin/Library/Python/3.9/lib/python/site-packages/itchat/components/login.py", line 197, in process_login_info
skey = re.findall('(.*?)', r.text, re.S)[0]
IndexError: list index out of range

登录成功接收消息就报错,请大神帮忙看看

Login successfully as ****
Start auto replying.
Traceback (most recent call last):
File "/usr/local/python3/lib/python3.9/site-packages/itchat/components/register.py", line 66, in configured_reply
r = replyFn(msg)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 21, in handler_single_msg
WechatChannel().handle(msg)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 46, in handle
other_user_id = msg['User']['UserName'] # 对手方id
KeyError: 'User'

查询文本报错

[INFO][2022-12-28 13:08:40][open_ai_bot.py:21] - [OPEN_AI] query=皮肤怎么保养
[ERROR][2022-12-28 13:08:41][open_ai_bot.py:35] - You exceeded your current quota, please check your plan and billing details.
Traceback (most recent call last):
File "/Users/aviagames/Downloads/python/01-代码-笔记/chatgpt/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 23, in reply_text
response = openai.Completion.create(
File "/Users/aviagames/Desktop/work2/python/python3.8/lib/python3.8/site-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/Users/aviagames/Desktop/work2/python/python3.8/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 115, in create
response, _, api_key = requestor.request(
File "/Users/aviagames/Desktop/work2/python/python3.8/lib/python3.8/site-packages/openai/api_requestor.py", line 181, in request
resp, got_stream = self._interpret_response(result, stream)
File "/Users/aviagames/Desktop/work2/python/python3.8/lib/python3.8/site-packages/openai/api_requestor.py", line 396, in _interpret_response
self._interpret_response_line(
File "/Users/aviagames/Desktop/work2/python/python3.8/lib/python3.8/site-packages/openai/api_requestor.py", line 429, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.
[ERROR][2022-12-28 13:08:41][wechat_channel.py:114] - 'NoneType' object has no attribute 'strip'
Traceback (most recent call last):
File "/Users/aviagames/Downloads/python/01-代码-笔记/chatgpt/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 110, in _do_send
reply_text = super().build_reply_content(query, context).strip()
AttributeError: 'NoneType' object has no attribute 'strip'

log in timeout登录不成功

在Windows服务器上启动并扫码,由于是异地登录,微信要5秒中确认,而刚到5秒中程序就弹出log timeout,并重新发二维码,导致登录不成功。
是不是log timeout给的时间太短了

Why

[config.py:20] - 'gbk' codec can't decode byte 0xa4 in position 245: illegal multibyte sequence

图片无法发到聊天中,实际生成了url

r日志如下

[INFO][2023-02-06 11:19:11][open_ai_bot.py:20] - [OPEN_AI] query=麻烦画一个美丽的少女
[INFO][2023-02-06 11:19:24][open_ai_bot.py:54] - [OPEN_AI] reply=这是一个美丽的少女,她身穿粉色连衣裙,穿在身上显得格外洋气。她靓丽的发型披散在肩膀上,双手捧着雪白的花朵,显得格外清新可爱。她秀美的脸庞宛如仙子,白皙的皮肤发出晶莹的光芒,温柔的眼神透出淡淡的温柔,令人心神难忘。
[INFO][2023-02-06 11:19:24][wechat_channel.py:103] - [WX] sendMsg=[bot] 这是一个美丽的少女,她身穿粉色连衣裙,穿在身上显得格外洋气。她靓丽的发型披散在肩膀上,双手捧着雪白的花朵 ,显得格外清新可爱。她秀美的脸庞宛如仙子,白皙的皮肤发出晶莹的光芒,温柔的眼神透出淡淡的温柔,令人心神难忘。, receiver=@8f6eb09cf8a9a7d9c80a32ad5952c6f1
[INFO][2023-02-06 11:20:02][open_ai_bot.py:59] - [OPEN_AI] image_query=一个美丽的少女
[INFO][2023-02-06 11:20:32][open_ai_bot.py:66] - [OPEN_AI] image_url=https://oaidalleapiprodscus.blob.core.windows.net/private/org-acHM3NsBHWRkW4SAjgYUZzMm/user-Ll86hYYaFr2JC3Uw0ynnUMj1/img-YszG2tGNN0TQC2YuXZ2KEvF9.png?st=2023-02-06T02%3A20%3A32Z&se=2023-02-06T04%3A20%3A32Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-05T18%3A50%3A33Z&ske=2023-02-06T18%3A50%3A33Z&sks=b&skv=2021-08-06&sig=SCx%2BZIDVVyWHAJfo%2BU/ofKdk54Ujh024Df0Ps2Y2OPE%3D
[INFO][2023-02-06 11:20:57][open_ai_bot.py:59] - [OPEN_AI] image_query=的快一点
[INFO][2023-02-06 11:21:09][open_ai_bot.py:66] - [OPEN_AI] image_url=https://oaidalleapiprodscus.blob.core.windows.net/private/org-acHM3NsBHWRkW4SAjgYUZzMm/user-Ll86hYYaFr2JC3Uw0ynnUMj1/img-aE7Ww1ByTTwg4LNc51lG6fcJ.png?st=2023-02-06T02%3A21%3A09Z&se=2023-02-06T04%3A21%3A09Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2023-02-05T21%3A10%3A56Z&ske=2023-02-06T21%3A10%3A56Z&sks=b&skv=2021-08-06&sig=Ui9zQAaA7d6xF5l%2BQ8Th6K8YVZVChOh53n21/NiNabg%3D

自动回复的调用

您好在显示“Start auto replying”后,如何在微信中调用出Chatgpt的机器人?
在微信里输入“@bot”和“bot”后没有任何反应?

扫码后报错

这个错误消息显示,你在调用 itchat 库中的 process_login_info() 函数时出现了 IndexError: list index out of range 错误。这意味着你尝试访问一个列表中不存在的索引。

在这个函数中,你使用了正则表达式来查找 标签中的值,并使用 re.findall() 函数返回匹配结果。如果找不到匹配的内容,则返回空列表,导致 IndexError: list index out of range 错误。

最新版启动报错,如下提示,更新前可正常运行

[ERROR][2023-02-05 23:28:27][app.py:19] - App startup failed!
[ERROR][2023-02-05 23:28:27][app.py:20] - Expecting property name enclosed in double quotes: line 8 column 63 (char 327)
Traceback (most recent call last):
File "app.py", line 11, in
config.load_config()
File "/home/fujia/chatgpt-on-wechat/config.py", line 18, in load_config
config = json.loads(config_str)
File "/usr/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 8 column 63 (char 327)

群聊包含特殊字符-,无法进行回复

Describe the Bug

群聊名称设置 "group_name_white_list": ”ChatGPT-交流“ 后无法进行回复,删除字符"-”可以

Steps to Reproduce

设置包含“-”的群聊进行测试,无法进行回复

我可以将对话模型改成GPT-3吗?

现有代码里的对话模型是:text-davinci-003 我可以改成GPT-3吗,如:
#model="text-davinci-003", # 对话模型的名称
model="GPT-3", # 对话模型的名称

关于GPT-3模型上下文对话 和 ChatGPT接入问题

目前 GPT3模型中已经实现了会话上下文,只需要拉取最新代码即可生效。

同时新增了两个可选配置:

  • conversation_max_tokens:表示能够记忆的上下文最大字数(一问一答为一组对话,如果累积的对话字数超出限制,就会优先移除最早的一组对话)。 该配置默认为1000,不建议超过 2000,否则对话可能超长。
  • character_desc:配置中保存着你对机器人说的一段话,他会记住这段话并作为他的人格设定,你可以为他塑造任何形象

config.json 中的示例如下:

{
    "conversation_max_tokens": 1000,
    "character_desc": "你叫李华,是一个25岁的程序员,你性格活泼开朗,爱好登山"
}

当前账号无法使用该服务

代码正常运行, 微信扫码后出现"当前账号无法使用该服务"错误, 跟登录网页版时报错一样
log无任何输出,仍在等待扫码

这是哪的问题,运行成功,但是不能对话

Start auto replying.
[ERROR][2022-12-30 10:23:37][wechat_channel.py:115] - No module named 'openai'
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 111, in _do_send
reply_text = super().build_reply_content(query, context).strip()
File "/root/chatgpt-on-wechat/channel/channel.py", line 31, in build_reply_content
return Bridge().fetch_reply_content(query, context)
File "/root/chatgpt-on-wechat/bridge/bridge.py", line 9, in fetch_reply_content
return bot_factory.create_bot("openAI").reply(query, context)
File "/root/chatgpt-on-wechat/bot/bot_factory.py", line 24, in create_bot
from bot.openai.open_ai_bot import OpenAIBot
File "/root/chatgpt-on-wechat/bot/openai/open_ai_bot.py", line 6, in
import openai
ModuleNotFoundError: No module named 'openai'

后台运行,用一会就用不了了

后台运行,用一会就用不了了,看了一下nohup.out提示
IndexError: tuple index out of range

LOG OUT!
这个怎么解决。。。。怎么守护一下进程。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.