Build Process will crash if file stops existing at any point #35
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zadammac/Tapestry#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
A long running backup will crash mid-process if a file vanishes at any point. This bug was originally encountered during the AccessTest function, which nominally should be checking if a file exists, so we have a double bug.
The exception is OSError, so we really just need to add handling for it.
To Reproduce
Steps to reproduce the behavior:
~/.config/on an in-use system.--incmode.Expected behavior
An error should be logged but the actual backup process should continue.
Log/Console Output
-stack trace abbreviated-
OSError: [Errno 6] No such device or address: '/home/patches/.config/discord/SS'
Desktop (please complete the following information):
Additional context
Exposed during the same ordinary usage as #34 and likely a similarly minor fix. Should be fixed in the same minor release.
This is now "handled" by printing and logging a warning. Obviously we can't actually back up a file that has stopped existing.