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

Bot starts and then immediately fails with asyncio.exceptions.CancelledError #372

Open
HarshedCodes opened this issue Sep 6, 2024 · 0 comments

Comments

@HarshedCodes
Copy link

Bot goes through the full start up, completes, and then the moment it does dies to this error:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/config/catuserbot/userbot/main.py", line 86, in
catub.loop.run_until_complete(startup_process())
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/config/catuserbot/userbot/main.py", line 59, in startup_process
await verifyLoggerGroup()
File "/config/catuserbot/userbot/utils/startup.py", line 203, in verifyLoggerGroup
entity = await catub.get_entity(BOTLOG_CHATID)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/catuserbot/venv/lib/python3.11/site-packages/telethon/client/users.py", line 320, in get_entity
channels = (await self(
^^^^^^^^^^^
File "/config/catuserbot/venv/lib/python3.11/site-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/catuserbot/venv/lib/python3.11/site-packages/telethon/client/users.py", line 87, in _call
result = await future
^^^^^^^^^^^^
asyncio.exceptions.CancelledError

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