Comments (2)
I tried to reproduce this by just running the test on Mac and it does not produce it. However... The problem might be here?
def restore_text():
self.copy_button.setIcon(QIcon(icon_path))
Timer(1.0, restore_text).start()
This does not check if the component has been destroyed. So if the user clicks it, then within 1sec does something that destroys the component (changing views or something like that), the timer will still trigger the restore_text
function, which will try to modify a now non-existing component.
Maybe just a check for this in restore_text, something like this:
def restore_text():
if self.copy_button.isVisible():
self.copy_button.setIcon(QIcon(icon_path))
from ert.
Maybe just a check for this in restore_text, something like this:
def restore_text(): if self.copy_button.isVisible(): self.copy_button.setIcon(QIcon(icon_path))
Yes, the culprit is that the timer triggers after the object is destroyed, but isVisible
doesn't solve this. Probably we will have to replace timer with a slot mechanism which can be disconnected.
from ert.
Related Issues (20)
- ForwardModelStepPlugin and related symbols should be discussed in the docs
- src/ert/shared/share/ert/forward-models/old_style should be replaced by the new ForwardModelStepPlugin system
- Creating a storage with bleeding will cause `2024.06.00` to fail HOT 1
- Add option to keep observations for validation
- Add Runtime information per realization
- Tag which forward models run on lsf HOT 1
- Merge snapshot and partialsnapshot
- Have GUI keep state internally instead of piggybacking on snapshots
- Refactor the gui models and how data is consumed from snapshot events
- New LSF driver makes it difficult to see which komodo release is used with bhist
- Implement NUM_CPU config in the LSFDriver
- Investigate use of bmod for memory managment
- Improve scheduler tests towards NUM_CPU config key
- Fix integration_tests/scheduler/test_lsf_driver.py::test_submit_with_num_cpu
- Presumably finished realization displayed as pending in joblist view
- Success or failure of realization is logged with debug log level
- Jobs not submitted to lsf HOT 1
- Validate that MAX_SUBMIT is larger than 0
- Provide correct realization state when resubmitting the forward model
- Clicking observations in Experiment manager crashes ert
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ert.