wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.56k stars 229 forks source link

⁉ ⁉ #320

Open L319515975 opened 2 years ago

L319515975 commented 2 years ago

requirements

Describe your problem

A clear and concise description of what the bug is.

Reproduce your problem

simple code to reproduce your problem

Error info

# copy your log info at here from your terminal 

Your experiments

please tell us your experiments and ideas about this issue. It's valuable for us to help you find the solution. image image

想请教一下,哪儿出错了

wj-Mcat commented 2 years ago

There is qrcode display error which depends on the font-size of your terminal. So you can use cmd or powershell to run the application to display login qrcode which only display in login stage.

Whats's more, there are some requirements info you have lost in the description. So I hope you can comment it later, so we can help you fix the issue. Please feel free to tell us more.

L319515975 commented 2 years ago

2022-04-17 12:10:39,648 - Wechaty - INFO - receive event <EventScanPayload(status=<ScanStatus.Scanned: 3>, qrcode='https://login.weixin.qq.com/l/4bw6p9I8Gw==', data=None)> 2022-04-17 12:10:39,648 - Wechaty - ERROR - internal error <> 2022-04-17 12:11:12,850 - PuppetService - INFO - receive error info <{'data': '登录失败。'}> 2022-04-17 12:11:12,850 - Wechaty - INFO - receive event <EventErrorPayload(data='登录失败。')> 2022-04-17 12:11:12,851 - Wechaty - ERROR - internal error <Uncaught, unspecified 'error' event: EventErrorPayload(data='登录失败。')>

您好,这个应该不是窗口大小问题,我换cmd或powershell登录也是扫码后,显示登录失败

wj-Mcat commented 2 years ago

If you are using WeChat web protocol, it will fail in most of account. I suggest that you get the padlocal or pamion token to start your bot.