duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Problem with Java executing duplicity...


From: Jeremy Polen
Subject: [Duplicity-talk] Problem with Java executing duplicity...
Date: Thu, 3 Jan 2008 12:22:55 -0600
User-agent: Microsoft-Entourage/11.2.5.060620

I have a question for the duplicity group:

I am calling duplicity from a Java application, and I have verified that the
PASSPHRASE is getting sent properly to duplicity by having it log to console
the passphrase on execution. It appears that GPG is having a problem. Any
help is appreciated.

This is duplicity 0.4.7 using Python 2.5 on a Mac OS X 10.5.1.

Here is the command line I am running:

/opt/local/bin/duplicity -v10 --volsize 100 --allow-source-mismatch
--exclude-device-files  --include
/storage/mounts/satsnap/Software/Apache/Tomcat --include
/storage/mounts/satsnap/Software/Apache/Apache2.2  --exclude
/storage/mounts/satsnap/Software/Apache --exclude /**
/storage/mounts/satsnap/Software file:///storage/onsite/2/1

Here is the stack trace:

Traceback (most recent call last):  File "/opt/local/bin/duplicity", line
426, in <module>    if __name__ == "__main__": with_tempdir(main)  File
"/opt/local/bin/duplicity", line 422, in with_tempdir    fn()  File
"/opt/local/bin/duplicity", line 413, in main
check_last_manifest(col_stats) # not needed for full backup  File
"/opt/local/bin/duplicity", line 364, in check_last_manifest
last_backup_set.check_manifests()  File
"/opt/local/lib/python2.5/site-packages/duplicity/collections.py", line 125,
in check_manifests    remote_manifest = self.get_remote_manifest()  File
"/opt/local/lib/python2.5/site-packages/duplicity/collections.py", line 151,
in get_remote_manifest    manifest_buffer =
self.backend.get_data(self.remote_manifest_name)  File
"/opt/local/lib/python2.5/site-packages/duplicity/backends.py", line 235, in
get_data    fin = self.get_fileobj_read(filename, parseresults)  File
"/opt/local/lib/python2.5/site-packages/duplicity/backends.py", line 202, in
get_fileobj_read    return tdp.filtered_open_with_delete("rb")  File
"/opt/local/lib/python2.5/site-packages/duplicity/dup_temp.py", line 78, in
filtered_open_with_delete    fh =
FileobjHooked(path.DupPath.filtered_open(self, mode))  File
"/opt/local/lib/python2.5/site-packages/duplicity/path.py", line 635, in
filtered_open    if mode == "rb": return gpg.GPGFile(None, self,
gpg_profile)  File 
"/opt/local/lib/python2.5/site-packages/duplicity/gpg.py", line 109, in
__init__    'logger': self.logger_fp})  File
"/opt/local/lib/python2.5/site-packages/GnuPGInterface.py", line 357, in run
create_fhs, attach_fhs)  File
"/opt/local/lib/python2.5/site-packages/GnuPGInterface.py", line 401, in
_attach_fork_exec    if process.pid == 0: self._as_child(process,
gnupg_commands, args)  File
"/opt/local/lib/python2.5/site-packages/GnuPGInterface.py", line 442, in
_as_child    os.execvp( command[0], command )  File
"/opt/local/lib/python2.5/os.py", line 354, in execvp    _execvpe(file,
args)  File "/opt/local/lib/python2.5/os.py", line 392, in _execvpe
func(fullname, *argrest) OSError: [Errno 2] No such file or directory
Cleanup of temporary directory
/var/folders/ZS/ZSpKVO23EX0ZPNQjNyN25++++TI/-Tmp-/duplicity-mLREF6-tempdir
failed - this is probably a bug. Traceback (most recent call last):  File
"/opt/local/bin/duplicity", line 426, in <module>    if __name__ ==
"__main__": with_tempdir(main)  File "/opt/local/bin/duplicity", line 422,
in with_tempdir    fn()  File "/opt/local/bin/duplicity", line 413, in main
check_last_manifest(col_stats) # not needed for full backup  File
"/opt/local/bin/duplicity", line 364, in check_last_manifest
last_backup_set.check_manifests()  File
"/opt/local/lib/python2.5/site-packages/duplicity/collections.py", line 125,
in check_manifests    remote_manifest = self.get_remote_manifest()  File
"/opt/local/lib/python2.5/site-packages/duplicity/collections.py", line 151,
in get_remote_manifest    manifest_buffer =
self.backend.get_data(self.remote_manifest_name)  File
"/opt/local/lib/python2.5/site-packages/duplicity/backends.py", line 237, in
get_data    assert not fin.close()  File
"/opt/local/lib/python2.5/site-packages/duplicity/dup_temp.py", line 107, in
close    assert not self.fileobj.close()  File
"/opt/local/lib/python2.5/site-packages/duplicity/gpg.py", line 129, in
close    self.gpg_process.wait()  File
"/opt/local/lib/python2.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




reply via email to

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