duplicity crash: "AssertionError: rb None None"

Bug #835892 reported by Vaibhav
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Duplicity
Fix Released
Medium
Unassigned
Déjà Dup
Invalid
Undecided
Unassigned
duplicity (Ubuntu)
Fix Released
Medium
Michael Terry
Oneiric
Won't Fix
Medium
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1262, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1255, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1237, in main
    incremental_backup(sig_chain)
  File "/usr/bin/duplicity", line 479, in incremental_backup
    bytes_written = dummy_backup(tarblock_iter)
  File "/usr/bin/duplicity", line 161, in dummy_backup
    while tarblock_iter.next():
  File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 505, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 208, in get_delta_iter
    (new_path, sig_path, sigTarFile))
  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/diffdir.py", line 126, in get_delta_path
    old_sigfp = sig_path.open("rb")
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 156, in open
    "%s %s %s" % (mode, self.fileobj, self.opened)
AssertionError: rb None None

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: deja-dup 18.1.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic-pae 2.6.38.8
Uname: Linux 2.6.38-11-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
CheckboxSubmission: 1ac9995abbd9123cea98763317e72e22
CheckboxSystem: 0ede5de78dbf0a79de4ac93c88c84721
Date: Sun Aug 28 01:12:23 2011
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: deja-dup
UpgradeStatus: Upgraded to natty on 2011-04-23 (126 days ago)

Related branches

Revision history for this message
Vaibhav (vnagarnaik) wrote :
Michael Terry (mterry)
summary: - duplicity backup failed with unknown error
+ duplicity crash: "AssertionError: rb None None"
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
Steve Magoun (smagoun) wrote :

Reproduced this on 11.10 w/ latest updates as of October 4, 1300UTC. Stack trace was the same, though the line numbers were different.

duplicity 0.6.15-0ubuntu2
deja-dup 20.0-0ubuntu3

I'm backing up to an existing deja dup store on an external drive.

Revision history for this message
Steve Magoun (smagoun) wrote :

Stack dump associated w/ comment #7:

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 1324, in main
    incremental_backup(sig_chain)
  File "/usr/bin/duplicity", line 531, in incremental_backup
    bytes_written = dummy_backup(tarblock_iter)
  File "/usr/bin/duplicity", line 193, in dummy_backup
    while tarblock_iter.next():
  File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 509, in next
    result = self.process(self.input_iter.next(), size)
  File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 208, in get_delta_iter
    (new_path, sig_path, sigTarFile))
  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/diffdir.py", line 126, in get_delta_path
    old_sigfp = sig_path.open("rb")
  File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 157, in open
    "%s %s %s" % (mode, self.fileobj, self.opened)
AssertionError: rb None None

Revision history for this message
Michael Terry (mterry) wrote :

Since I work with Steve Magoun and he was generous enough to provide me a copy of his backup data, I've been able to reproduce this. Looking into it now.

Changed in duplicity:
assignee: nobody → Michael Terry (mterry)
status: New → Confirmed
status: Confirmed → In Progress
Michael Terry (mterry)
affects: deja-dup (Ubuntu) → duplicity (Ubuntu)
Changed in duplicity (Ubuntu):
importance: Undecided → Medium
milestone: none → oneiric-updates
Changed in deja-dup:
status: New → Invalid
Michael Terry (mterry)
Changed in duplicity (Ubuntu Oneiric):
assignee: nobody → Michael Terry (mterry)
Changed in duplicity:
importance: Undecided → Medium
milestone: none → 0.6.16
assignee: Michael Terry (mterry) → nobody
status: In Progress → Fix Committed
Changed in duplicity:
status: Fix Committed → Fix Released
Revision history for this message
Michael Terry (mterry) wrote :

Fixed in precise with 0.6.17

Changed in duplicity (Ubuntu):
milestone: oneiric-updates → none
status: Confirmed → Fix Released
Changed in duplicity (Ubuntu Oneiric):
assignee: Michael Terry (mterry) → nobody
Revision history for this message
Rolf Leggewie (r0lf) wrote :

oneiric has seen the end of its life and is no longer receiving any updates. Marking the oneiric task for this ticket as "Won't Fix".

Changed in duplicity (Ubuntu Oneiric):
status: Confirmed → Won't Fix
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.