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

Esc button crashes gui if event viewer is open #8465

Closed
2 of 13 tasks
larsevj opened this issue Aug 14, 2024 · 1 comment · Fixed by #8480
Closed
2 of 13 tasks

Esc button crashes gui if event viewer is open #8465

larsevj opened this issue Aug 14, 2024 · 1 comment · Fixed by #8480
Labels

Comments

@larsevj
Copy link
Contributor

larsevj commented Aug 14, 2024

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

If you happen to press ESC when the event viewer or the export data windows is open, the gui crashes with the following error message:

Traceback (most recent call last):
  File "/data/komodo_dev/ert/src/ert/gui/ertwidgets/closabledialog.py", line 52, in keyPressEvent
    self._close_button.isEnabled()
    ^^^^^^^^^^^^^^^^^^
AttributeError: 'ClosableDialog' object has no attribute '_close_button'. Did you mean: 'close_button'?
Aborted (core dumped)

What did you expect to happen?

I would expect the event viewer window to close or nothing to happen at all.

steps to reproduce

ert gui poly.ert
open up event viewer window
Press ESC

Environment where bug has been observed

  • python 3.8
  • python 3.9
  • python 3.10
  • python 3.11
  • python 3.12
  • macosx
  • rhel7
  • rhel8
  • local queue
  • lsf queue
  • slurm queue
  • openPBS queue
  • used flag --enable-scheduler
@larsevj
Copy link
Contributor Author

larsevj commented Aug 15, 2024

Also present on upcoming stable 2024.08.00.

@sondreso sondreso moved this to Todo in SCOUT Aug 15, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in SCOUT Aug 16, 2024
@eivindjahren eivindjahren moved this to Done in SCOUT Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant