Re: Apparent bug. (Let me know where the tracker is for next time?)
On 14.05.2020 12:29, Diagon wrote:
> Edgar - seems your central to this project. :)
not at all. just replying ;)
> I'm not sure where you bug tracker is.
how about this one?
>If you let me know I'll use it next time, but for the moment I got this warning on my first full backup using cron and the command I've been posting:
> PASSPHRASE="mypassword" flock -n /tmp/backuplock /usr/bin/duplicity --log-file /home/me/duplicity.log --backend-retry-delay 60 --asynchronous-upload --name TEST --volsize 50 --full-if-older-than 6M --exclude '**.lock' /home/me/Desktop/TEST sftp://[hidden email]/Backup
> If it comes up again, I'll use -vv and offer you more.
well, it's obviously bogus as it tries to delete something not there anymore. not sure if it is worth an effort for now ;)
> I'll repeat that version is 0.7.19. Will look at your upgrade suggestion shortly.
please do! would be waste to hunt for bugs that might be fixed already.
> Thanks for your work and help!
np. please stay on the list though. ..ede/duply.net
> WARNING 1
> . Cleanup of temporary directory /tmp/duplicity-V2lkha-tempdir failed - this is probably a bug.
> ERROR 30 OSError
> . Traceback (innermost last):
> . File "/usr/bin/duplicity", line 1581, in <module>
> . with_tempdir(main)
> . File "/usr/bin/duplicity", line 1567, in with_tempdir
> . fn()
> . File "/usr/bin/duplicity", line 1419, in main
> . do_backup(action)
> . File "/usr/bin/duplicity", line 1537, in do_backup
> . full_backup(col_stats)
> . File "/usr/bin/duplicity", line 577, in full_backup
> . globals.backend)
> . File "/usr/bin/duplicity", line 435, in write_multivol
> . globals.volsize)
> . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 378, in GPGWriteFile
> . file = GPGFile(True, path.Path(filename), profile)
> . File "/usr/lib/python2.7/dist-packages/duplicity/gpg.py", line 134, 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-V2lkha-tempdir/tmpMw4m3i'
> ERROR 52 put '/tmp/duplicity-V2lkha-tempdir/mktemp-5j8jyf-42' 'duplicity-full.20200514T052003Z.vol45.difftar.gpg'
> . Giving up after 1 attempts. OSError: [Errno 2] No such file or directory: '/tmp/duplicity-V2lkha-tempdir/mktemp-5j8jyf-42'