aws-samples / aws-samples/sample-devgenius-aws-solution-builder
Application giving error after installing via CDK
- 主要言語
- Python
- スター
- 249
- フォーク
- 67
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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)}")
コントリビューションガイド
調査の方向性
CDK でインストールした後のランタイム障害を再現し、その後、/app/agent.py の 229 行目付近と /app/utils.py の 148 行目付近を調査します。特に、read_agent_response が event_stream をどのように処理しているかを確認します。その関数に到達するイベントデータと、想定されるレスポンスの形式を比較します。インストール済みの Streamlit アプリが、報告された orchestrationTrace エラーを発生させずに実行できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, python, streamlit
- 領域
- backend, cloud
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100