Home > other >  Development wxpy after using new registered WeChat scan code login error KeyError: 'pass_ticket
Development wxpy after using new registered WeChat scan code login error KeyError: 'pass_ticket

Time:04-03

Just use the new registration WeChat can throw exceptions, use for a few years WeChat login no problem


Getting uuid of QR code.
Downloading QR code.
Both Please scan the QR code to log in.
Both Please press confirm on your phone.
Loading the contact, this may take a little while.
Traceback (the most recent call last) :
The File "G:/PythonLocalProjects WxRobot/WeChatLogSend py", line 16, the in & lt; module>
Bot bot=()
The File "G: \ PythonLocalProjects \ WxRobot \ venv \ lib \ site - packages \ wxpy \ API \ bot py", line 86, in __init__
LoginCallback=login_callback, exitCallback=logout_callback
The File "G: \ PythonLocalProjects \ WxRobot \ venv \ lib \ site - packages \ itchat \ components \ register py", line 35, in auto_login
LoginCallback=loginCallback, exitCallback=exitCallback)
The File "G: \ PythonLocalProjects \ WxRobot \ venv \ lib \ site - packages \ itchat \ components \ login py", line 66, in the login
Self. Show_mobile_login ()
The File "G: \ PythonLocalProjects \ WxRobot \ venv \ lib \ site - packages \ itchat \ components \ login py", line 212, in show_mobile_login
Self. LoginInfo [' url '], the self. The loginInfo [' pass_ticket '])
KeyError: 'pass_ticket'

CodePudding user response:

Wxpy is according to the web version WeChat interface encapsulation of libraries, you use wxpy, have to try web page version WeChat, as you say, I also use a trumpet to the login page version WeChat, results suggest

1203 & lt;/ret> In order to the security of your account, this WeChat ID cannot login page WeChat, you can use Windows WeChat or Mac WeChat logged on the computer, Windows WeChat download address: https://pc.weixin.qq.com Mac WeChat download address: https://mac.weixin.qq.com

It's not understand me,

CodePudding user response:

reference 1/f, morning to evening reply:
wxpy is according to the web version WeChat interface encapsulation of libraries, you use wxpy, have to try web page version WeChat, as you say, I also use a trumpet to the login page version WeChat, results suggest

1203 & lt;/ret> In order to the security of your account, this WeChat ID cannot login page WeChat, you can use Windows WeChat or Mac WeChat logged on the computer, Windows WeChat download address: https://pc.weixin.qq.com Mac WeChat download address: https://mac.weixin.qq.com

It's not understand me,

Don't understand, I micro credit for many years, used for module is an error, but that's ok, trumpet web version also ok

CodePudding user response:

Want to ask next my WeChat is also used to board a few years or at the wrong

CodePudding user response:

<script> Alert (' thanks! ') & lt;/script>

CodePudding user response:

To active the account, as for the valve value is how many don't know

CodePudding user response:

Registration of age less than a year of inability to access the web version WeChat
  • Related