Giter VIP home page Giter VIP logo

Comments (11)

kexue-z avatar kexue-z commented on June 19, 2024

网络不好 自动安装playwright的时候卡死

可以尝试在同一环境下手动 playwright install

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

初始安装指的是第一次运行bot,会安装一个东西。可能是install_browser()这个函数?

我对playwright库丝毫不了解,望大佬轻喷

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

网络不好 自动安装playwright的时候卡死

可以尝试在同一环境下手动 playwright install

好的,正在尝试

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

网络不好 自动安装playwright的时候卡死

可以尝试在同一环境下手动 playwright install

仍然卡死

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

网络不好 自动安装playwright的时候卡死

可以尝试在同一环境下手动 playwright install

好像不是安装playwright出现的问题吧,之前已经安装成功了,卡死点不是安装函数那里

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024
(venv) PS D:\programming\Projects\Ahabot> playwright install
Active code page: 936
Downloading Playwright build of firefox v1322 - 75.7 Mb [====================] 100% 0.0s
Playwright build of firefox v1322 downloaded to C:\Users\dbxxxqwq\AppData\Local\ms-playwright\firefox-1322
Downloading Playwright build of webkit v1630 - 56.5 Mb [====================] 100% 0.0s
Playwright build of webkit v1630 downloaded to C:\Users\dbxxxqwq\AppData\Local\ms-playwright\webkit-1630

(venv) PS D:\programming\Projects\Ahabot> nb run
05-01 12:39:54 [SUCCESS] nonebot | NoneBot is initializing...
05-01 12:39:54 [INFO] nonebot | Current Env: dev
05-01 12:39:54 [DEBUG] nonebot | Loaded Config: {'driver': '~fastapi', 'host': IPv4Address('127.0.0.1'), 'port': 8080, 'log_level': 'DEBUG', 'api_t
imeout': 30.0, 'superusers': {'3364835621'}, 'nickname': {'啊哈', 'ahabot', 'Aha', 'aha', 'Ahabot'}, 'command_start': {'', '/'}, 'command_sep': {'.
'}, 'session_expire_timeout': datetime.timedelta(seconds=180), 'datastore_config_dir': './data/config', 'datastore_cache_dir': './data/cache', 'dat
astore_data_dir': './data/data', 'environment': 'dev', 'fastapi_reload': False, 'gocq_accounts': [{'uin': '3466211762', 'password': 'zql740125', 'p
rotocol': 1}], 'custom_config': 'common config'}
05-01 12:39:54 [DEBUG] nonebot | Succeeded to load adapter "OneBot V11"
05-01 12:39:55 [SUCCESS] nonebot | Succeeded to import "nonebot.plugins.echo"
05-01 12:39:55 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_htmlrender"
05-01 12:39:55 [SUCCESS] nonebot | Running NoneBot...
05-01 12:39:55 [DEBUG] nonebot | Loaded adapters: OneBot V11
05-01 12:39:55 [INFO] uvicorn | Started server process [6048]
05-01 12:39:55 [INFO] uvicorn | Waiting for application startup.

然后就会卡死在这里,Ctrl+C无反应,卡死点已经在描述中给出

from nonebot-plugin-htmlrender.

kexue-z avatar kexue-z commented on June 19, 2024

哦 Windows尝试更换驱动器

#15

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

哦 Windows尝试更换驱动器

#15

尝试后问题依旧

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

哦 Windows尝试更换驱动器

#15

我换的是quart驱动器,还是会在一样的点卡死

from nonebot-plugin-htmlrender.

kexue-z avatar kexue-z commented on June 19, 2024

那我就,,,不懂了 建议使用wsl或者问问之前那位怎么解决的

from nonebot-plugin-htmlrender.

dbxxx-ac avatar dbxxx-ac commented on June 19, 2024

那我就,,,不懂了 建议使用wsl或者问问之前那位怎么解决的

用wsl解决问题了,果然小心windows

from nonebot-plugin-htmlrender.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.