Closed LalFX closed 2 years ago
Just to update the issue I was facing. The problem has been sorted - in case anyone else comes up on the same issue. I uninstalled the 32bit Python I was using of late (trying to solve the pygubu-designer issue) and installed a 64bit version.
When I did that, I noticed that Pillow and Pygubu had to be re-installed. Once that was complete - the code works again.
I have no idea why that worked or why the issue happened in the first place or why the compiled file worked. I do appreciate any suggestions if anyone can tell me what I was doing wrong in the first place.
Hi,
This is not a pygubu error per se - but a really weird error that I could not figure out. I have a piece of code that was working fine till recently.
It is a small batch image resizing program using Pillow.
The ThreadPool part of the code has not changed but recently it fails every time with my full processor (24) count. If I reduce the number of threads to 12-13, it completes the task. More than that it errors out with a bootstrap error.
However, if I compile the code (I have been using Nuitka) - I have no issues with the compiled exe file. It resizes any number of files without issues. I have been scratching my head for a few days now without any ideas in spite of trying everything. I would really appreciate any help you can suggest.
The problem code is below; (Apologies - I am new to github and could not figure out how to get the code looking formatted)
the full code is here
The UI looks like this: