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

无法启用nonebot插件 #21

Open
NealScx opened this issue Aug 15, 2024 · 0 comments
Open

无法启用nonebot插件 #21

NealScx opened this issue Aug 15, 2024 · 0 comments

Comments

@NealScx
Copy link

NealScx commented Aug 15, 2024

麻烦查看一下是什么问题
`
2024-08-15 22:58:37 [I] loader unload plugin nonebot:me6a1u
2024-08-15 22:59:03 [I] loader apply plugin nonebot:ct81vh
2024-08-15 22:59:04 [I] nonebot Python initialization complete
2024-08-15 22:59:04 [I] nonebot Loading pil
2024-08-15 22:59:04 [I] nonebot Loaded pil
2024-08-15 22:59:04 [I] nonebot Loading numpy
2024-08-15 22:59:04 [I] nonebot Loaded numpy
2024-08-15 22:59:05 [E] app PythonError: Traceback (most recent call last):
File "/lib/python3.10/asyncio/futures.py", line 201, in result
raise self._exception
File "/lib/python3.10/asyncio/tasks.py", line 232, in __step
result = coro.send(None)
File "/lib/python3.10/site-packages/_pyodide/_base.py", line 506, in eval_code_async
File "/lib/python3.10/site-packages/_pyodide/_base.py", line 357, in run_async
File "", line 1, in
File "/pyodide/nonebot_plugin_crazy_thursday/init.py", line 5, in
from .config import *
File "/pyodide/nonebot_plugin_crazy_thursday/config.py", line 39, in
async def post_check() -> None:
File "/root/koishi-app/node_modules/koishi-plugin-nonebot/lib/internal/driver.js", line 13, in Driver.on_startup
pyodide.JsException: TypeError: Cannot read properties of undefined (reading 'on')

                        at new_error (/root/koishi-app/node_modules/pyodide/pyodide.asm.js:10:218123)
                        at wasm://wasm/021a6cb2:wasm-function[274]:0xdef7c
                        at wasm://wasm/021a6cb2:wasm-function[378]:0xe37ae
                        at method_call_trampoline (/root/koishi-app/node_modules/pyodide/pyodide.asm.js:10:218037)
                        at wasm://wasm/021a6cb2:wasm-function[942]:0x126317
                        at wasm://wasm/021a6cb2:wasm-function[3192]:0x1f6f2e
                        at wasm://wasm/021a6cb2:wasm-function[1855]:0x161a32
                        at wasm://wasm/021a6cb2:wasm-function[947]:0x126827
                        at wasm://wasm/021a6cb2:wasm-function[948]:0x126921
                        at wasm://wasm/021a6cb2:wasm-function[949]:0x1269c4
                        at wasm://wasm/021a6cb2:wasm-function[3018]:0x1e0697
                        at wasm://wasm/021a6cb2:wasm-function[3015]:0x1da6a5
                        at wasm://wasm/021a6cb2:wasm-function[950]:0x126a07
                        at wasm://wasm/021a6cb2:wasm-function[3027]:0x1e248c
                        at wasm://wasm/021a6cb2:wasm-function[3018]:0x1e00d9
                        at wasm://wasm/021a6cb2:wasm-function[3015]:0x1da6a5
                        at wasm://wasm/021a6cb2:wasm-function[950]:0x126a07
                        at wasm://wasm/021a6cb2:wasm-function[373]:0xe347a
                        at Module.callPyObjectKwargs (/root/koishi-app/node_modules/pyodide/pyodide.asm.js:10:119064)
                        at Module.callPyObject (/root/koishi-app/node_modules/pyodide/pyodide.asm.js:10:119442)
                        at Timeout.wrapper [as _onTimeout] (/root/koishi-app/node_modules/pyodide/pyodide.asm.js:10:183746)
                        at listOnTimeout (node:internal/timers:581:17)
                        at process.processTimers (node:internal/timers:519:7)

`

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

1 participant