Open Ventsze opened 1 year ago
非主流linux,系统不完整,缺库
BEWARE: your OS is not officially supported by Playwright; downloading fallback build.
你的操作系统没有被Playwright官方支持
大佬,那有办法解决吗,我用的nas跑的,因为nas24小时在线...
群辉nas.
如果不行我就不折腾了,谢谢
恕我没用过nas,如果网上找不到解决方法的话,我也不会。
不过可以试试删除需要用到playwright的插件:把bot目录/LittlePaimon/utils/broswer.py
文件删掉,删掉后会有些报错类似说can not import xxx from LittlePaimon.utils.broswer
的,忽略即可
好,谢谢
LittlePaimon里面
03-07 16:00:16 [INFO] uvicorn | Application startup complete. 03-07 16:00:16 [INFO] uvicorn | Uvicorn running on http://0.0.0.0:13579 (Press CTRL+C to quit) 这个 已经成功启动了,但是ip访问不了
http://127.0.0.1:13579/go-cqhttp 这个ip访问不了 防火墙也关了访问不了
把127.0.0.1换成你的公网ip啊,127.0.0.1是本地,只能在本地内访问
我nas是内网 没有公网 内网访问不了
连路由器上面的
那就换成你的内网ip
好了,犯傻了,谢谢
为啥不用docker呢🤔
确认
poetry install
更新依赖库环境信息
问题描述
nb paimon run 运行报错 卡在正在安装依赖这里
问题截图
03-07 15:43:23 [INFO] LittlePaimon | [资源检查]开始检查资源 03-07 15:43:24 [INFO] LittlePaimon | [资源检查]资源完好,无需下载 03-07 15:43:24 [INFO] LittlePaimon | [Playwright]正在安装 chromium 03-07 15:43:24 [INFO] LittlePaimon | [Playwright]正在安装依赖 /usr/lib/python3.8/site-packages/playwright/driver/node: /lib64/libm.so.6: version
GLIBC_2.27' not found (required by /usr/lib/python3.8/site-packages/playwright/driver/node) /usr/lib/python3.8/site-packages/playwright/driver/node: /lib64/libc.so.6: version
GLIBC_2.28' not found (required by /usr/lib/python3.8/site-packages/playwright/driver/node) BEWARE: your OS is not officially supported by Playwright; downloading fallback build. BEWARE: your OS is not officially supported by Playwright; downloading fallback build. 03-07 15:43:25 [ERROR] uvicorn | Traceback (most recent call last): File "/volume1/docker/genshin/LittlePaimon/LittlePaimon/utils/brower.py", line 19, in init _browser = await launch_browser(kwargs) File "/volume1/docker/genshin/LittlePaimon/LittlePaimon/utils/brower.py", line 30, in launch_browser return await _playwright.chromium.launch(kwargs) File "/volume1/docker/genshin/LittlePaimon/.venv/lib/python3.8/site-packages/playwright/async_api/_generated.py", line 14007, in launch await self._impl_obj.launch( File "/volume1/docker/genshin/LittlePaimon/.venv/lib/python3.8/site-packages/playwright/_impl/_browser_type.py", line 93, in launch Browser, from_channel(await self._channel.send("launch", params)) File "/volume1/docker/genshin/LittlePaimon/.venv/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 44, in send return await self._connection.wrap_api_call( File "/volume1/docker/genshin/LittlePaimon/.venv/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 419, in wrap_api_call return await cb() File "/volume1/docker/genshin/LittlePaimon/.venv/lib/python3.8/site-packages/playwright/_impl/_connection.py", line 79, in inner_send result = next(iter(done)).result() playwright._impl._api_types.Error: Browser closed. ==================== Browser output: ====================