← Back to team overview

desktop-packages team mailing list archive

[Bug 942688] Re: deja-dup crashes during restore from ubuntu one

 

This version has expired

** Changed in: deja-dup (Ubuntu)
       Status: Confirmed => Invalid

-- 
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/942688

Title:
  deja-dup crashes  during restore from ubuntu one

Status in deja-dup package in Ubuntu:
  Invalid

Bug description:
  It is asking me for Ubuntu One login before the start and during the
  restore. After providing the correct credentials it is working for
  some time and suddenly fails with the following trace.

  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.1-0ubuntu0.2
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Feb 28 16:28:13 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  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/942688/+subscriptions