Skip to content

Conversation

@kieranjol
Copy link
Contributor

This is a fix for #191 and #134. If a lock is placed on the tmp folder by antivirus or other tools on Windows, the renaming is not allowed and bagit exits with an error. This adds a try/except loop and retries after ten seconds. I'm very open to how this is handled, perhaps it should die after X number of retries or the timing should be changed.

@acdha acdha merged commit 7498a5e into LibraryOfCongress:master Aug 14, 2025
6 checks passed
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.

2 participants