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

Screen capturing stops on Windows after a while with error "Access denied" #2

Open
arividar opened this issue Mar 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@arividar
Copy link
Owner

arividar commented Mar 5, 2023

The error occurs on Windows in a realease build after running for a while:

[2023-03-05T09:59:08Z INFO  scrabber] Wrote screenshot C:\Users\Ari\OneDrive\__TimeTrack\2023-03-05\2023-03-05T09.59.08.png
[2023-03-05T09:59:19Z INFO  scrabber] Wrote screenshot C:\Users\Ari\OneDrive\__TimeTrack\2023-03-05\2023-03-05T09.59.18.png
[2023-03-05T09:59:29Z INFO  scrabber] Wrote screenshot C:\Users\Ari\OneDrive\__TimeTrack\2023-03-05\2023-03-05T09.59.29.png
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Access is denied. (0x80070005)', src\lib.rs:28:38
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\scrabber.exe --path C:\Users\Ari\OneDrive\__TimeTrack\ -f` (exit code: 101)
@arividar arividar self-assigned this Mar 5, 2023
@arividar
Copy link
Owner Author

arividar commented Mar 5, 2023

The disk was not full - so that is not the reason.

@arividar arividar added the bug Something isn't working label Mar 5, 2023
@arividar
Copy link
Owner Author

arividar commented Mar 5, 2023

Does not seem to occur on Mac - probably an Windows only problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant