Red Hat Bugzilla – Bug 203130
python traceback: 'local_manifest' referenced before assignment
Last modified: 2016-02-09 20:32:38 EST
Trying to use duplicity to make an incremental backup, I'm getting this (after
entering my gpg key):
Traceback (most recent call last):
File "/usr/bin/duplicity", line 373, in ?
if __name__ == "__main__": main()
File "/usr/bin/duplicity", line 362, in main
File "/usr/bin/duplicity", line 342, in check_last_manifest
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 128, in
if local_manifest: remote_manifest = local_manifest
UnboundLocalError: local variable 'local_manifest' referenced before assignment
This is completely reproducible.
It doen't look like the duplicity package or the python package has changed
since the last time this worked sucessfully.
The destination is a file:// url.
Can you please provide the command you're using for duplicity? BTW, hopefully
you're using the correct file:///foo/ and not the wrong file://foo/ ;-)
$ duplicity --exclude=/home/hsv/streeter/ext-trees/
I updated to duplicity-0.4.2-3.fc5 and I still see the same failure.
I emptied out my backup directory, and the problem went away.
Interesting. After you have recreated your backup, if you backup again, do you
still get a trace back?
No, I've run the command several times and it is working.
Can I assume, that your problem is solved or were you able to reproduce the
traceback in the meantime?
I have not seen this problem since wiped my backup directory and started fresh.