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

报错QAQ #84

Closed
4goten opened this issue Oct 28, 2022 · 1 comment
Closed

报错QAQ #84

4goten opened this issue Oct 28, 2022 · 1 comment

Comments

@4goten
Copy link

4goten commented Oct 28, 2022

10-28 12:53:48 [ERROR] nonebot | Failed to import "nonebot_plugin_xiuxian"
Traceback (most recent call last):
File "c:\program files\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\Python38\Scripts\nb.exe_main
.py", line 7, in
sys.exit(main())
File "c:\program files\python38\lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
File "c:\program files\python38\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "c:\program files\python38\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files\python38\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files\python38\lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
File "c:\program files\python38\lib\site-packages\nb_cli\commands\main.py", line 30, in run
run_bot(file, app)
File "c:\program files\python38\lib\site-packages\nb_cli\handlers\deploy.py", line 20, in run_bot
module = importlib.import_module(module_name)
File "c:\program files\python38\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File ".\bot.py", line 27, in
nonebot.load_from_toml("pyproject.toml")
File "c:\program files\python38\lib\site-packages\nonebot\plugin\load.py", line 122, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "c:\program files\python38\lib\site-packages\nonebot\plugin\load.py", line 59, in load_all_plugins
return manager.load_all_plugins()
File "c:\program files\python38\lib\site-packages\nonebot\plugin\manager.py", line 168, in load_all_plugins
return set(
File "c:\program files\python38\lib\site-packages\nonebot\plugin\manager.py", line 169, in
filter(None, (self.load_plugin(name) for name in self.available_plugins))

File "c:\program files\python38\lib\site-packages\nonebot\plugin\manager.py", line 141, in load_plugin
module = importlib.import_module(name)
File "c:\program files\python38\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "c:\program files\python38\lib\site-packages\nonebot\plugin\manager.py", line 233, in exec_module
super().exec_module(module)
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "c:\program files\python38\lib\site-packages\nonebot_plugin_xiuxian_init
.py", line 33, in
scheduler = require("nonebot_plugin_apscheduler").scheduler
File "c:\program files\python38\lib\site-packages\nonebot\plugin\load.py", line 167, in require
raise RuntimeError(f'Cannot load plugin "{name}"!')

@Shinoakii
Copy link
Collaborator

查下nonebot_plugin_apscheduler这个插件在不在吧

@4goten 4goten closed this as completed Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants