aws-samples / aws-samples/sample-devgenius-aws-solution-builder
Application giving error after installing via CDK
- Ngôn ngữ chính
- Python
- Star
- 249
- Fork
- 67
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I have installed this application using CDK, no errors during installation but after installation is final, i got error while running the app.
ValueError: Unexpected Error:: 'orchestrationTrace'
Traceback:
File "/usr/local/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/usr/local/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/app/agent.py", line 229, in
ask_user, agent_answer = read_agent_response(event_stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/utils.py", line 148, in read_agent_response
raise ValueError(f"Unexpected Error:: {str(e)}")
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện lỗi runtime sau khi cài đặt bằng CDK, sau đó kiểm tra /app/agent.py quanh dòng 229 và /app/utils.py quanh dòng 148, đặc biệt là cách read_agent_response xử lý event_stream. So sánh dữ liệu sự kiện đi đến hàm đó với dạng phản hồi dự kiến; được coi là hoàn tất khi ứng dụng Streamlit đã cài đặt chạy mà không phát sinh lỗi orchestrationTrace đã báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, python, streamlit
- Lĩnh vực
- backend, cloud
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100