Coder Social home page Coder Social logo

project-atri-console's Introduction


姫野 星奏


私、愛してる

project-atri-console's People

Contributors

kyomotoi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

project-atri-console's Issues

关于追踪错误

image
ATRI | 10-17 16:59:35 | ERROR nonebot >> Running Matcher(type='message', module=控制台) failed.
Traceback (most recent call last):

File "D:\ATRI\main.py", line 9, in
ATRI.run()
│ └ <function run at 0x00000238D69D12D0>
└ <module 'ATRI' from 'D:\ATRI\ATRI\init.py'>

File "D:\ATRI\ATRI_init_.py", line 36, in run
nonebot.run(log_level=log_level)
│ │ └ 'warning'
│ └ <function run at 0x00000238D6764EE0>
└ <module 'nonebot' from 'C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packa...

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot_init_.py", line 273, in run
get_driver().run(*args, **kwargs)
│ │ └ {'log_level': 'warning'}
│ └ ()
└ <function get_driver at 0x00000238D3B9F6D0>

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\drivers\fastapi.py", line 172, in run
uvicorn.run(
│ └ <function run at 0x00000238D7302320>
└ <module 'uvicorn' from 'C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packa...

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\uvicorn\main.py", line 576, in run
server.run()
│ └ <function Server.run at 0x00000238D73024D0>
└ <uvicorn.server.Server object at 0x00000238FAA59FC0>

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
│ │ │ │ └ None
│ │ │ └ <function Server.serve at 0x00000238D7302560>
│ │ └ <uvicorn.server.Server object at 0x00000238FAA59FC0>
│ └ <function run at 0x00000238D5896050>
└ <module 'asyncio' from 'C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\init.py'>

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
│ │ └ <coroutine object Server.serve at 0x00000238DC23B530>
│ └ <function BaseEventLoop.run_until_complete at 0x00000238D5897A30>

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 633, in run_until_complete
self.run_forever()
│ └ <function ProactorEventLoop.run_forever at 0x00000238D595AEF0>

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 600, in run_forever
self._run_once()
│ └ <function BaseEventLoop._run_once at 0x00000238D589D510>

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 1896, in _run_once
handle._run()
│ └ <function Handle._run at 0x00000238D5834B80>
└ <Handle Task.task_wakeup(<_GatheringFu...673747), 'N']>)>

File "C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
│ │ │ │ │ └ <member '_args' of 'Handle' objects>
│ │ │ │ └ <Handle Task.task_wakeup(<_GatheringFu...673747), 'N']>)>
│ │ │ └ <member '_callback' of 'Handle' objects>
│ │ └ <Handle Task.task_wakeup(<_GatheringFu...673747), 'N']>)>
│ └ <member '_context' of 'Handle' objects>
└ <Handle Task.task_wakeup(<_GatheringFu...673747), 'N']>)>

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\message.py", line 142, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)
│ │ │ │ │ │ └ {<function Matcher.got.._key_getter at 0x00000238DC112320>: <Task finished name='Task-2816' coro=<Matcher.got.<locals...
│ │ │ │ │ └ <contextlib.AsyncExitStack object at 0x00000238FBEB9240>
│ │ │ │ └ {'prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
│ │ │ └ PrivateMessageEvent(time=1665997175, self_id=2168673747, post_type='message', sub_type='friend', user_id=1368437200, message
...
│ │ └ Bot(type='OneBot V11', self_id='2168673747')
│ └ Matcher(type='message', module=控制台)
└ <function _run_matcher at 0x00000238D69017E0>

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\message.py", line 186, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
│ │ │ │ │ │ └ {<function Matcher.got.._key_getter at 0x00000238DC112320>: <Task finished name='Task-2816' coro=<Matcher.got.<locals...
│ │ │ │ │ └ <contextlib.AsyncExitStack object at 0x00000238FBEB9240>
│ │ │ │ └ {'prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
│ │ │ └ PrivateMessageEvent(time=1665997175, self_id=2168673747, post_type='message', sub_type='friend', user_id=1368437200, message
...
│ │ └ Bot(type='OneBot V11', self_id='2168673747')
│ └ <function Matcher.run at 0x00000238D67676D0>
└ Matcher(type='message', module=控制台)

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\internal\matcher.py", line 716, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
│ │ │ │ │ │ └ {<function Matcher.got.._key_getter at 0x00000238DC112320>: <Task finished name='Task-2816' coro=<Matcher.got.<locals...
│ │ │ │ │ └ <contextlib.AsyncExitStack object at 0x00000238FBEB9240>
│ │ │ │ └ {'prefix': {'command': None, 'raw_command': None, 'command_arg': None, 'command_start': None}}
│ │ │ └ PrivateMessageEvent(time=1665997175, self_id=2168673747, post_type='message', sub_type='friend', user_id=1368437200, message
...
│ │ └ Bot(type='OneBot V11', self_id='2168673747')
│ └ <function Matcher.simple_run at 0x00000238D6767640>
└ Matcher(type='message', module=控制台)

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\internal\matcher.py", line 688, in simple_run
await handler(
└ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))

File "C:\Users\Keter\AppData\Local\pypoetry\Cache\virtualenvs\atri-DJSBjSfB-py3.10\lib\site-packages\nonebot\dependencies_init_.py", line 108, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
│ │ │ │ │ │ └ {'event': PrivateMessageEvent(time=1665997175, self_id=2168673747, post_type='message', sub_type='friend', user_id=1368437200...
│ │ │ │ │ └ <function _ at 0x00000238DC112200>
│ │ │ │ └ Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
│ │ │ └ ~R
│ │ └ typing.Awaitable
│ └ typing.Callable
└ <function cast at 0x00000238D3C03490>

File "D:\ATRI\ATRI\plugins\console_init_.py", line 45, in _
data = json.loads(__AUTH_FILE_PATH.read_bytes())["data"]
│ │ │ └ <function Path.read_bytes at 0x00000238D3BADFC0>
│ │ └ WindowsPath('data/plugins/console/data.json')
│ └ <function loads at 0x00000238D5A0E830>
└ <module 'json' from 'C:\Users\Keter\AppData\Local\Programs\Python\Python310\lib\json\init.py'>

KeyError: 'data'
ATRI | 10-17 16:59:35 | ERROR ATRI >> Error Track ID: mBohEjZA
ATRI | 10-17 17:08:13 | INFO status >> 开始检查资源消耗...
ATRI | 10-17 17:08:15 | INFO status >> 资源消耗正常

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.