conductor-oss / conductor-oss/python-sdk

Sample helloworld application not able to execute the workflow

Đang mở
#298 4 bình luận 0 reaction 1 người được giao Được @IgorChvyrov-sm nhận Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
104
Fork
42
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
3

Mô tả

The sample helloworld application is able to create the greetings workflow, but throws "404: No static resource api/workflow/execute/greetings/1" while executing:

```
2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO created worker with name=greet and domain=None
2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO TaskHandler initialized
2025-07-01 08:23:15,122 [74067] conductor.client.automator.task_handler INFO Starting worker processes...
2025-07-01 08:23:15,123 [74067] conductor.client.automator.task_handler INFO Started 1 TaskRunner process
2025-07-01 08:23:15,123 [74067] conductor.client.automator.task_handler INFO Started all processes
2025-07-01 08:23:15,124 [74067] conductor.client.automator.task_runner INFO Polling task greet with domain None with polling interval 0.1
Traceback (most recent call last):
File "/Users/anand/Desktop/conductor-python-sdk/helloworld.py", line 38, in
main()
File "/Users/anand/Desktop/conductor-python-sdk/helloworld.py", line 30, in main
workflow_run = workflow_executor.execute(name=workflow.name, version=workflow.version, workflow_input={'name': 'Anand'})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/workflow/executor/workflow_executor.py", line 79, in execute
return self.workflow_client.execute_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/orkes/orkes_workflow_client.py", line 53, in execute_workflow
return self.workflowResourceApi.execute_workflow(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api/workflow_resource_api.py", line 225, in execute_workflow
(data) = self.execute_workflow_with_http_info(body, request_id, name, version, **kwargs) # noqa: E501
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api/workflow_resource_api.py", line 316, in execute_workflow_with_http_info
return self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 337, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 68, in __call_api
return self.__call_api_no_retry(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 153, in __call_api_no_retry
response_data = self.request(
^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/api_client.py", line 382, in request
return self.rest_client.POST(url,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/rest.py", line 156, in POST
return self.request("POST", url,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/conductor/client/http/rest.py", line 115, in request
raise ApiException(http_resp=r)
conductor.client.http.rest.ApiException: (404)
Reason:
HTTP response headers: {'Vary': 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Date': 'Tue, 01 Jul 2025 02:53:13 GMT', 'Keep-Alive': 'timeout=60', 'Connection': 'keep-alive'}
HTTP response body: {"status":404,"message":"No static resource api/workflow/execute/greetings/1.","instance":"f89803fb6888","retryable":false}
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.