conductor-oss / conductor-oss/python-sdk

Sample helloworld application not able to execute the workflow

Abierto
#298 4 comentarios 0 reacciones 1 asignado Reclamado por @IgorChvyrov-sm Ver en GitHub
bug
Lenguaje dominante
Python
Estrellas
104
Forks
42
Merge medio
2 d 1 h
PR fusionados (30 d)
3

Descripción

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}
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.