-
Notifications
You must be signed in to change notification settings - Fork 21
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
启动时卡死 #17
Comments
网络不好 自动安装playwright的时候卡死 可以尝试在同一环境下手动 playwright install |
初始安装指的是第一次运行bot,会安装一个东西。可能是install_browser()这个函数? 我对playwright库丝毫不了解,望大佬轻喷 |
好的,正在尝试 |
仍然卡死 |
好像不是安装playwright出现的问题吧,之前已经安装成功了,卡死点不是安装函数那里 |
然后就会卡死在这里,Ctrl+C无反应,卡死点已经在描述中给出 |
哦 Windows尝试更换驱动器 |
尝试后问题依旧 |
我换的是quart驱动器,还是会在一样的点卡死 |
那我就,,,不懂了 建议使用wsl或者问问之前那位怎么解决的 |
用wsl解决问题了,果然小心windows |
在 get_browser 函数这里卡死。
进行了一下深入的定位,browser.py 中的 _playwright = await async_playwright().start() 这句开始卡死
进一步跟进到了playwright库,_context_manager.py的start()函数,在
这里卡死。
之前使用一直正常,后来重装系统,进行初始安装后,前两次运行正常,后来就开始卡死。没有任何输出,nonebot也无法启动。
The text was updated successfully, but these errors were encountered: