-
Notifications
You must be signed in to change notification settings - Fork 13
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
Abnormal exit #7
Comments
@zibo-chen |
I see your error description is that the clipboard handle cannot be opened. I think this is a random situation. Can you try a few more times to check? Failure to obtain the clipboard handle is normal, so the code retries 10 times by default. If you still can't get it, is it possible that another program of yours is occupying the clipboard handle? |
I frequently encounter this issue within Excel, but I have managed to resolve it by introducing a delay in the process. It seems that Excel might be writing to the clipboard multiple times in quick succession, which could cause the program to fail in obtaining the clipboard handle. By adding a pause, it allows enough time for the clipboard to become available again before the program attempts to access it. This workaround has been effective for me. |
@zibo-chen |
thread '' panicked at C:\Users\Administrator.cargo\registry\src\github.com-1ecc6299db9ec823\clipboard-rs-0.1.2\src\platform\win.rs:72:60:
Open clipboard: OSError(5)
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceRecurrence method : When copying text in windows Terminal
The text was updated successfully, but these errors were encountered: