Lymphatus / caesium-image-compressor

Caesium is an image compression software that helps you store, send and share digital pictures, supporting JPG, PNG, WebP and TIFF formats. You can quickly reduce the file size (and resolution, if you want) by preserving the overall quality of the image.
https://saerasoft.com/caesium
GNU General Public License v3.0
3.47k stars 209 forks source link

2.4.0 : can't compress anymore : "check your permissions" error #203

Closed Asgatlat closed 1 year ago

Asgatlat commented 1 year ago

Describe the bug i cannot compress anymore my photos on my nas storage

Software version The version of Caesium Image Compressor 2.4.0

Operating System information

Screenshots image

Application Log caesium-2023-05-30.log

Lymphatus commented 1 year ago

Does it work on the 2.3.x version?

Asgatlat commented 1 year ago

i just tried with 2.3.1 portable version, it works

Lymphatus commented 1 year ago

The bug is caused by the app trying to move the file to trash instead of deleting it right away. This is a new feature in 2.4.0 to allow the user to recover the files even if they are overwritten by the "Same folder as input option". Unfortunately you cannot move to trash files on a NAS Storage, so the app fails there. I will solve this by trying to trash the files as for now, but if it fails it will just remove it as before. Nice catch, thanks.

Asgatlat commented 1 year ago

2.4.1 fixed the bug, thank you :)