Closed
Description
Summary
async def test():
async with AsyncSession() as session:
async with session.ComputeSession("5326fa81-a651-4c04-88dc-6bb6790554c4").stream_pty() as ws:
await ws.send_str(f"ls -l")
r = await ws.receive_str()
Error log
2025-05-27 12:16:58.926 ERROR ai.backend.manager.api.stream [210074] stream_stdin(c514fd59-41dc-419d-a26d-3e971a0a39b9): unexpected error
Traceback (most recent call last):
File "/home/jopemachine/.local/backend.ai/repos/main/src/ai/backend/manager/api/stream.py", line 148, in stream_stdin
data = load_json(msg.data)
File "/home/jopemachine/.local/backend.ai/repos/main/src/ai/backend/common/json.py", line 22, in load_json
return orjson.loads(s)
~~~~~~~~~~~~^^^
orjson.JSONDecodeError: unexpected character: line 1 column 1 (char 0)
Metadata
Metadata
Assignees
Labels
No labels