Bug 203130

Summary: python traceback: 'local_manifest' referenced before assignment
Product: [Fedora] Fedora Reporter: Guy Streeter <streeter>
Component: duplicityAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-01 00:40:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guy Streeter 2006-08-18 15:10:25 UTC
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
    check_last_manifest(col_stats)
  File "/usr/bin/duplicity", line 342, in check_last_manifest
    last_backup_set.check_manifests()
  File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 128, in
check_manifests
    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.

Comment 1 Robert Scheck 2006-08-20 00:03:09 UTC
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/ ;-)

Comment 2 Guy Streeter 2006-08-23 21:33:31 UTC
$ duplicity --exclude=/home/hsv/streeter/ext-trees/
--exclude=/home/hsv/streeter/tmp/ /home/hsv/streeter
file:///net/toaster/vol/home/oldhome/hsv/streeter/backup


Comment 3 Guy Streeter 2006-09-12 19:55:05 UTC
I updated to duplicity-0.4.2-3.fc5 and I still see the same failure.

Comment 4 Guy Streeter 2006-09-13 19:11:45 UTC
I emptied out my backup directory, and the problem went away.


Comment 5 Michael J Knox 2006-09-13 19:18:05 UTC
Interesting. After you have recreated your backup, if you backup again, do you
still get a trace back?

Comment 6 Guy Streeter 2006-09-13 19:32:22 UTC
No, I've run the command several times and it is working.

Comment 7 Robert Scheck 2006-10-29 18:16:26 UTC
Can I assume, that your problem is solved or were you able to reproduce the 
traceback in the meantime?

Comment 8 Guy Streeter 2006-10-30 15:30:38 UTC
I have not seen this problem since wiped my backup directory and started fresh.