ItChat icon indicating copy to clipboard operation
ItChat copied to clipboard

可以在微信浏览器登录也可以`itchat`登陆,但是一秒钟就立马自动退出了是怎么回事?

Open freestylefly opened this issue 5 years ago • 1 comments

在提交前,请确保您已经检查了以下内容!

  • [ ] 您可以在浏览器中登陆微信账号,但不能使用itchat登陆
  • [ ] 我已经阅读并按[文档][document] 中的指引进行了操作
  • [ ] 您的问题没有在[issues][issues]报告,否则请在原有issue下报告
  • [ ] 本问题确实关于itchat, 而不是其他项目.
  • [ ] 如果你的问题关于稳定性,建议尝试对网络稳定性要求极低的[itchatmp][itchatmp]项目

请使用itchat.run(debug=True)运行,并将输出粘贴在下面:

[在这里粘贴完整日志]
```无报错日志

您的itchat版本为:`[在这里填写版本号]`。(可通过`python -c "import itchat;print(itchat.__version__)"`获取)
1.3.10
其他的内容或者问题更详细的描述都可以添加在下面:

> [您的内容]
![image](https://user-images.githubusercontent.com/43960064/82723180-79aa0300-9cff-11ea-8283-1542262214f2.png)

[document]: http://itchat.readthedocs.io/zh/latest/
[issues]: https://github.com/littlecodersh/itchat/issues
[itchatmp]: https://github.com/littlecodersh/itchatmp

freestylefly avatar May 23 '20 06:05 freestylefly

已解决,原因在itchat.auto_login(enableCmdQR=2, hotReload=True) 这里的hotReload=True要去掉,负责会一直自动log out

freestylefly avatar May 23 '20 06:05 freestylefly