Development #77395
'CompatWcsPublisher' object has no attribute 'workflow_execution_stack'
Début:
09 mai 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
Vu dans une logged-error depuis un cron :
[CRON] AttributeError: 'CompatWcsPublisher' object has no attribute 'workflow_execution_stack' ... type = '<class 'AttributeError'>', value = ''CompatWcsPublisher' object has no attribute 'workflow_execution_stack'' File "/usr/lib/python3/dist-packages/wcs/wf/create_formdata.py", line 616, in perform 614 publisher = get_publisher() 615 > 616 if 'create_data_action' not in publisher.workflow_execution_stack[-1]['context']: 617 # add a create_data_action dictionary in current workflow execution 618 # context, it will hold sets indexed on current action reference locals: action_key = '********************' formdata = <...> formdef = <...> publisher = <...> recursion_limit = 1 self = <CreateFormdataWorkflowStatusItem ...>
Révisions associées
workflows: give a workflow stack to global actions triggered by timeout (#77395)
Historique
Mis à jour par Thomas Noël il y a 12 mois
Et sans doute un peu la même chose (erreur se produisant au même endroit) :
[CRON] IndexError: list index out of range type = '<class 'IndexError'>', value = 'list index out of range' File "/usr/lib/python3/dist-packages/wcs/wf/create_formdata.py", line 616, in perform 614 publisher = get_publisher() 615 > 616 if 'create_data_action' not in publisher.workflow_execution_stack[-1]['context']: 617 # add a create_data_action dictionary in current workflow execution 618 # context, it will hold sets indexed on current action reference locals: action_key = '********************' formdata = <_wcs_...> formdef = <FormDef "..." id:..> publisher = <wcs.compat.CompatWcsPublisher object at 0x7fd71a6400a0> recursion_limit = 1 self = <CreateFormdataWorkflowStatusItem 1 in global action ...> File "/usr/lib/python3/dist-packages/wcs/workflows.py", line 101, in perform_items 99 except AbortActionException as e: 100 url = url or e.url > 101 break 102 if formdata.status != old_status: 103 break
Mis à jour par Robot Gitea il y a 12 mois
- Tracker changé de Bug à Development
- Statut changé de Nouveau à En cours
Frédéric Péters (fpeters) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/302
- Titre : WIP: workflows: give a workflow stack to global actions triggered by timeout (#77395)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/302/files
Mis à jour par Robot Gitea il y a 12 mois
- Statut changé de Solution proposée à Solution validée
Lauréline Guérin (lguerin) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Robot Gitea il y a 12 mois
- Statut changé de Solution validée à Résolu (à déployer)
Frédéric Péters (fpeters) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/wcs/pulls/302
- Titre : workflows: give a workflow stack to global actions triggered by timeout (#77395)
- Modifications : https://git.entrouvert.org/entrouvert/wcs/pulls/302/files
Mis à jour par Transition automatique il y a 12 mois
- Statut changé de Résolu (à déployer) à Solution déployée
workflows: give a workflow stack to global actions triggered by timeout (#77395)