You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
微信登录报错,手机扫码确认后无法读取联系人信息。
Loading the contact, this may take a little while.
[ERROR][2024-09-12 10:27:54][wechat_channel.py:138] - Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/jerry/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 124, in startup
itchat.auto_login(
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/register.py", line 38, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/login.py", line 84, in login
self.get_contact(True)
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/contact.py", line 300, in get_contact
seq, batchMemberList = _get_contact(seq)
^^^^^^^^^^^^^^^^^
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/contact.py", line 296, in _get_contact
j = json.loads(r.content.decode('utf-8', 'replace'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/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)
The text was updated successfully, but these errors were encountered:
前置确认
操作系统类型?
Linux
运行的python版本是?
python 3.8
使用的chatgpt-on-wechat版本是?
Latest Release
运行的
channel
类型是?wx(个人微信, itchat)
复现步骤 🕹
100%复现
问题描述 😯
微信登录报错,手机扫码确认后无法读取联系人信息。
Loading the contact, this may take a little while.
[ERROR][2024-09-12 10:27:54][wechat_channel.py:138] - Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/home/jerry/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 124, in startup
itchat.auto_login(
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/register.py", line 38, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/login.py", line 84, in login
self.get_contact(True)
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/contact.py", line 300, in get_contact
seq, batchMemberList = _get_contact(seq)
^^^^^^^^^^^^^^^^^
File "/home/jerry/chatgpt-on-wechat/lib/itchat/components/contact.py", line 296, in _get_contact
j = json.loads(r.content.decode('utf-8', 'replace'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jerry/miniconda3/lib/python3.8/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)
The text was updated successfully, but these errors were encountered: