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

Deserialization error in BgtaskPartialSuccessEvent #3876

Open
fregataa opened this issue Mar 4, 2025 — with Lablup-Issue-Syncer · 1 comment
Open

Deserialization error in BgtaskPartialSuccessEvent #3876

fregataa opened this issue Mar 4, 2025 — with Lablup-Issue-Syncer · 1 comment
Assignees

Comments

@fregataa
Copy link
Member

fregataa commented Mar 4, 2025

This is the error log

Traceback (most recent call last):
  File "/Users/sh/bai-dev/dist/export/python/virtualenvs/python-default/3.12.8/lib/python3.12/site-packages/aiotools/taskgroup/persistent.py", line 162, in _task_wrapper
    ret = await coro
          ^^^^^^^^^^
  File "/Users/sh/bai-dev/src/ai/backend/common/events.py", line 1283, in handle
    await cb(evh.context, source, event_cls.deserialize(args))  # type: ignore
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sh/bai-dev/src/ai/backend/common/events.py", line 814, in deserialize
    value[2],
    ~~~~~^^^
IndexError: tuple index out of range
@fregataa fregataa self-assigned this Mar 4, 2025
@jopemachine
Copy link
Member

jopemachine commented Mar 4, 2025

This issue can be resolved by overriding the name of the BgtaskPartialSuccessEvent used in the EventDispatcher. @fregataa

Ref: 5d79551

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

2 participants