Comment 10 for bug 1177381

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1177381] Re: Duplicity can't find its own tempdir

@Michael, I'm looking as well. My gut says that something got threaded and
we're not joining at the end of the run, but I cannot find any indication
of that at all.

On Wed, Dec 14, 2016 at 5:48 PM, Karl <email address hidden> wrote:

> I'm using a laptop with my power settings set to "Do nothing" when the lid
> is closed. However, I can replicate this by starting duplicity, waiting
> for it to get going, then closing my laptop lid.
> I think Ubuntu is cleaning the temp files out from under Duplicity?
>
> I'm using Ubuntu 16.10 (so gpg has been replaced with gpg2), gpg2 version
> 2.1.15, and duplicity version 0.7.07.1.
> It sounds like Ubuntu has changed /tmp cleanup; see this post:
> http://askubuntu.com/a/857154
>
> --
> You received this bug notification because you are subscribed to
> duplicity in Ubuntu.
> https://bugs.launchpad.net/bugs/1177381
>
> Title:
> Duplicity can't find its own tempdir
>
> Status in Duplicity:
> New
> 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
>