← Back to team overview

desktop-packages team mailing list archive

[Bug 875731] Re: Restore failed when restoring to a new install

 

[Expired for deja-dup (Ubuntu) because there has been no activity for 60
days.]

** Changed in: deja-dup (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to deja-dup in Ubuntu.
https://bugs.launchpad.net/bugs/875731

Title:
  Restore failed when restoring to a new install

Status in “deja-dup” package in Ubuntu:
  Expired

Bug description:
  I am using deja-dup to steup a new Ubuntu instance from the last
  backup of my previous computer.

  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1359, in <module>
      with_tempdir(main)
    File "/usr/bin/duplicity", line 1342, in with_tempdir
      fn()
    File "/usr/bin/duplicity", line 1276, in main
      restore(col_stats)
    File "/usr/bin/duplicity", line 591, in restore
      restore_get_patched_rop_iter(col_stats)):
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 523, in Write_ROPaths
      ITR( ropath.index, ropath )
    File "/usr/lib/python2.7/dist-packages/duplicity/lazy.py", line 335, in __call__
      last_branch.fast_process, args)
    File "/usr/lib/python2.7/dist-packages/duplicity/robust.py", line 37, in check_common_error
      return function(*args)
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 576, in fast_process
      ropath.copy( self.base_path.new_index( index ) )
    File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 425, in copy
      other.writefileobj(self.open("rb"))
    File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 601, in writefileobj
      buf = fin.read(_copy_blocksize)
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 201, in read
      if not self.addtobuffer():
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 226, in addtobuffer
      self.tarinfo_list[0] = self.tar_iter.next()
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 333, in next
      self.set_tarfile()
    File "/usr/lib/python2.7/dist-packages/duplicity/patchdir.py", line 322, in set_tarfile
      self.current_fp = self.fileobj_iter.next()
    File "/usr/bin/duplicity", line 628, in get_fileobj_iter
      manifest.volume_info_dict[vol_num])
    File "/usr/bin/duplicity", line 649, in restore_get_enc_fileobj
      backend.get(filename, tdp)
    File "/usr/lib/python2.7/dist-packages/duplicity/backend.py", line 319, in iterate
      return fn(*args, **kwargs)
    File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 197, in get
      self.handle_error(raise_errors, 'get', answer, remote_full, filename)
    File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 126, in handle_error
      code = self.parse_error(headers, ignore)
    File "/usr/lib/python2.7/dist-packages/duplicity/backends/u1backend.py", line 104, in parse_error
      status = int(headers[0].get('status'))
  AttributeError: 'str' object has no attribute 'get'

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: deja-dup 20.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Sun Oct 16 09:55:23 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: deja-dup
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deja-dup/+bug/875731/+subscriptions


References