diStyApps / Stable-Diffusion-Pickle-Scanner-GUI

Pickle Scanner GUI
MIT License
213 stars 24 forks source link

[Bug] Corrupted zip file causes crash instead of failing gracefully. #3

Closed ThomasWeber closed 1 year ago

ThomasWeber commented 1 year ago

Corrupted zip file causes crash instead of failing gracefully or notifying user.

How to reproduce: Create a bad ckpt (such as by interrupting a merge), then scan a directory with it. You'll get an error about a bad zip file and the entire program will crash.

Expected behavior: Notify the user that the ckpt is corrupted.

diStyApps commented 1 year ago

Thanks for opening this issue.