You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run OpenPIVgui using MultiProcess but it doesn’t work.(I can run this program using only 1 core)
This is the error message
‘PIV evaluation thread stopped. cannot pickle '_tkinter.tkapp' object’
I found this error occurs at line 224 in ‘OpenPivGui.py’ (line 496 in ’openpiv.tools’ exactly).
‘mp.run(func=mp.process, n_cpus=cpu_count)’ in ‘OpenPivGui.py’.
‘res = pool.map(func, image_pairs)’ in ‘openpiv.tools.py’
Would you teach me how can I run OpenPIVgui using MultiProcess?
Version
Python: 3.9
Windows:10
OpenPIVgui:0.4.11
The text was updated successfully, but these errors were encountered:
I am able to replicate the issue on python 3.8.5 and 3.9 with the following environment:
OS: Windows 10 Pro (unactivated)
Python: 3.8.5, 3.9
OpenPIV: 0.23.8
OpenPivGui: 0.4.11
Note: I installed OpenPIV first, then OpenPivGui due to cellular data restrictions
The question is why did the GUI work before, but not now?
Error is traced back to openpiv.tools.multiprocessor, but nothing seemed to have been changed. I can't figure out a way around it other than using alternative process-based parallel processing packages.
Perhaps, @GregorBecker can help with this specific issue?
I want to run OpenPIVgui using MultiProcess but it doesn’t work.(I can run this program using only 1 core)
This is the error message
‘PIV evaluation thread stopped. cannot pickle '_tkinter.tkapp' object’
I found this error occurs at line 224 in ‘OpenPivGui.py’ (line 496 in ’openpiv.tools’ exactly).
‘mp.run(func=mp.process, n_cpus=cpu_count)’ in ‘OpenPivGui.py’.
‘res = pool.map(func, image_pairs)’ in ‘openpiv.tools.py’
Would you teach me how can I run OpenPIVgui using MultiProcess?
Version
Python: 3.9
Windows:10
OpenPIVgui:0.4.11
The text was updated successfully, but these errors were encountered: