chriskiehl / Gooey

Turn (almost) any Python command line program into a full GUI application with one line
MIT License
20.68k stars 1.02k forks source link

Gooey freezing and not showing simple print statements #903

Open bellaroylediegesis opened 9 months ago

bellaroylediegesis commented 9 months ago

Hi, i don't have much experience with Gooey, but i have a client that has an existing application that uses it and after research i have no idea what is causing the issues!

Windows 10 OS Python Version 3.8 Gooey Version 1.0.8.1

I have a program that converts xml files to txt. Gooey is used simply to select the files to run with, then to display progress messages through simple print statements. The issue is the output keeps freezing, at roughly (but not exactly) the same spot, even though the underlying code continues to run. Even when the underlying code has completed, it just stays as frozen / not responding.

I tried reducing no of print statements and adding sys.stdout.flush() after each print, incase the standard out buffer is getting full, but it did not help.

what is strange is there are two systems that run this program, on one it freezes and on the other it doesnt. The code is exactly the same, and so is the python version. I believe the gooey version is also the same but that needs to be double checked.

Appreciate any suggestions! Thanks!

elad-eyal commented 5 months ago

I bet running without gooey you'll see the same behavior