Giter Club home page Giter Club logo

Comments (3)

MliKiowa avatar MliKiowa commented on August 10, 2024

可以尝试自己下载 然后再发送 QQ自己的证书好像有点问题

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

如果仍然有问题请再reopen

from napcatqq.

wling-art avatar wling-art commented on August 10, 2024

我也遇到了这个问题

07-06 01:10:11 [ERROR] nonebot | Running Matcher(type='message', module=src.plugins.cave, lineno=40) failed.
Traceback (most recent call last):
  File "/opt/mcsmanager/daemon/data/InstanceData/aa56675d84f54b42becf6e7b2f9d1225/bot.py", line 13, in <module>
    nonebot.run()
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
    uvicorn.run(
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/root/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
  File "/root/.pyenv/versions/3.12.3/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/message.py", line 476, in check_and_run_matcher
    await _run_matcher(
> File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/message.py", line 428, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 850, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 825, in simple_run
    await handler(
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/dependencies/__init__.py", line 94, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "/opt/mcsmanager/daemon/data/InstanceData/aa56675d84f54b42becf6e7b2f9d1225/src/plugins/cave/__init__.py", line 150, in _
    await cave_del.finish(
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 582, in finish
    await cls.send(message, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 566, in send
    return await bot.send(event=event, message=_message, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/bot.py", line 228, in send
    return await self.__class__.send_handler(self, event, message, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/bot.py", line 181, in send
    return await bot.send_msg(**params)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 122, in call_api
    raise exception
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 97, in call_api
    result = await self.adapter._call_api(self, api, **data)
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/adapter.py", line 147, in _call_api
    return handle_api_result(await self._result_store.fetch(seq, timeout))
  File "/root/.cache/pypoetry/virtualenvs/u1bot-1qZ_NDF8-py3.12/lib/python3.12/site-packages/nonebot/adapters/onebot/v11/utils.py", line 58, in handle_api_result
    raise ActionFailed(**result)
nonebot.adapters.onebot.v11.exception.ActionFailed: ActionFailed(status='failed', retcode=1200, data=None, message='Error: 文件下载失败uri CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg 解析失败,TypeError [ERR_INVALID_URL]: Invalid URL 可能CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg不存在\n    at handleOb11FileLikeMessage (file:///usr/src/app/napcat/napcat.mjs:25881:11)\n    at async Object.image (file:///usr/src/app/napcat/napcat.mjs:25930:57)\n    at async createSendElements (file:///usr/src/app/napcat/napcat.mjs:26048:24)\n    at async SendMsg._handle (file:///usr/src/app/napcat/napcat.mjs:26330:9)\n    at async SendMsg.websocketHandle (file:///usr/src/app/napcat/napcat.mjs:25755:23)\n    at async ReverseWebsocket.onmessage (file:///usr/src/app/napcat/napcat.mjs:30685:28)\n    at async WebSocket.<anonymous> (file:///usr/src/app/napcat/napcat.mjs:30724:7)', wording='Error: 文件下载失败uri CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg 解析失败,TypeError [ERR_INVALID_URL]: Invalid URL 可能CD5BAAC7AEF9328AC0F4FCA3547AC376.jpg不存在\n    at handleOb11FileLikeMessage (file:///usr/src/app/napcat/napcat.mjs:25881:11)\n    at async Object.image (file:///usr/src/app/napcat/napcat.mjs:25930:57)\n    at async createSendElements (file:///usr/src/app/napcat/napcat.mjs:26048:24)\n    at async SendMsg._handle (file:///usr/src/app/napcat/napcat.mjs:26330:9)\n    at async SendMsg.websocketHandle (file:///usr/src/app/napcat/napcat.mjs:25755:23)\n    at async ReverseWebsocket.onmessage (file:///usr/src/app/napcat/napcat.mjs:30685:28)\n    at async WebSocket.<anonymous> (file:///usr/src/app/napcat/napcat.mjs:30724:7)', echo='35')

from napcatqq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.