Open intling-luo opened 1 month ago
此问题我也经常触发,原因不明,有可能是uvicron、apscheduler或playwright导致的,而且触发条件不明。 个人在其他其他使用了uvicron的项目中也遇到了类似的问题,个人认为可能是uvicron导致的。 总而言之,此问题暂时没有解决方法,在遇到此问题时可以使用sigkill强制结束此进程。
上游插件htmlrender导致的 可以访问https://github.com/kexue-z/nonebot-plugin-htmlrender/pull/65 查看
操作系统
Linux
Python 版本
3.11.9
NoneBot 版本
2.3
Bilichat 版本
5.10.2
描述问题
安装插件后,按ctrl+v结束程序时程序卡死无法退出,必须关闭终端,卸载插件后恢复正常
插件的配置项
No response
截图或日志
(nonebot2) ling@ling-Ubuntu:~/公共的/nonebot2/lingbot2$ nb run 05-19 17:45:38 [SUCCESS] nonebot | NoneBot is initializing... 05-19 17:45:38 [INFO] nonebot | Current Env: dev 05-19 17:45:38 [DEBUG] nonebot | Loaded Config: {'driver': '~fastapi', 'host': IPv4Address('127.0.0.1'), 'port': 8080, 'log_level': 'DEBUG', 'api_timeout': 30.0, 'superusers': {**'}, 'nickname': set(), 'command_start': {''}, 'command_sep': {'.'}, 'session_expire_timeout': datetime.timedelta(seconds=120), 'environment': 'dev', 'ps_only_su': 'True', 'duel': {'nickname': '嘎哒哒'}, 'ffmpeg': '/usr/bin/ffmpeg', 'pixiv_r18': 'False', 'search_limit': 2, 'record_priority': 99, 'saucenao_api_key': 'c289aa0c8ee0d3ce65e46e5f26f7031c1c9f9284', 'search_keyword': '图搜图'} 05-19 17:45:38 [DEBUG] nonebot | Succeeded to load adapter "OneBot V11" 05-19 17:45:38 [DEBUG] nonebot | Succeeded to load adapter "Console" 05-19 17:45:38 [ERROR] nonebot | Failed to import "nonebot_plugin_picsearcher" Traceback (most recent call last): File "/home/ling/公共的/nonebot2/lingbot2/bot.py", line 14, in
nonebot.load_plugin('nonebot_plugin_picsearcher')
File "/home/ling/anaconda3/envs/nonebot2/lib/python3.11/site-packages/nonebot/plugin/load.py", line 40, in load_plugin
return manager.load_plugin(module_path)