大佬可以帮看看是什么问题吗
refFOXjwlz 发布的帖子
-
RE: YiriMirai+revChatGPT(已失效)
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\proactor_events.py", line 116, in del
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\proactor_events.py", line 108, in close
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 751, in call_soon
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed
Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
File "D:\mirai\ChatGPT-master\main.py", line 234, in <module>
bot.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 199, in run
MiraiRunner(self).run(host, port, asgi_server, **kwargs)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 257, in run
if not asgi_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 210, in asgi_serve
asyncio.run(serve(app, config), debug=True)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\client.py", line 666, in await_impl
await protocol.handshake(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\client.py", line 344, in handshake
self.connection_open()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py", line 363, in connection_open
self.close_connection_task = self.loop.create_task(self.close_connection())
task: <Task pending name='Task-8' coro=<WebSocketCommonProtocol.close_connection() running at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py:1314> wait_for=<Task cancelled name='Task-6' coro=<WebSocketCommonProtocol.transfer_data() done, defined at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py:959> created at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py:359> cb=[_gather.<locals>._done_callback() at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:767] created at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py:363>
Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
File "D:\mirai\ChatGPT-master\main.py", line 234, in <module>
bot.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 199, in run
MiraiRunner(self).run(host, port, asgi_server, **kwargs)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 257, in run
if not asgi_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 210, in asgi_serve
asyncio.run(serve(app, config), debug=True)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 144, in startup
await self._adapter.start()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\base.py", line 167, in start
self.background = asyncio.create_task(self._background())
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py", line 361, in create_task
task = loop.create_task(coro)
task: <Task pending name='Task-11' coro=<WebSocketAdapter._background() running at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\websocket.py:257> wait_for=<Task cancelled name='Task-13' coro=<WebSocketAdapter._heartbeat() done, defined at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\websocket.py:240> created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:361> cb=[_gather.<locals>._done_callback() at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:767] created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:361>
Exception ignored in: <coroutine object WebSocketCommonProtocol.close_connection at 0x000002CA37312CC0>
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py", line 1354, in close_connection
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py", line 1372, in close_transport
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\websockets\legacy\protocol.py", line 1397, in wait_for_connection_lost
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py", line 435, in wait_for
RuntimeError: no running event loop
Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
File "D:\mirai\ChatGPT-master\main.py", line 234, in <module>
bot.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 199, in run
MiraiRunner(self).run(host, port, asgi_server, **kwargs)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 257, in run
if not asgi_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 210, in asgi_serve
asyncio.run(serve(app, config), debug=True)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\websocket.py", line 255, in _background
await self.poll_event()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\websocket.py", line 209, in poll_event
self._tasks.create_task(self.emit(event['type'], event))
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\tasks.py", line 27, in create_task
task = asyncio.create_task(coro)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py", line 361, in create_task
task = loop.create_task(coro)
task: <Task pending name='Task-24' coro=<Adapter.emit() running at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\base.py:183> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x000002CA060E2220>()] created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:702> cb=[Tasks._done_callback(), _gather.<locals>._done_callback() at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:767] created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:361>
Task exception was never retrieved
future: <Task finished name='Task-25' coro=<EventBus.emit() done, defined at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bus.py:164> exception=SystemExit() created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:829>
source_traceback: Object created at (most recent call last):
File "D:\mirai\ChatGPT-master\main.py", line 234, in <module>
bot.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 199, in run
MiraiRunner(self).run(host, port, asgi_server, **kwargs)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 257, in run
if not asgi_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 210, in asgi_serve
asyncio.run(serve(app, config), debug=True)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\adapters\base.py", line 183, in emit
return sum(await asyncio.gather(*coros), [])
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py", line 756, in gather
return gather(*coros_or_futures, loop=loop, return_exceptions=return_exceptions)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py", line 829, in gather
fut = ensure_future(arg, loop=loop)
Traceback (most recent call last):
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 77, in configure
s=chatGPT_main(config, debug,sf)
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 102, in chatGPT_main
chatbot = Chatbot(config, debug=debug,
File "D:\mirai\ChatGPT-master\revChatGPT\revChatGPT.py", line 116, in init
self.refresh_session()
File "D:\mirai\ChatGPT-master\revChatGPT\revChatGPT.py", line 323, in refresh_session
asyncio.run(self.get_cf_cookies())
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 33, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loopDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 47, in run
_cancel_all_tasks(loop)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 63, in _cancel_all_tasks
loop.run_until_complete(
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bus.py", line 194, in emit
coros += await asyncio.gather(*callee)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in run_once
handle.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in run
self.context.run(self.callback, *self.args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bus.py", line 178, in call
result = await async_with_exception(f(*args, **kwargs))
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 20, in async_with_exception
return await async(obj)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 14, in async
return (await obj) if inspect.isawaitable(obj) else obj
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\models\bus.py", line 63, in middleware
return await async_with_exception(func(event_model))
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 20, in async_with_exception
return await async(obj)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 14, in async
return (await obj) if inspect.isawaitable(obj) else obj
File "D:\mirai\ChatGPT-master\main.py", line 142, in chatgpta
reply= configure(cona)
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 85, in configure
exit()
SystemExit
sys:1: RuntimeWarning: coroutine 'AsyncChatbot.get_cf_cookies' was never awaited
Exception ignored in: <coroutine object serve at 0x000002CA3707EDC0>
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio_init.py", line 44, in serve
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\run.py", line 165, in worker_serve
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 342, in close
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\proactor_events.py", line 868, in _stop_serving
AttributeError: 'NoneType' object has no attribute '_stop_serving'
Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
File "D:\mirai\ChatGPT-master\main.py", line 234, in <module>
bot.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 199, in run
MiraiRunner(self).run(host, port, asgi_server, **kwargs)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 257, in run
if not asgi_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 210, in asgi_serve
asyncio.run(serve(app, config), debug=True)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self.args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio_init.py", line 44, in serve
await worker_serve(
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\run.py", line 82, in worker_serve
lifespan_task = loop.create_task(lifespan.handle_lifespan())
task: <Task pending name='Task-2' coro=<Lifespan.handle_lifespan() running at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\lifespan.py:43> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x000002CA371AE040>()] created at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:702> cb=[gather.<locals>.done_callback() at D:\Anaconda\envs\ChatGPT-master\lib\asyncio\tasks.py:767] created at D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\run.py:82>
Exception ignored in: <coroutine object Lifespan.handle_lifespan at 0x000002CA372210C0>
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\lifespan.py", line 43, in handle_lifespan
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\app_wrappers.py", line 34, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bot.py", line 236, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\asgi.py", line 165, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\applications.py", line 125, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\middleware\errors.py", line 149, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\middleware\exceptions.py", line 55, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\routing.py", line 695, in call
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\routing.py", line 678, in lifespan
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\lifespan.py", line 104, in asgi_send
hypercorn.utils.LifespanFailureError: Lifespan failure in shutdown. 'Traceback (most recent call last):
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 77, in configure
s=chatGPT_main(config, debug,sf)
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 102, in chatGPT_main
chatbot = Chatbot(config, debug=debug,
File "D:\mirai\ChatGPT-master\revChatGPT\revChatGPT.py", line 116, in init
self.refresh_session()
File "D:\mirai\ChatGPT-master\revChatGPT\revChatGPT.py", line 323, in refresh_session
asyncio.run(self.get_cf_cookies())
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 33, in run
raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loopDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 47, in run
_cancel_all_tasks(loop)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 63, in _cancel_all_tasks
loop.run_until_complete(
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle._run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bus.py", line 194, in emit
coros += await asyncio.gather(*callee)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 634, in run_until_complete
self.run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 601, in run_forever
self._run_once()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\base_events.py", line 1897, in _run_once
handle.run()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\events.py", line 80, in run
self.context.run(self.callback, *self.args)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\bus.py", line 178, in call
result = await async_with_exception(f(*args, **kwargs))
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 20, in async_with_exception
return await async(obj)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 14, in async
return (await obj) if inspect.isawaitable(obj) else obj
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\models\bus.py", line 63, in middleware
return await async_with_exception(func(event_model))
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 20, in async_with_exception
return await async(obj)
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\mirai\utils.py", line 14, in async
return (await obj) if inspect.isawaitable(obj) else obj
File "D:\mirai\ChatGPT-master\main.py", line 142, in chatgpta
reply= configure(cona)
File "D:\mirai\ChatGPT-master\revChatGPT_main.py", line 85, in configure
exit()
SystemExitDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\routing.py", line 674, in lifespan
await receive()
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\hypercorn\asyncio\lifespan.py", line 92, in asgi_receive
return await self.app_queue.get()
File "D:\Anaconda\envs\ChatGPT-master\lib\asyncio\queues.py", line 166, in get
await getter
asyncio.exceptions.CancelledErrorDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Anaconda\envs\ChatGPT-master\lib\site-packages\starlette\routing.py", line 674, in lifespan
await receive()
GeneratorExit
'
sys:1: RuntimeWarning: coroutine 'SimpleMirai.shutdown' was never awaited