webdav: AttributeError: 'module' object has no attribute 'warn'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
duplicity version 0.7.13.1
python 2.7.9
Debian 8.9
Target: webdav via IIS v10 on Windows Server 2016
When using the webdav backend I got the error "AttributeError: 'module' object has no attribute 'warn'".
After some research I found the reason for this.
In backends/
After changing those both lines to log.Warn(...) everything works as expected.
Please excuse me for not fixing this bug myself and creating a pull request, but unfortunately I have no experience with bazaar.
Logs:
WebDAV create connection on 'example.com'
WebDAV PROPFIND /backup/ request with headers: {'Connection': 'keep-alive', 'Depth': '1'}
WebDAV data length: 95
WebDAV response status 401 with reason 'Unauthorized'.
Backtrace of previous error: Traceback (innermost last):
File "/usr/local/
return fn(self, *args)
File "/usr/local/
return [tobytes(x) for x in self.backend.
File "/usr/local/
raise e
AttributeError: 'module' object has no attribute 'warn'
Attempt 1 failed. AttributeError: 'module' object has no attribute 'warn'
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.7.14 |
status: | New → Fix Committed |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |