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

启动过程中check rules阶段报错 #113

Open
WindraiteLesd opened this issue Jan 4, 2025 · 0 comments
Open

启动过程中check rules阶段报错 #113

WindraiteLesd opened this issue Jan 4, 2025 · 0 comments

Comments

@WindraiteLesd
Copy link

[INFO] nonebot_plugin_fortune | Got the latest copywriting.json from repo, version: 1.2
[ERROR] uvicorn | Traceback (most recent call last):
  File "C:\ProgramData\miniconda3\lib\site-packages\starlette\routing.py", line 677, in lifespan
    async with self.lifespan_context(app) as maybe_state:
  File "C:\ProgramData\miniconda3\lib\contextlib.py", line 199, in __aenter__
    return await anext(self.gen)
  File "C:\ProgramData\miniconda3\lib\site-packages\nonebot\drivers\fastapi.py", line 153, in _lifespan_manager
    await self._lifespan.startup()
  File "C:\ProgramData\miniconda3\lib\site-packages\nonebot\internal\driver\_lifespan.py", line 42, in startup
    await self._run_lifespan_func(self._startup_funcs)
  File "C:\ProgramData\miniconda3\lib\site-packages\nonebot\internal\driver\_lifespan.py", line 36, in _run_lifespan_func
    await cast(ASYNC_LIFESPAN_FUNC, func)()
  File "C:\ProgramData\miniconda3\lib\site-packages\nonebot_plugin_fortune\config.py", line 161, in fortune_check
    ] = json.load(f)
  File "C:\ProgramData\miniconda3\lib\json\__init__.py", line 293, in load
    return loads(fp.read(),
  File "C:\ProgramData\miniconda3\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\ProgramData\miniconda3\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\ProgramData\miniconda3\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

[ERROR] uvicorn | Application startup failed. Exiting.
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