Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Sample helloworld application not able to execute the workflow

Aperta
#298 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@IgorChvyrov-sm ci sta già lavorando.

Dal 17/7/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

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 <module>
    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}
Lingua principale
Python
Stelle
104
Fork
44
Merge medio
4g 18h
PR unite (30g)
3

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di conductor-oss/python-sdk

Tutte le issue di conductor-oss/python-sdk

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.