I guess I have a related error.
Initially I used deja-dup for the backup on ubuntu 17.10, but it fails silently 
since weeks.
So  I manually launched duplicity to find what is the error and it is quite 
cryptic :

PASSPHRASE=<REDACTED> duplicity incremental --progress --full-if-older-
than 90D --exclude <REDACTED> --exclude <REDACTED> --exclude  -v 5
--allow-source-mismatch  <REDACTED> scp://<REDACTED>



[... lots of messages that add or remove files ...]

Suppression de /tmp/duplicity-CPdG9t-tempdir/mktemp-V8VeTq-16
AsyncScheduler: tâche achevée avec succès
Volume 14 traité
Le nettoyage du dossier temporaire /tmp/duplicity-CPdG9t-tempdir a échoué - 
ceci est probablement un bogue.
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 1546, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 1540, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 1391, in main
    do_backup(action)
  File "/usr/bin/duplicity", line 1522, in do_backup
    incremental_backup(sig_chain)
  File "/usr/bin/duplicity", line 671, in incremental_backup
    globals.backend)
  File "/usr/bin/duplicity", line 432, in write_multivol
    globals.volsize)
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 352, in 
GPGWriteFile
    file = GPGFile(True, path.Path(filename), profile)
  File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 125, in 
__init__
    self.logger_fp = tempfile.TemporaryFile(dir=tempdir.default().dir())
  File "/usr/lib/python2.7/tempfile.py", line 511, in TemporaryFile
    (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
  File "/usr/lib/python2.7/tempfile.py", line 244, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: 
'/tmp/duplicity-CPdG9t-tempdir/tmpRtxeME'

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

Title:
  Duplicity can't find its own tempdir

Status in Duplicity:
  In Progress
Status in duplicity package in Ubuntu:
  Confirmed

Bug description:
  My backups have been working normally for months, but today they
  failed with this error:

  Failed with an unknown error:
  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1411, in <module>
      with_tempdir(main)
    File "/usr/bin/duplicity", line 1404, in with_tempdir
      fn()
    File "/usr/bin/duplicity", line 1386, in main
      incremental_backup(sig_chain)
    File "/usr/bin/duplicity", line 581, in incremental_backup
      globals.backend)
    File "/usr/bin/duplicity", line 394, in write_multivol
      vi.set_hash("SHA1", gpg.get_hash("SHA1", tdp))
    File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 401, in 
get_hash
      fp = path.open("rb")
    File "/usr/lib/python2.7/dist-packages/duplicity/path.py", line 542, in open
      result = open(self.name, mode)
  IOError: [Errno 2] No such file or directory: 
'/tmp/duplicity-rWgqMw-tempdir/mktemp-fvN6e5-5'

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: deja-dup 26.0-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Tue May  7 09:12:25 2013
  InstallationDate: Installed on 2010-09-17 (962 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: deja-dup
  UpgradeStatus: Upgraded to raring on 2013-01-25 (101 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/duplicity/+bug/1177381/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to