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

Fix lockfile logic #3648

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Fix lockfile logic #3648

merged 1 commit into from
Aug 10, 2020

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Aug 4, 2020

The code to delete the lockfile was treating every exception as a retry-able failure, including FileNotFoundError. Obviously, if the file's not there, attempting four more times to delete it is counterproductive, so now we take that exception as a reason to immediately give up trying.

@ferdnyc
Copy link
Contributor Author

ferdnyc commented Aug 10, 2020

Merging this as it fixes a well-understood failure condition which has been observed in the wild multiple times. (It's only visible when running wirh --debug, which is why we hadn't noticed it until now.)

@ferdnyc ferdnyc merged commit 65e26c6 into OpenShot:develop Aug 10, 2020
@ferdnyc ferdnyc deleted the lock-file branch August 10, 2020 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant