GraiaProject / Avilla

The next-gen framework for IM development. Powered by Graia Project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: ValueError when `req.accept()`

SerinaNya opened this issue · comments

avilla-elizabeth 1.0.0a26

commspt-bot-avilla  | Traceback (most recent call last):
commspt-bot-avilla  |   File "/root/.cache/pypoetry/virtualenvs/commspt-bot-avilla-9TtSrW0h-py3.12/lib/python3.12/site-packages/graia/broadcast/__init__.py", line 184, in Executor
commspt-bot-avilla  |     result = await run_always_await(target_callable, **parameter_compile_result)
commspt-bot-avilla  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
commspt-bot-avilla  |   File "/root/.cache/pypoetry/virtualenvs/commspt-bot-avilla-9TtSrW0h-py3.12/lib/python3.12/site-packages/graia/broadcast/utilles.py", line 34, in run_always_await
commspt-bot-avilla  |     obj = await obj
commspt-bot-avilla  |           ^^^^^^^^^
commspt-bot-avilla  |   File "/app/commspt_bot_avilla/modules/join_group.py", line 44, in member_join_request
commspt-bot-avilla  |     await req.accept()
commspt-bot-avilla  |   File "/root/.cache/pypoetry/virtualenvs/commspt-bot-avilla-9TtSrW0h-py3.12/lib/python3.12/site-packages/avilla/core/request.py", line 64, in accept
commspt-bot-avilla  |     return await cx_context.get()[RequestCapability.accept](self.to_selector())
commspt-bot-avilla  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
commspt-bot-avilla  |   File "/root/.cache/pypoetry/virtualenvs/commspt-bot-avilla-9TtSrW0h-py3.12/lib/python3.12/site-packages/avilla/elizabeth/perform/action/request.py", line 20, in accept_member_request
commspt-bot-avilla  |     event_id, from_id = target.pattern["request"].split(":")[1].split("/")
commspt-bot-avilla  |     ^^^^^^^^^^^^^^^^^
commspt-bot-avilla  | ValueError: not enough values to unpack (expected 2, got 1)