WebDAV backend creates only tiny or 0 Byte files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned | ||
duplicity (Ubuntu) |
Fix Committed
|
Low
|
Unassigned |
Bug Description
When using the WebDAV backend only tiny or 0-Byte files get created at the WebDAV storage. Duplicity itself doesn't report any error, only the uploaded file size is too small.
Duplicity version: 0.8.12.1596
Python version: 3.6.10
OS Distro and version: gentoo
Type of target filesystem: Linux, Windows, other.: WebDAV
############
I created a 10000000 Byte testfile. The uploaded file sizes are way too small:
...
WebDAV PUT /remote.
WebDAV data length: 78
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT /remote.
WebDAV data length: 138
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT /remote.
WebDAV data length: 129
WebDAV response status 201 with reason 'Created'.
...
Verification of this backup fails.
############
I made a small fix in duplicity/
############
Now everything works as expected:
...
WebDAV PUT /remote.
WebDAV data length: 28794233
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT /remote.
WebDAV data length: 169724
WebDAV response status 201 with reason 'Created'.
...
WebDAV PUT /remote.
WebDAV data length: 1332
WebDAV response status 201 with reason 'Created'.
...
Verification of this backup was successful.
############
description: | updated |
Changed in duplicity: | |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
importance: | Undecided → Medium |
milestone: | none → 0.8.13 |
status: | New → In Progress |
Changed in duplicity (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in duplicity: | |
status: | In Progress → Fix Committed |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Changed in duplicity (Ubuntu): | |
status: | Triaged → Fix Committed |
The attachment "patch for duplicity/ backends/ webdavbackend. py" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]