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

[问题]系统不支持Playwright #408

Open
xwtlt opened this issue Mar 15, 2023 · 7 comments
Open

[问题]系统不支持Playwright #408

xwtlt opened this issue Mar 15, 2023 · 7 comments
Labels
question Further information is requested

Comments

@xwtlt
Copy link

xwtlt commented Mar 15, 2023

确认

  • 我的Bot版本已更新到最新,且已尝试使用poetry install更新依赖库
  • 我已查阅文档-常见问题,无相关解决方案
  • 我已确认issue中没有类似的问题或仍然得不到解决

环境信息

  • 系统版本: ubuntu 18.04
  • Python版本: 3.10
  • Nonebot2版本: 2.0.0rc2
  • 使用 android 上的 termux 部署的 ubuntu 容器

问题描述

运行nb paimon run后运行一半报错,日志如下

问题截图

Screenshot_20230315_194246_com termux
Screenshot_20230315_194325_com termux

@xwtlt xwtlt added the question Further information is requested label Mar 15, 2023
@xwtlt xwtlt changed the title [问题]求助: [问题]求助:启动时报错 Mar 15, 2023
@CMHopeSunshine
Copy link
Owner

运行nb paimon run playwright install

@xwtlt
Copy link
Author

xwtlt commented Mar 15, 2023

运行后出现新的错误

Failed to install browsers
Error: ERROR: Playwright does not support firefox on ubuntu18.04-arm64

@CMHopeSunshine
Copy link
Owner

错误:Playwright在ubuntu18.04-arm64上不支持firefox

@CMHopeSunshine CMHopeSunshine changed the title [问题]求助:启动时报错 [问题]系统不支持Playwright Mar 15, 2023
@CMHopeSunshine
Copy link
Owner

可删除部分相关Playwright功能,参考#405

@nanxu2019
Copy link

Windows系统居然也被Playwright坑了...
005B4D98

@QAQQL
Copy link

QAQQL commented Apr 23, 2023

当我今天更新了依赖后,出现
[pid=7764][err] [0424/035417.465:ERROR:main_dll_loader_win.cc(109)] Failed to load Chrome DLL from C:\Users\Administrator\AppData\Local\ms-playwright\chromium-1055\chrome-win\chrome.dll
我的原始版本chromium-1041没有问题,请问我该如何指定Playwright下载的chrome版本呢

@QAQQL
Copy link

QAQQL commented Apr 23, 2023

https://playwright.dev/python/docs/release-notes#version-129
查询官方文档得知
https://playwright.dev/python/docs/release-notes#browser-versions-3
Browser Versions

Chromium 109.0.5414.46
Mozilla Firefox 107.0
WebKit 16.4

This version was also tested against the following stable channels:

Google Chrome 108
Microsoft Edge 108

pip install "playwright==1.29"
降级后可用

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

No branches or pull requests

4 participants