[PATCH] WebDAV backend doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm using duplicity 0.6.05 on Fedora 11 (Python 2.6) and wanted to try out WebDAV with humyo.com. However, I get the following traceback when I try to make a backup (or any other operation on the webdav space):
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
sync_archive()
File "/usr/bin/
remlist = globals.
File "/usr/lib64/
response = self.request(
File "/usr/lib64/
response = self.conn.
File "/usr/lib64/
raise ResponseNotReady()
ResponseNotReady
I don't know whether this problem is caused by humyo.com (I didn't test with any other webdav service), but I get the same traceback under CentOS 5.3, which uses python 2.4.3.
The attached patch fixes the problem for me.
Changed in duplicity: | |
status: | New → Fix Committed |
milestone: | none → 0.6.07 |
Changed in duplicity: | |
importance: | Undecided → Medium |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
I'm facing the same issue with Humyo.de. What I saw with tcpdump is that the response is HTTP/1.0, not 1.1. Not sure if that matters, though.
If you intend to apply the patch by hand, ensure that you use spaces not tabs to indent the line, especially watch out what the editor automatically inserts. That's what caused some headache for me.
The patch is working fine for me.