duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Cleanup of temporary directory /tmp/duplicity-L0zxJ2-te


From: Scott Hannahs
Subject: [Duplicity-talk] Cleanup of temporary directory /tmp/duplicity-L0zxJ2-tempdir failed - this is probably a bug.
Date: Thu, 10 Sep 2009 08:46:17 -0400

This command seems to work correctly from the command line but not when I run it from cron even as the same user. After it fails there is no directory "/tmp/duplicity-L0zxJ2-tempdir" so the cleanup must have happened? But no new files are added to the backup set.

If I run the exact same command from the command line under "sh" it runs correctly and lists no errors. And from the command line the new signatures and incremental file and manifest are updated.

Here is the command and the traceback error from cron.

Mac OS X 10.5.8

-Scott


Cron <address@hidden> PYTHONPATH=/sw/lib/python2.5/site-packages PASSPHRASE="YYY" /sw/bin/duplicity --encrypt-key 12345678 --sign-key 87654321 --gpg-options='--default-key=12345678' $HOME/Documents file:///tmp/Documents/

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sun Sep  6 18:28:57 2009
Cleanup of temporary directory /tmp/duplicity-L0zxJ2-tempdir failed - this is probably a bug.
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
Traceback (most recent call last):
File "/sw/bin/duplicity", line 1241, in <module>
with_tempdir(main)
File "/sw/bin/duplicity", line 1234, in with_tempdir
fn()
File "/sw/bin/duplicity", line 1215, in main
check_last_manifest(col_stats) # not needed for full backup
File "/sw/bin/duplicity", line 975, in check_last_manifest
last_backup_set.check_manifests()
File "/sw/lib/python2.5/site-packages/duplicity/collections.py", line 180, in check_manifests
remote_manifest = self.get_remote_manifest()
File "/sw/lib/python2.5/site-packages/duplicity/collections.py", line 214, in get_remote_manifest
manifest_buffer = self.backend.get_data(self.remote_manifest_name)
File "/sw/lib/python2.5/site-packages/duplicity/backend.py", line 488, in get_data
fin = self.get_fileobj_read(filename, parseresults)
File "/sw/lib/python2.5/site-packages/duplicity/backend.py", line 451, in get_fileobj_read
return tdp.filtered_open_with_delete("rb")
File "/sw/lib/python2.5/site-packages/duplicity/dup_temp.py", line 114, in filtered_open_with_delete
fh = FileobjHooked(path.DupPath.filtered_open(self, mode))
File "/sw/lib/python2.5/site-packages/duplicity/path.py", line 724, in filtered_open
return gpg.GPGFile(False, self, gpg_profile)
File "/sw/lib/python2.5/site-packages/duplicity/gpg.py", line 138, in __init__
'logger': self.logger_fp})
File "/sw/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 365, in run
create_fhs, attach_fhs)
File "/sw/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 415, in _attach_fork_exec
if process.pid == 0: self._as_child(process, gnupg_commands, args)
File "/sw/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 456, in _as_child
os.execvp( command[0], command )
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/os.py", line 354, in execvp
_execvpe(file, args)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/os.py", line 392, in _execvpe
func(fullname, *argrest)
OSError: [Errno 2] No such file or directory

===== End GnuPG log =====





reply via email to

[Prev in Thread] Current Thread [Next in Thread]