You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: Started server process [1772]
INFO: Waiting for application startup.
2022-08-09 15:47:17 - ERROR As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary
ERROR: Traceback (most recent call last):
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 645, in lifespan
async with self.lifespan_context(app):
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 540, in aenter
await self._router.startup()
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 622, in startup
await handler()
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/bot.py", line 226, in startup
await asyncio.gather(*coros)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/bot.py", line 135, in startup
await self._adapter.login(self.qq)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/adapters/base.py", line 35, in wrapped
return await func(self, *args, **kwargs)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/adapters/websocket.py", line 187, in login
self.connection = await connect(self.host_name, extra_headers=headers)
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/client.py", line 622, in await_impl
transport, protocol = await self._create_connection()
File "/usr/lib/python3.10/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/lib/python3.10/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport
protocol = protocol_factory()
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/client.py", line 160, in init
super().init(**kwargs)
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 154, in init
self._drain_lock = asyncio.Lock(
File "/usr/lib/python3.10/lib/python3.10/asyncio/locks.py", line 78, in init
super().init(loop=loop)
File "/usr/lib/python3.10/lib/python3.10/asyncio/mixins.py", line 17, in init
raise TypeError(
TypeError: As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary
ERROR: Application startup failed. Exiting.
The text was updated successfully, but these errors were encountered:
INFO: Started server process [1772]
INFO: Waiting for application startup.
2022-08-09 15:47:17 - ERROR As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary
ERROR: Traceback (most recent call last):
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 645, in lifespan
async with self.lifespan_context(app):
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 540, in aenter
await self._router.startup()
File "/usr/lib/python3.10/lib/python3.10/site-packages/starlette/routing.py", line 622, in startup
await handler()
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/bot.py", line 226, in startup
await asyncio.gather(*coros)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/bot.py", line 135, in startup
await self._adapter.login(self.qq)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/adapters/base.py", line 35, in wrapped
return await func(self, *args, **kwargs)
File "/usr/lib/python3.10/lib/python3.10/site-packages/mirai/adapters/websocket.py", line 187, in login
self.connection = await connect(self.host_name, extra_headers=headers)
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/client.py", line 622, in await_impl
transport, protocol = await self._create_connection()
File "/usr/lib/python3.10/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection
transport, protocol = await self._create_connection_transport(
File "/usr/lib/python3.10/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport
protocol = protocol_factory()
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/client.py", line 160, in init
super().init(**kwargs)
File "/usr/lib/python3.10/lib/python3.10/site-packages/websockets/legacy/protocol.py", line 154, in init
self._drain_lock = asyncio.Lock(
File "/usr/lib/python3.10/lib/python3.10/asyncio/locks.py", line 78, in init
super().init(loop=loop)
File "/usr/lib/python3.10/lib/python3.10/asyncio/mixins.py", line 17, in init
raise TypeError(
TypeError: As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary
ERROR: Application startup failed. Exiting.
The text was updated successfully, but these errors were encountered: