Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多进程登陆后self.alive为False,调用self.logout #1019

Closed
5 tasks done
LightCatcherX opened this issue Jun 20, 2024 · 1 comment
Closed
5 tasks done

多进程登陆后self.alive为False,调用self.logout #1019

LightCatcherX opened this issue Jun 20, 2024 · 1 comment

Comments

@LightCatcherX
Copy link

LightCatcherX commented Jun 20, 2024

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

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

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

[在这里粘贴完整日志]

您的itchat版本为:[在这里填写版本号]。(可通过python -c "import itchat;print(itchat.__version__)"获取)

其他的内容或者问题更详细的描述都可以添加在下面:

[您的内容]

@LightCatcherX
Copy link
Author

我使用muitiprocessing编写了多进程登录微信的程序,所有函数都定义在继承自Process的类中,当我执行itchat.auto_login函数时,此时itchat的self.alive的是被置为True的,但当我执行self.logout函数时,此时的self.alive却是False,导致我登出失败,这是为什么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant