Cleanup of temporary directory /tmp/duplicity-z55rH2-tempdir failed - this is probably a bug.
Traceback (most recent call last):
File "/usr/bin/duplicity", line 1532, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1526, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1380, in main
do_backup(action)
File "/usr/bin/duplicity", line 1501, in do_backup
full_backup(col_stats)
File "/usr/bin/duplicity", line 567, in full_backup
globals.backend)
File "/usr/bin/duplicity", line 425, in write_multivol
at_end = gpg.GPGWriteFile(tarblock_iter, tdp.name, globals.gpg_profile, globals.volsize)
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 336, in GPGWriteFile
bytes_to_go = data_size - get_current_size()
File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 328, in get_current_size
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/tmp/duplicity-z55rH2-tempdir/mktemp-BA1WCM-80'
It appears on every single run, meaning duplicity will never finish a single backup.
I also agree that this is unrelated to gpg not being found as suggested in #710198 and #532244. I have both gpg and gpg2 installed on the system.
Have the same bug on duplicity 0.7.06-2ubuntu2.
Cleanup of temporary directory /tmp/duplicity- z55rH2- tempdir failed - this is probably a bug. duplicity" , line 1532, in <module> tempdir( main) duplicity" , line 1526, in with_tempdir duplicity" , line 1380, in main backup( action) duplicity" , line 1501, in do_backup backup( col_stats) duplicity" , line 567, in full_backup backend) duplicity" , line 425, in write_multivol e(tarblock_ iter, tdp.name, globals. gpg_profile, globals.volsize) python2. 7/dist- packages/ duplicity/ gpg.py" , line 336, in GPGWriteFile python2. 7/dist- packages/ duplicity/ gpg.py" , line 328, in get_current_size filename) .st_size -z55rH2- tempdir/ mktemp- BA1WCM- 80'
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
do_
File "/usr/bin/
full_
File "/usr/bin/
globals.
File "/usr/bin/
at_end = gpg.GPGWriteFil
File "/usr/lib/
bytes_to_go = data_size - get_current_size()
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/tmp/duplicity
It appears on every single run, meaning duplicity will never finish a single backup.
I also agree that this is unrelated to gpg not being found as suggested in #710198 and #532244. I have both gpg and gpg2 installed on the system.
$ gpg --version
gpg (GnuPG) 1.4.20
$ gpg2 --version
gpg (GnuPG) 2.1.11
libgcrypt 1.6.5
Ubuntu 16.04.01