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

[MultiChannel] Start up failed on wechat: mismatched tag: line 64, column 4 #433

Open
jjyyfff opened this issue Jul 12, 2023 · 2 comments
Open

Comments

@jjyyfff
Copy link

jjyyfff commented Jul 12, 2023

Please scan the QR code to log in.
Please press confirm on your phone.
[ERROR][2023-07-12 13:43:17][log.py:47] - [MultiChannel] Start up failed on wechat: mismatched tag: line 64, column 4
[ERROR][2023-07-12 13:43:17][log.py:45] - App startup failed!
[ERROR][2023-07-12 13:43:17][log.py:50] - mismatched tag: line 64, column 4

二维码扫完之后,出现以上提示,然后退出。请教如何解决?

@jjyyfff
Copy link
Author

jjyyfff commented Jul 12, 2023

gpt告诉我:
def process_login_info(self, r.text):
print(r.text) # 添加这一行
for node in xml.dom.minidom.parseString(r.text).documentElement.childNodes:

然后,再次运行程序,把输出告诉gpt,它说:
这是微信API返回的HTML信息,而不是XML。这个信息是说,为了保护用户的帐号安全,微信暂时不支持使用网页版。建议用户前往微信官网下载客户端进行登录。

如果你的代码是用来登录微信并进行某些操作的,那么看起来你现在不能使用网页版的微信登录,需要寻找其他方式,例如直接使用手机或电脑客户端的微信登录。

对于你的代码,似乎它期望API返回XML格式的数据,但实际上却返回了HTML,所以当它尝试解析XML时出现了错误。你需要根据这个新的情况修改你的代码,以正确处理这种情况。

以上供作者参考,可能在瞎猫乱碰,多担待。

@luoqingchen1116
Copy link

怎么解决?我看blibli视频是可以扫码登录微信的

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

2 participants