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

我在登录后出现'xml.parsers.expat.ExpatError: mismatched tag: line 64, column 4' 怎么解决 #995

Open
5 tasks done
jiaochanghaoserverss opened this issue Aug 29, 2023 · 10 comments

Comments

@jiaochanghaoserverss
Copy link

jiaochanghaoserverss commented Aug 29, 2023

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

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

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

[在这里粘贴完整日志]

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

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

[您的内容]

@river7816
Copy link

river7816 commented Sep 27, 2023

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

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

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

[在这里粘贴完整日志]

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

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

[您的内容]

我也遇到了相同问题,itchat 版本1.3.10

Getting uuid of QR code.
Downloading QR code.
Please scan the QR code to log in.
Please press confirm on your phone.
Traceback (most recent call last):
  File "/Users/river/Desktop/telegram/test.py", line 3, in <module>
    itchat.auto_login()
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/site-packages/itchat/components/register.py", line 35, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/site-packages/itchat/components/login.py", line 53, in login
    status = self.check_login()
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/site-packages/itchat/components/login.py", line 137, in check_login
    if process_login_info(self, r.text):
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/site-packages/itchat/components/login.py", line 172, in process_login_info
    for node in xml.dom.minidom.parseString(r.text).documentElement.childNodes:
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/xml/dom/minidom.py", line 2000, in parseString
    return expatbuilder.parseString(string)
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/Users/river/miniforge3/envs/nlp/lib/python3.10/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: mismatched tag: line 64, column 4

以下是我的代码

import itchat

itchat.auto_login()
itchat.send('Hello, filehelper', toUserName='filehelper')

@hxq28
Copy link

hxq28 commented Sep 27, 2023 via email

@lxdhhy
Copy link

lxdhhy commented Sep 27, 2023 via email

@zhaohuiwei1990
Copy link

zhaohuiwei1990 commented Sep 27, 2023 via email

@jouhpf
Copy link

jouhpf commented Oct 20, 2023

我也遇到了类似的问题,请问解决了吗

@river7816
Copy link

我也遇到了类似的问题,请问解决了吗

并没有

@smallXueTu
Copy link

image
有些账号已经不能用网页版了,换个账号即可

@TLovers
Copy link

TLovers commented Feb 5, 2024

我15年的号都无法登陆了

@sheiy
Copy link

sheiy commented Mar 15, 2024

擦 我的号也不行

@qs-lll
Copy link

qs-lll commented May 29, 2024

我15年的号也不行

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

10 participants