Detect which files have the "could not complete your request because of a program error"?
Hi everyone~
I've recently given up on fixing this problem after trying countless solutions I've gathered from around the world. So the question is: Is there a way to detect a corrupted PSD/PSB file using libraries like PSD-Tools (checking without opening the file in Photoshop)? Reading the file header doesn't seem to identify the problem...
My day pretty much revolves around:
1/ Opening the file (perfectly normal) and editing it
2/ Saving the file
3/ Fack at the end of the day because the PSD file won't open because photoshop displaying a 'could not complete your request because of a program error' popup immediately upon opening.
Rasterizing the entire text layer partially solves the problem, so I suspect the issue lies with the text layers. But my work requires me to keep the entire text layer; I can't rasterize them...
Does anyone have a solution?
(Please refrain from suggesting obvious solutions that already exist, as I have already tried almost all of them)

