cleanup/sftp: "Couldn't delete file: Failure'" only logged on level 9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
With verbosity 8 I am getting the following log entries:
sftp command: 'rm "duplicity-
sftp command: 'rm "duplicity-
Only using the max verbosity (9) the error shows up:
sftp command: 'rm "duplicity-
State = sftp, Before = 'rm "duplicity-
Removing /moby/duplicity
Couldn't delete file: Failure'
(note that there are extra ^M characters for messages of this level, too).
These errors should show up on every level, but apparently on the default log level of 4.
This is duplicity 0.6.10.
From a quick glance at the source in duplicity/
Related branches
- Kenneth Loafman: Pending requested
- Diff: 0 lines
description: | updated |
Changed in duplicity: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.6.11 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I am attaching a branch/patch meant to fix this, but have not tested it.
If you're unsure if this fix works, I can setup a test environment (i.e. fill up the backup space again and hope that it fails again when trying to remove files), or a mocked test could be used instead (which would return this result).