← Back to team overview

desktop-packages team mailing list archive

[Bug 1348193] Re: Duplicity fails during backup in with_tempdir()

 

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

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

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

Title:
  Duplicity fails during backup in with_tempdir()

Status in Déjà Dup Backup Tool:
  New
Status in “deja-dup” package in Ubuntu:
  Confirmed
Status in “duplicity” package in Ubuntu:
  Confirmed

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/

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