chatgpt-on-wechat
chatgpt-on-wechat copied to clipboard
某个微信号的bot突然不回复个人消息,其他微信号可以
前置确认
- [X] 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。
⚠️ 搜索issues中是否已存在类似问题
- [X] 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue
操作系统类型?
Linux
运行的python版本是?
python 3.9
使用的chatgpt-on-wechat版本是?
Latest Release
运行的channel类型是?
wx(个人微信, itchat)
复现步骤 🕹
在某个微信号上弄了一个bot,之前都可以正常回复,但是突然不能回复了,重新扫码登陆也不可以。换了一个微信号就可以,请问大家了解这方面的问题吗?
问题描述 😯
扫码后一直停留在这个页面,无论怎么发消息都收不到也就不会回复。
终端日志 📒
INFO][2024-02-24 10:35:26][config.py:219] - [Config] User datas loaded.
[WARNING][2024-02-24 10:35:26][audio_convert.py:9] - import pysilk failed, wechaty voice message will not be supported.
[INFO][2024-02-24 10:35:26][plugin_manager.py:50] - Loading plugins config...
[INFO][2024-02-24 10:35:26][plugin_manager.py:88] - Scaning plugins ...
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin BDunit_v0.1 registered, path=./plugins/bdunit
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Finish_v1.0 registered, path=./plugins/finish
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Role_v1.0 registered, path=./plugins/role
[WARNING][2024-02-24 10:35:26][plugin_manager.py:113] - Failed to import plugin tool: No module named 'chatgpt_tool_hub'
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Hello_v0.1 registered, path=./plugins/hello
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Banwords_v1.0 registered, path=./plugins/banwords
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Keyword_v0.1 registered, path=./plugins/keyword
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin linkai_v0.1.0 registered, path=./plugins/linkai
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Godcmd_v1.0 registered, path=./plugins/godcmd
[INFO][2024-02-24 10:35:26][plugin_manager.py:41] - Plugin Dungeon_v1.0 registered, path=./plugins/dungeon
[INFO][2024-02-24 10:35:26][godcmd.py:203] - [Godcmd] 因未设置口令,本次的临时口令为5306。
[INFO][2024-02-24 10:35:26][godcmd.py:219] - [Godcmd] inited
[INFO][2024-02-24 10:35:26][keyword.py:40] - [keyword] {}
[INFO][2024-02-24 10:35:26][keyword.py:42] - [keyword] inited.
[INFO][2024-02-24 10:35:26][linkai.py:33] - [LinkAI] inited, config={'group_app_map': {'测试群名1': 'default', '测试群名2': 'Kv2fXJcH'}, 'midjourney': {'enabled': False, 'auto_translate': True, 'img_proxy': True, 'max_tasks': 3, 'max_tasks_per_user': 1, 'use_image_create_prefix': True}, 'summary': {'enabled': False, 'group_enabled': True, 'max_file_size': 5000, 'type': ['FILE', 'SHARING']}}
[INFO][2024-02-24 10:35:26][role.py:69] - [Role] inited
[INFO][2024-02-24 10:35:26][dungeon.py:56] - [Dungeon] inited
[INFO][2024-02-24 10:35:26][hello.py:24] - [Hello] inited
[INFO][2024-02-24 10:35:26][finish.py:23] - [Finish] inited
Ready to login.
Getting uuid of QR code.
Downloading QR code.
You can also scan QRCode in any website below:
https://api.pwmqr.com/qrcode/create/?url=https://login.weixin.qq.com/l/geMrjFfqBA==
https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?text=https://login.weixin.qq.com/l/geMrjFfqBA==
https://api.qrserver.com/v1/create-qr-code/?size=400×400&data=https://login.weixin.qq.com/l/geMrjFfqBA==
https://api.isoyu.com/qr/?m=1&e=L&p=20&url=https://login.weixin.qq.com/l/geMrjFfqBA==
█▀▀▀▀▀▀▀██▀█▀██▀▀███▀██▀▀▀▀▀▀▀█
█ █▀▀▀█ █▄▄▀▄██ █▄█▄ █ █▀▀▀█ █
█ █ █ █▀▀ ▀ █▄▄█▀▀ ▄█ █ █ █
█ ▀▀▀▀▀ █▀▄ ▄ ▄▀▄▀█ ▄▀█ ▀▀▀▀▀ █
█▀█▀█▀█▀█████ ▄▄▀▀ █▀ ███▀██▀██
█ ▀▄▀██▀▄ ██▀█ ▀█ ▀█▀ ▄▀▀▄▀▀ █
█ ▀██ ▀▀ ▄ █▀ ▄███ ▄▀ ▄ ▄▄▀█ ▀█
██ █▀▄▄▀▄▄▀▀█▀▄▀█▄▀██▄ ▄▀█ █▀ █
█▀ ▀█▄▀█▄▀▄█▄ ▄ ▀ ██ █ ▀█
█▀█ █ ▄▀▀▀█▀▄▀█▄▄▄███ ▀ ▀█▄▄▀ █
█▀▄▀▀▄█▀▀▄▀▀▀█ ▄ ▀▀ ▀ ▄█▄██
█▀▀▀▀▀▀▀█▄▄▀ ▀█▄█▄▀█▀ █▀█ ▀▄ █
█ █▀▀▀█ █▀▀▄▄▄▄ █ ▄█ ▀▀▀ ▄█▄▄█
█ █ █ █▀ ▀ ▀▄██▄██████ ▀▄▄ █
█ ▀▀▀▀▀ █▀▄▄▀ ▀▄▀ ▀ ▀▀ ███ ▀█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Error: no "view" rule for type "image/png" passed its test case
(for more information, add "--debug=1" on the command line)
Please press confirm on your phone.
Loading the contact, this may take a little while.
[INFO][2024-02-24 10:35:52][wechat_channel.py:130] - Wechat login success, user_id: @dccb132ffcb7d5f7dd967851c6c46b931bd61c4a450a27b5fce3788f2ff68f1e, nickname: star
Start auto replying.
我也遇到了同样的问题
https://github.com/zhayujie/chatgpt-on-wechat/blob/74ebbdd7617b08bfc4afb4c095b0c38356387536/lib/itchat/components/login.py#L234
我改成这行代码发现正常了
'r': int(-time.time() / random.randint(1300,1800)),
https://github.com/zhayujie/chatgpt-on-wechat/blob/74ebbdd7617b08bfc4afb4c095b0c38356387536/lib/itchat/components/login.py#L234
我改成这行代码发现正常了
'r': int(-time.time() / random.randint(1300,1800)),
我去试试!谢谢你!!
请问一下这个问题解决了么,我现在也遇到了这个问题
请问一下这个问题解决了么,我现在也遇到了这个问题
没有呢,而且有的时候就突然掉线,得重新登陆。
是不是设置的hot reload为true,然后更改微信账户的昵称?可以把根目录的itchat.pkl文件删掉再试试
你好 我今天起的项目遇到的问题也是这个 请问怎么解决
tx不让用itchat了呗,使用ipadwx协议
开源项目协议不稳定的原因,暂时没有好的解决办法,移动端微信尽量保持联网在线,不被自动系统结束后台