bub icon indicating copy to clipboard operation
bub copied to clipboard

RecursionError: maximum recursion depth exceeded

Open l2dy opened this issue 7 months ago • 0 comments

Observed after the bot sent its reply to a simple message in private chat:

INFO     | loop.step step=3 tape=<redacted> model=<redacted>
INFO     | tool.call.start name=bash { cmd="cat << 'EOF' | uv run /home/bub/bub/src/skills/telegram/scripts/telegram_send.py
--chat-id ..." }
INFO     | tool.call.success name=bash elapsed_time=610.81ms
INFO     | loop.step step=4 tape=<redacted> model=<redacted>
INFO     | tool.call.start name=quit
Exception in callback <_asyncio.TaskStepMethWrapper object at 0x706b62365c30>()
handle: <Handle <_asyncio.TaskStepMethWrapper object at 0x706b62365c30>()>
Traceback (most recent call last):
  File "/usr/lib/python3.14/asyncio/events.py", line 94, in _run
    self._context.run(self._callback, *self._args)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/tasks.py", line 758, in cancel
    if child.cancel(msg=msg):
       ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/tasks.py", line 758, in cancel
    if child.cancel(msg=msg):
       ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3.14/asyncio/tasks.py", line 758, in cancel
    if child.cancel(msg=msg):
       ~~~~~~~~~~~~^^^^^^^^^
  [Previous line repeated 981 more times]
RecursionError: maximum recursion depth exceeded

Bub commit: f86c3d7

l2dy avatar Apr 25 '26 13:04 l2dy