-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Bug]: The process cannot access the file because it is used by another process. #106
Comments
I can't quite seem to track down the source of this bug. It says that the array can't be null when doing File.Write, but the content isn't null when I try it outside of the script. I'll keep looking at this |
I guess this is what you saw?
|
I see why it is misclassifying it as .winget-tmp in the autoupgrade, but that is minor. I actually saw both, but I believe they are the same root cause. I think that with larger files, it isn't able to write them properly and terminates before closing the file stream. I'm wondering now if it wouldn't be better to just use the naming convention of |
I think the error that occurred here is also related to this issue.
Octopus Deploy's installer is 1.7 GB in size. Edit: This run also failed at Octopus Deploy Server - https://github.com/vedantmgoyal2009/winget-pkgs-automation/runs/3983305585?check_suite_focus=true |
Brief description of your issue
Found a issue when i wanted to update the metadata for
Oracle.JDK.17
I've found no workaround for the issue, wingetcreate does not have this issue.
Steps to reproduce
Option 1, 2 or AutoUpdate
Expected behavior
For it to work like any other update
Actual behavior
Environment
The text was updated successfully, but these errors were encountered: