duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Duplicity error with Cron and Launchd on OSX 10.5


From: Simon Ree
Subject: [Duplicity-talk] Duplicity error with Cron and Launchd on OSX 10.5
Date: Wed, 20 Feb 2008 12:03:49 -0800


Running duplicity manually on the command line it completes the job. Using either cron or launchd it fails with the following error:

duplicity version 0.4.9
Python 2.5.1
gpg (GnuPG) 1.4.7


-------------------------------------
 Main action: inc
Added incremental Backupset (start_time: Sat Feb 16 23:13:28 2008 / end_time: Sun Feb 17 23:21:52 2008) Added incremental Backupset (start_time: Sun Feb 17 23:21:52 2008 / end_time: Mon Feb 18 22:32:17 2008) Added incremental Backupset (start_time: Mon Feb 18 22:32:17 2008 / end_time: Tue Feb 19 22:52:50 2008)
 Collection Status
 -----------------
 Connecting with backend: BotoBackend
 Archive dir: None
 Found 0 backup chains without signatures.
 Found a complete backup chain with matching signature chain:
 -------------------------
 Chain start time: Sat Feb 16 23:13:28 2008
 Chain end time: Tue Feb 19 22:52:50 2008
 Number of contained backup sets: 4
 Total number of contained volumes: 297
Type of backup set: Time: Num volumes: Full Sat Feb 16 23:13:28 2008 292 Incremental Sun Feb 17 23:21:52 2008 1 Incremental Mon Feb 18 22:32:17 2008 1 Incremental Tue Feb 19 22:52:50 2008 3
 -------------------------
 No orphaned or incomplete backup sets found.
 Last full backup date: Sat Feb 16 23:13:28 2008
 Using temporary directory /Users/simon/Tmp/duplicity-Qg6gE4-tempdir
 Downloading 
s3+http://XXXXXXXXXXXX.Powerbook/duplicity-inc.2008-02-18T22:32:17-08:00.to.2008-02-19T22:52:50-08:00.manifest.gpg

 Traceback (most recent call last):
   File "/usr/local/bin/duplicity", line 460, in <module>
     with_tempdir(main)
   File "/usr/local/bin/duplicity", line 455, in with_tempdir
     fn()
   File "/usr/local/bin/duplicity", line 443, in main
     check_last_manifest(col_stats) # not needed for full backup
   File "/usr/local/bin/duplicity", line 382, in check_last_manifest
     last_backup_set.check_manifests()
File "/Library/Python/2.5/site-packages/duplicity/collections.py", line 125, in check_manifests
     remote_manifest = self.get_remote_manifest()
File "/Library/Python/2.5/site-packages/duplicity/collections.py", line 151, in get_remote_manifest
     manifest_buffer = self.backend.get_data(self.remote_manifest_name)
File "/Library/Python/2.5/site-packages/duplicity/backends.py", line 237, in get_data
     fin = self.get_fileobj_read(filename, parseresults)
File "/Library/Python/2.5/site-packages/duplicity/backends.py", line 204, in get_fileobj_read
     return tdp.filtered_open_with_delete("rb")
File "/Library/Python/2.5/site-packages/duplicity/dup_temp.py", line 78, in filtered_open_with_delete
     fh = FileobjHooked(path.DupPath.filtered_open(self, mode))
File "/Library/Python/2.5/site-packages/duplicity/path.py", line 635, in filtered_open
     if mode == "rb": return gpg.GPGFile(None, self, gpg_profile)
File "/Library/Python/2.5/site-packages/duplicity/gpg.py", line 114, in __init__
     'logger': self.logger_fp})
File "/Library/Python/2.5/site-packages/GnuPGInterface.py", line 357, in run
     create_fhs, attach_fhs)
File "/Library/Python/2.5/site-packages/GnuPGInterface.py", line 401, in _attach_fork_exec
     if process.pid == 0: self._as_child(process, gnupg_commands, args)
File "/Library/Python/2.5/site-packages/GnuPGInterface.py", line 442, 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
Cleanup of temporary file /Users/simon/Tmp/duplicity-Qg6gE4-tempdir/ mktemp-CZgTs5-1 failed Cleanup of temporary directory /Users/simon/Tmp/duplicity-Qg6gE4- tempdir failed - this is probably a bug.
 Traceback (most recent call last):
   File "/usr/local/bin/duplicity", line 460, in <module>
     with_tempdir(main)
   File "/usr/local/bin/duplicity", line 455, in with_tempdir
     fn()
   File "/usr/local/bin/duplicity", line 443, in main
     check_last_manifest(col_stats) # not needed for full backup
   File "/usr/local/bin/duplicity", line 382, in check_last_manifest
     last_backup_set.check_manifests()
File "/Library/Python/2.5/site-packages/duplicity/collections.py", line 125, in check_manifests
     remote_manifest = self.get_remote_manifest()
File "/Library/Python/2.5/site-packages/duplicity/collections.py", line 151, in get_remote_manifest
     manifest_buffer = self.backend.get_data(self.remote_manifest_name)
File "/Library/Python/2.5/site-packages/duplicity/backends.py", line 239, in get_data
     assert not fin.close()
File "/Library/Python/2.5/site-packages/duplicity/dup_temp.py", line 107, in close
     assert not self.fileobj.close()
File "/Library/Python/2.5/site-packages/duplicity/gpg.py", line 139, in close
     self.gpg_process.wait()
File "/Library/Python/2.5/site-packages/GnuPGInterface.py", line 639, in wait
     raise IOError, "GnuPG exited non-zero, with code %d" % (e << 8)
 IOError: GnuPG exited non-zero, with code 65536



Thoughts?

--
Simon Rée








reply via email to

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