You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] nonebot | Failed to import "haruka_bot"
Traceback (most recent call last):
File "C:\ProgramData\miniconda3\Lib\site-packages\haruka_bot\utils\__init__.py", line 303, in on_startup
asyncio.get_running_loop()
RuntimeError: no running event loop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 13, in<module>
File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\load.py", line 130, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\load.py", line 64, in load_all_plugins
returnmanager.load_all_plugins()
File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\manager.py", line 176, in load_all_plugins
return set(
File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\manager.py", line 177, in<genexpr>
filter(None, (self.load_plugin(name) fornamein self.available_plugins))
> File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\manager.py", line 142, in load_plugin
module = importlib.import_module(name)
File "C:\ProgramData\miniconda3\Lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "C:\ProgramData\miniconda3\Lib\site-packages\nonebot\plugin\manager.py", line 242, in exec_module
super().exec_module(module)
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "C:\ProgramData\miniconda3\Lib\site-packages\haruka_bot\__init__.py", line 7, in<module>on_startup()
File "C:\ProgramData\miniconda3\Lib\site-packages\haruka_bot\utils\__init__.py", line 309, in on_startup
asyncio.get_event_loop().run_until_complete(check_playwright_env())
File "C:\ProgramData\miniconda3\Lib\asyncio\events.py", line 677, in get_event_loop
raise RuntimeError('There is no current event loop in thread %r.'
RuntimeError: There is no current event loop in thread 'MainThread'.
The text was updated successfully, but these errors were encountered:
运行环境
Windows Server 2022 Datacenter 21H2
HarukaBot 版本
1.6.0post5
go-cqhttp 版本
ws-plugin
错误描述
加载报错,偶尔能够正常加载
报错日志(如果有)
The text was updated successfully, but these errors were encountered: