deja-dup crashes during restore from ubuntu one

Bug #942688 reported by Marcin Dylewski
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
deja-dup (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Marcin Dylewski (marcin-dylewski-m) wrote :
Revision history for this message
Michael Terry (mterry) wrote :

Is this repeatable? Can you provide the file /tmp/deja-dup.log after running the line below and replicating the problem (you may want to scrub the log of any incriminating file names or details):

DEJA_DUP_DEBUG=1 deja-dup --restore | tail -n 1000 > /tmp/deja-dup.log

Changed in deja-dup (Ubuntu):
status: New → Incomplete
Revision history for this message
Marcin Dylewski (marcin-dylewski-m) wrote :

Yes, it was repetable all the time. I've tried 4 or 5 times before submitting the bug report. Then i tried to restore the backup to different locations and it worked. Sorry but I cannot reproduce the bug now, because I don't have a testing system right now.

Michael Terry (mterry)
Changed in deja-dup (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in deja-dup (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in deja-dup (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.