Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot copy output file, check your permissions #264

Closed
fengziX opened this issue Mar 5, 2024 · 8 comments
Closed

Error: Cannot copy output file, check your permissions #264

fengziX opened this issue Mar 5, 2024 · 8 comments
Assignees
Labels

Comments

@fengziX
Copy link

fengziX commented Mar 5, 2024

Describe the bug
Error: Cannot copy output file, check your permissions

Software version
2.6.0

Operating System information
windows10 run as admin

Screenshots
QQ截图20240305135342

Application Log
[2024-03-05 13:55:09.620][C] Failed to copy from "C:/Users/Administrator/Desktop/002.jpg" to "C:/Users/Administrator/Desktop/002.jpg" (:0, )
[2024-03-05 13:55:09.628][I] Compression ended successfully.
Total images: 1
Uncompressed size: "1.51 MB"
Compressed size: "1.51 MB"
Elapsed time: 5920 ms
[2024-03-05 13:55:12.139][I] Usage report sent successfully

@fengziX
Copy link
Author

fengziX commented Mar 13, 2024

2.6.0 shows "Error: Cannot copy output file, check your permissions ",
but use 2.5.1 compress the same files, it shows "Skipped: compressed file is bigger than original"

@Lymphatus
Copy link
Owner

I'm assuming is a problem related to #234 and its fix. I'll check it out.

@JeckPeppinger
Copy link

I had the same message for some images on ubuntu 23.10 and CIC v2.7.0

@Lymphatus
Copy link
Owner

@JeckPeppinger Can you please share detailed steps that lead to the problem? I'm trying to reproduce the issue myself. Would be helpful if you could also share all the compression options you are using (you can attach screenshots or you can find them by going to Preferences > Show Usage Data > Compression Options)

@JeckPeppinger
Copy link

hi, i checked and did not find a log or history that shows something useful. Will take care in the future and provide evidence if it happens again.

@fengziX
Copy link
Author

fengziX commented Apr 17, 2024

@JeckPeppinger

It just looks like outputs the wrong "error".

It should be"Skipped: compressed file is bigger than original" , not "Error: Cannot copy output file, check your permissions ".

@JeckPeppinger
Copy link

Screenshot from 2024-04-23 22-38-16

captured the bug ... guess your hint that it should be the "skipped" message is correct.

Lymphatus added a commit that referenced this issue Apr 23, 2024
@Lymphatus
Copy link
Owner

I was able to reproduce the bug and pushed a tentative fix. As you said, the message was wrong because the app was not really dealing with the extension change in filename. Should work as expected now and I'm gonna publish the fix on 2.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants