ert icon indicating copy to clipboard operation
ert copied to clipboard

Failed realization shows as successful (or vice versa?)

Open yngve-sk opened this issue 1 year ago • 1 comments

Describe the bug A successfully run realization shows up with an error in the GUI. Might be related to restart

Screenshot 2024-02-21 at 10 29 20

To reproduce Steps to reproduce the behaviour: 0. Use this as the main content in poly_eval.py:

if __name__ == "__main__":
    if random.random() > 0.6:
        sys.exit(2)

    if random.random() > 0.8:
        time.sleep(60)

    coeffs = _load_coeffs("parameters.json")
    output = [_evaluate(coeffs, x) for x in range(10)]
    with open("poly.out", "w", encoding="utf-8") as f:
        f.write("\n".join(map(str, output)))
  1. Run poly example in gui
  2. There will be some realizations that are successful but also show an error.

Expected behaviour It should not show an error if run successfully

Environment

  • OS: MacOS 13.4
  • ERT/Komodo release: Bleeding
  • Python version: 3.10
  • Remote/HPC execution involved: no

yngve-sk avatar Feb 21 '24 09:02 yngve-sk

Still happens if running for example snake oil with many realizations on RGS Screenshot 2024-04-23 at 13 48 04

yngve-sk avatar Apr 23 '24 11:04 yngve-sk

Can no longer reproduce closing the issue again.

DanSava avatar Jun 13 '24 11:06 DanSava