-
Notifications
You must be signed in to change notification settings - Fork 10
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
H5 worker thread cannot be terminated at will #60
Comments
Need to ask Anaconda folks to update Qt/PyQt: ContinuumIO/anaconda-issues#9124 |
It's probably not this reason. Tried building PyQt 5.12.3 (conda-forge/pyqt-feedstock#61) on top of condo-forge's new Qt 5.12.1 (conda-forge/qt-feedstock#110). Still hangs. I probably used |
What is the type of |
It inherits from ptycho_gui/nsls2ptycho/core/ptycho_recon.py Lines 197 to 222 in 211041e
|
This is a follow-up of #26. The following code snippet was commented out because it would freeze the whole window:
ptycho_gui/nsls2ptycho/ptycho_gui.py
Lines 973 to 975 in 211041e
The offending call is
thread.terminate()
. As a result, currently during batch processing if one clicks "Stop", the H5 worker will still finish up the work in the background. Only the whole processing queue is killed.If a more recent Qt/PyQt5 is available (at least 5.10) we should revisit this problem. I suspect it's the underlying implementation causing the problem.
The text was updated successfully, but these errors were encountered: