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

RecursionError: maximum recursion depth exceeded #25

Open
yakkobr opened this issue Jun 28, 2023 · 0 comments
Open

RecursionError: maximum recursion depth exceeded #25

yakkobr opened this issue Jun 28, 2023 · 0 comments

Comments

@yakkobr
Copy link

yakkobr commented Jun 28, 2023

Todos os dias executo a sincronização de varios grupos e hoje me deparei com o seguinte retorno:

chunk = await asyncio.wait_for(

File "/usr/lib/python3.10/asyncio/tasks.py", line 426, in wait_for
fut = ensure_future(fut, loop=loop)
File "/usr/lib/python3.10/asyncio/tasks.py", line 615, in ensure_future
return _ensure_future(coro_or_future, loop=loop)
File "/usr/lib/python3.10/asyncio/tasks.py", line 636, in _ensure_future
return loop.create_task(coro_or_future)
File "/usr/lib/python3.10/asyncio/base_events.py", line 438, in create_task
task = tasks.Task(coro, loop=self, name=name)
File "/usr/lib/python3.10/asyncio/base_events.py", line 754, in call_soon
handle = self._call_soon(callback, args, context)
File "/usr/lib/python3.10/asyncio/base_events.py", line 770, in _call_soon
handle = events.Handle(callback, args, self, context)
File "/usr/lib/python3.10/asyncio/events.py", line 40, in init
if self._loop.get_debug():
RecursionError: maximum recursion depth exceeded
Task exception was never retrieved
future: <Task finished name='Task-26219' coro=<Session.ping_worker() done, defined at /usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py:271> exception=RecursionError('maximum recursion depth exceeded while calling a Python object')>
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 283, in ping_worker
await self.send(
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 318, in send
message = self.msg_factory(data)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/internals/msg_factory.py", line 37, in call
len(body)
File "/usr/local/lib/python3.10/dist-packages/pyrogram/raw/core/tl_object.py", line 79, in len
return len(self.write())
File "/usr/local/lib/python3.10/dist-packages/pyrogram/raw/functions/ping_delay_disconnect.py", line 72, in write
b.write(Int(self.ID, False))
File "/usr/local/lib/python3.10/dist-packages/pyrogram/raw/core/primitives/int.py", line 33, in new
return value.to_bytes(cls.SIZE, "little", signed=signed)
RecursionError: maximum recursion depth exceeded while calling a Python object
Task was destroyed but it is pending!
task: <Task pending name='Task-36516' coro=<StreamReader.read() done, defined at /usr/lib/python3.10/asyncio/streams.py:628>>
Task was destroyed but it is pending!
task: <Task pending name='Task-35556' coro=<Event.wait() running at /usr/lib/python3.10/asyncio/locks.py:214> wait_for=>
MODE='user'

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