Closed FlorianJacta closed 1 month ago
I've done some exploring and logging:
Exception: Something totally unexpected happened
[2024-08-28 11:16:18.232][Taipy][WARNING] JOB_scenario_task_99110940-e0f1-46b1-b377-8e08938e65fd is not in the blocked list anymore.
[2024-08-28 11:16:18.303][Taipy][ERROR] 1 errors occurred during execution of job JOB_scenario_task_99110940-e0f1-46b1-b377-8e08938e65fd
[2024-08-28 11:16:18.304][Taipy][ERROR] Exception: Something totally unexpected happened
If I add a log of each received event
Exception: Something totally unexpected happened
Event Event(entity_type=<EventEntityType.JOB: 6>, operation=<EventOperation.UPDATE: 2>, entity_id='JOB_scenario_task_d60deb09-901b-45a7-bce4-6d59884077d5', attribute_name='status', attribute_value=<Status.FAILED: 6>, metadata={'creation_date': datetime.datetime(2024, 8, 28, 11, 20, 20, 875101), 'task_config_id': 'scenario_task', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 18009))
[2024-08-28 11:20:27.236][Taipy][WARNING] JOB_scenario_task_d60deb09-901b-45a7-bce4-6d59884077d5 is not in the blocked list anymore.
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_datetime_data_node_ff623edd-221e-4cc5-8879-511f29aab159', attribute_name='editor_id', attribute_value=None, metadata={'config_id': 'datetime_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 241947))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_datetime_data_node_ff623edd-221e-4cc5-8879-511f29aab159', attribute_name='editor_expiration_date', attribute_value=None, metadata={'config_id': 'datetime_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 243958))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_datetime_data_node_ff623edd-221e-4cc5-8879-511f29aab159', attribute_name='edit_in_progress', attribute_value=False, metadata={'config_id': 'datetime_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 246957))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_date_data_node_48205254-ccc1-494c-90b8-1cff191fe214', attribute_name='editor_id', attribute_value=None, metadata={'config_id': 'date_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 260488))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_date_data_node_48205254-ccc1-494c-90b8-1cff191fe214', attribute_name='editor_expiration_date', attribute_value=None, metadata={'config_id': 'date_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 262173))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_date_data_node_48205254-ccc1-494c-90b8-1cff191fe214', attribute_name='edit_in_progress', attribute_value=False, metadata={'config_id': 'date_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 264011))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_int_data_node_687b7e9b-c553-4b07-a303-70c0bbeb9f4a', attribute_name='editor_id', attribute_value=None, metadata={'config_id': 'int_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 274534))
[2024-08-28 11:20:27.308][Taipy][ERROR] 1 errors occurred during execution of job JOB_scenario_task_d60deb09-901b-45a7-bce4-6d59884077d5
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_int_data_node_687b7e9b-c553-4b07-a303-70c0bbeb9f4a', attribute_name='editor_expiration_date', attribute_value=None, metadata={'config_id': 'int_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 276533))
[2024-08-28 11:20:27.309][Taipy][ERROR] Exception: Something totally unexpected happened
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_int_data_node_687b7e9b-c553-4b07-a303-70c0bbeb9f4a', attribute_name='edit_in_progress', attribute_value=False, metadata={'config_id': 'int_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 279798))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_string_data_node_6dacd1d7-4673-442e-a5e3-18c881783648', attribute_name='editor_id', attribute_value=None, metadata={'config_id': 'string_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 292846))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_string_data_node_6dacd1d7-4673-442e-a5e3-18c881783648', attribute_name='editor_expiration_date', attribute_value=None, metadata={'config_id': 'string_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 294852))
Event Event(entity_type=<EventEntityType.DATA_NODE: 5>, operation=<EventOperation.UPDATE: 2>, entity_id='DATANODE_string_data_node_6dacd1d7-4673-442e-a5e3-18c881783648', attribute_name='edit_in_progress', attribute_value=False, metadata={'config_id': 'string_data_node', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 297851))
Event Event(entity_type=<EventEntityType.JOB: 6>, operation=<EventOperation.UPDATE: 2>, entity_id='JOB_scenario_task_d60deb09-901b-45a7-bce4-6d59884077d5', attribute_name='execution_ended_at', attribute_value=datetime.datetime(2024, 8, 28, 11, 20, 27, 310375), metadata={'creation_date': datetime.datetime(2024, 8, 28, 11, 20, 20, 875101), 'task_config_id': 'scenario_task', 'version': '0880e210-eb76-490c-ba8e-09488dc49586'}, creation_date=datetime.datetime(2024, 8, 28, 11, 20, 27, 310375))
there is an update on the status of the job which goes to FAILED
but there's no update for the submission which is used to update the scenario UI
@toan-quach Do you think an event for Submission could/should be sent ?
I have fixed the issue of not publishing the "FAILED" submission status https://github.com/Avaiga/taipy/pull/1722
However, I noticed that the status of the scenario is not updated :/
tx @toan-quach let me know when your PR is merged and I'll have another look
@toan-quach I've tested with your branch: works for me (tm)
awesome thanks @FredLL-Avaiga !
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.
@toan-quach @FredLL-Avaiga @FlorianJacta I believe this issue should be closed. Am I correct?
always happy to close
What went wrong? 🤔
My scenario raises an exception, but I don't see it failing when using the scenario viewer. The status in the scenario viewer says that it is still running.
If I use the on_submission_change callback, I also don't receive the event that the scenario submission has failed.
Expected Behavior
I should receive a "fail" event for my submission.
Steps to Reproduce Issue
Run this code and submit a scenario through the UI.
Version of Taipy
develop
Acceptance Criteria
Code of Conduct