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

Main thread is not in main loop #38

Open
ErichZimmer opened this issue Sep 14, 2021 · 1 comment
Open

Main thread is not in main loop #38

ErichZimmer opened this issue Sep 14, 2021 · 1 comment
Assignees

Comments

@ErichZimmer
Copy link
Collaborator

When batch processing some 100 image pairs without restarting the GUI with the Add-Ins system, the evaluation went pretty smooth. However, as soon as I click >save< in the Add-Ins GUI, it appears that the main GUI may not be in the main thread anymore. As soon a I start evaluating the image pairs again, I get a run-time error saying "main thread is not in main loop". If I remember right, this occurred with the non-h5py advanced GUI and was taken out (the restarting GUI part). A possible way around this issue could be to initialize all widgets and unpack or hide the selected widgets while storing the modifications in the json file. However, I haven't looked into the GUI much as I'm not using my laptop during my short PIV session.

OS: Windows 10 home and pro

@ErichZimmer
Copy link
Collaborator Author

I couldn't figure out how to solve this issue. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants