Duplicity fails during backup in with_tempdir()

Bug #1348193 reported by Sameer Morar
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Déjà Dup
New
Undecided
Unassigned
deja-dup (Ubuntu)
Confirmed
Undecided
Unassigned
duplicity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

duplicity:
  Installed: 0.6.23-1ubuntu5
  Candidate: 0.6.23-1ubuntu5
  Version table:
 *** 0.6.23-1ubuntu5 0
        500 http://au.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
        100 /var/lib/dpkg/status

During a full system backup, using the deja-dup, the process gets about half-way through and then stops with the following error:
Backup Failed
Failed with an unknown error.

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1494, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1488, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1337, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1458, in do_backup
    full_backup(col_stats)
  File "/usr/bin/duplicity", line 542, in full_backup
    globals.backend)
  File "/usr/bin/duplicity", line 403, in write_multivol
    globals.gpg_profile, globals.volsize)
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 324, in GPGWriteFile
    file = GPGFile(True, path.Path(filename), profile)
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 105, in __init__
    self.logger_fp = tempfile.TemporaryFile( dir=tempdir.default().dir() )
  File "/usr/lib/python2.7/tempfile.py", line 497, in TemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/tmp/duplicity-DEgmK7-tempdir/tmplcuF1s'

The referred to directory does not exist, however, the following one does exist:
/tmp/duplicity-l4bYos-tempdir/

Sameer Morar (smorar)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in duplicity (Ubuntu):
status: New → Confirmed
Changed in deja-dup (Ubuntu):
status: New → Confirmed
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.