UnboundLocalError: local variable 'document' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
When I invoke duplicity with
duplicity -v9 localdir/ webdav:
(with details filled in, of course), then I always get the following error:
------
Linux dhcppc0 2.6.34.
/usr/bin/python 2.6.5 (r265:79063, Oct 28 2010, 20:56:23)
[GCC 4.5.0 20100604 [gcc-4_5-branch revision 160292]]
=======
Using temporary directory /tmp/duplicity-
Registering (mkstemp) temporary file /tmp/duplicity-
Temp has 8678006784 available, backup will use approx 34078720.
Listing directory /remotedir/ on WebDAV server
WebDAV PROPFIND attempt #1 failed: 405 Method Not Allowed
Listing directory /remotedir/ on WebDAV server
WebDAV PROPFIND attempt #2 failed: 405 Method Not Allowed
Listing directory /remotedir/ on WebDAV server
WebDAV PROPFIND attempt #3 failed: 405 Method Not Allowed
Listing directory /remotedir/ on WebDAV server
WebDAV PROPFIND attempt #4 failed: 405 Method Not Allowed
Listing directory /remotedir/ on WebDAV server
WebDAV PROPFIND attempt #5 failed: 405 Method Not Allowed
Removing still remembered temporary file /tmp/duplicity-
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/
log.Info("%s" % (document,))
UnboundLocalError: local variable 'document' referenced before assignment
------
I am using duplicity 0.6.08b with python 2.6.5 on an OpenSuSE 11.3 system.
Maybe, it is because my username contains an '@'. I tried writing '\@' and putting the username in "s, but the same error occcurs. It is also the same with duplicity 0.6.11.
Cheers
Tobias
This also happens with duplicity 0.6.18-0ubuntu3