Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing responses.json when opening ert #9493

Open
2 of 9 tasks
sondreso opened this issue Dec 10, 2024 · 3 comments · May be fixed by #9589
Open
2 of 9 tasks

Missing responses.json when opening ert #9493

sondreso opened this issue Dec 10, 2024 · 3 comments · May be fixed by #9589
Assignees
Labels

Comments

@sondreso
Copy link
Collaborator

What happened? (You can include a screenshot if it helps explain)

The following exception was found in the logs:

Traceback (most recent call last):
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/__main__.py", line 690, in main
args.func(args, context.plugin_manager)
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/__main__.py", line 195, in run_gui_wrapper
run_gui(args, ert_plugin_manager)
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/main.py", line 55, in run_gui
window, ens_path = _start_initial_gui_window(args, log_handler, plugin_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/main.py", line 128, in _start_initial_gui_window
_main_window = _setup_main_window(
^^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/main.py", line 169, in _setup_main_window
window.post_init()
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/main_window.py", line 231, in post_init
experiment_panel = ExperimentPanel(
^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/simulation/experiment_panel.py", line 152, in __init__
EvaluateEnsemblePanel(ensemble_size, run_path, notifier),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/simulation/evaluate_ensemble_panel.py", line 54, in __init__
self._realizations_from_fs()
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/gui/simulation/evaluate_ensemble_panel.py", line 88, in _realizations_from_fs
missing_responses = ~ensemble.get_realization_mask_with_responses()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/storage/local_ensemble.py", line 251, in get_realization_mask_with_responses
[
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/storage/local_ensemble.py", line 252, in <listcomp>
self._responses_exist_for_realization(i, key)
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/storage/local_ensemble.py", line 300, in _responses_exist_for_realization
if not self.experiment.response_configuration:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/storage/local_experiment.py", line 300, in response_configuration
for data in self.response_info.values():
^^^^^^^^^^^^^^^^^^
File "/prog/res/komodo/2024.11.11-py311-rhel8/root/lib64/python3.11/site-packages/ert/storage/local_experiment.py", line 263, in response_info
raise ValueError(f"{self._responses_file!s} does not exist")
ValueError: responses.json does not exist

Link to trace: https://fmu-dashboard-fdeqekb8chekcqhu.neu.grafana.azure.com/d/ae0bpm0169ou8e/traces?from=now-30d&to=now&var-operation_id=352106f845ac2bdc5ffc781da018384c

What did you expect to happen?

Not crash

steps to reproduce

TBD

Environment where bug has been observed

  • python 3.11
  • python 3.12
  • macosx
  • rhel7
  • rhel8
  • local queue
  • lsf queue
  • slurm queue
  • openPBS queue
@sondreso sondreso added the bug label Dec 10, 2024
@sondreso sondreso moved this to Todo in SCOUT Dec 11, 2024
@jonathan-eq jonathan-eq self-assigned this Dec 16, 2024
@jonathan-eq jonathan-eq moved this from Todo to In Progress in SCOUT Dec 16, 2024
@jonathan-eq
Copy link
Contributor

jonathan-eq commented Dec 16, 2024

This was fixed by e480001. Will backport
EDIT: Was not fixed by this commit

@jonathan-eq
Copy link
Contributor

I want to disable the buttons for ensembles on an invalid experiment, so the user won't be able to interact with those.

@jonathan-eq
Copy link
Contributor

jonathan-eq commented Jan 14, 2025

The error can also come from forward_model_ok
EDIT: This can happen if the responses.json file is deleting in the middle of a run

@jonathan-eq jonathan-eq linked a pull request Jan 14, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants