python exception when backup is moved

Bug #503175 reported by az on 2010-01-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Duplicity
Undecided
Unassigned

Bug Description

this is a forward of debian bug #563418 (which lives there: http://bugs.debian.org/563418).

--quote--
while trying out duplicity, I ran across the issue that I cannot move
my backup without getting an python exception:

aba@alius:~/DUPL$ mkdir source target
aba@alius:~/DUPL$ touch source/1
aba@alius:~/DUPL$ duplicity full source/ file:///home/aba/DUPL/target/1 --no-encryption
Last full backup date: none
--------------[ Backup Statistics ]--------------
StartTime 1262461299.99 (Sat Jan 2 19:41:39 2010)
EndTime 1262461300.08 (Sat Jan 2 19:41:40 2010)
ElapsedTime 0.09 (0.09 seconds)
SourceFiles 2
SourceFileSize 4096 (4.00 KB)
NewFiles 2
NewFileSize 4096 (4.00 KB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 2
RawDeltaSize 0 (0 bytes)
TotalDestinationSizeChange 126 (126 bytes)
Errors 0
-------------------------------------------------

aba@alius:~/DUPL$ duplicity list-current-files file:///home/aba/DUPL/target/1
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Jan 2 19:41:39 2010
Sat Jan 2 19:41:29 2010 .
Sat Jan 2 19:34:01 2010 1
aba@alius:~/DUPL$ cp -a target/1 target/2
aba@alius:~/DUPL$ duplicity list-current-files file:///home/aba/DUPL/target/2
Synchronizing remote metadata to local cache...
Copying duplicity-full-signatures.20100102T194139Z.sigtar to local cache.
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1236, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1229, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1130, in main
    sync_archive()
  File "/usr/bin/duplicity", line 947, in sync_archive
    copy_to_local(fn)
  File "/usr/bin/duplicity", line 899, in copy_to_local
    fileobj = globals.backend.get_fileobj_read(rem_name)
  File "/usr/lib/python2.5/site-packages/duplicity/backend.py", line 449, in get_fileobj_read
    self.get(filename, tdp)
  File "/usr/lib/python2.5/site-packages/duplicity/backends/localbackend.py", line 62, in get
    local_path.writefileobj(source_path.open("rb"))
  File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 515, in open
    result = open(self.name, mode)
IOError: [Errno 2] No such file or directory: '/home/aba/DUPL/target/2/duplicity-full-signatures.20100102T194139Z.sigtar.gpg'

aba@alius:~/DUPL$

I can verify that there is no sigtar in neither location.
--quote--

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers