duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] OSError: [Errno 2] No such file or directory (0.5.16)


From: Pascal Schaedeli
Subject: [Duplicity-talk] OSError: [Errno 2] No such file or directory (0.5.16)
Date: Sun, 3 May 2009 10:21:06 -0700

I have upgraded from an older (0.4.x) version of duplicity that I had installed using macports to 0.5.16 which I manually installed on os x (10.5.6) (the objective was to not rely on macports). I successfully performed a full backup (to an offsite owned server using ssh). However, I an not able to successfully run the incremental (running from launchd -mac's cron- as root).

The first error was:
Max open files of 256 is too low, should be >= 1024.
Use 'ulimit -n 1024' or higher to correct.

Weird, that's the first time I get this. Worked around by adding ulimit -n 1024 to the shell script.

But then it fails on a "no such file or directory" (in the middle of the excerpt). Here is the tail of the -v9 log.

Thanks any suggestion on how to resolve this.

Last full backup date: Sun Apr 19 21:09:42 2009
Registering (mktemp) temporary file /tmp/duplicity-u5ooBB-tempdir/mktemp--6FnWw-2
Running 'scp -oIdentityFile=~pascal/.ssh/id_duplicity_backup -oServerAliveInterval=90 -oServerAliveCountMax=1 address@hidden:backup/nodell/duplicity-inc.20090420T040942Z.to.20090427T141725Z.manifest.gpg /tmp/duplicity-u5ooBB-tempdir/mktemp--6FnWw-2' (attempt #1)
State = copying, Before = 'duplicity-inc.20090420T040942Z.to.20090427T14   0%    0     0.0KB/s   --:--'
State = copying, Before = 'duplicity-inc.20090420T040942Z.to.20090427T14 100%  662     0.7KB/s   00:01'
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 828, in <module>
   with_tempdir(main)
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 821, in with_tempdir
   fn()
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 802, in main
   check_last_manifest(col_stats) # not needed for full backup
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 687, in check_last_manifest
   last_backup_set.check_manifests()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/collections.py", line 137, in check_manifests
   remote_manifest = self.get_remote_manifest()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/collections.py", line 167, in get_remote_manifest
   manifest_buffer = self.backend.get_data(self.remote_manifest_name)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/backend.py", line 421, in get_data
   fin = self.get_fileobj_read(filename, parseresults)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/backend.py", line 384, in get_fileobj_read
   return tdp.filtered_open_with_delete("rb")
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/dup_temp.py", line 88, in filtered_open_with_delete
   fh = FileobjHooked(path.DupPath.filtered_open(self, mode))
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/path.py", line 722, in filtered_open
   return gpg.GPGFile(None, self, gpg_profile)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/gpg.py", line 128, in __init__
   'logger': self.logger_fp})
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 357, in run
   create_fhs, attach_fhs)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 401, in _attach_fork_exec
   if process.pid == 0: self._as_child(process, gnupg_commands, args)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/GnuPGInterface.py", line 442, in _as_child
   os.execvp( command[0], command )
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/os.py", line 353, in execvp
   _execvpe(file, args)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/os.py", line 389, in _execvpe
   func(fullname, *argrest)
OSError: [Errno 2] No such file or directory

Removing still remembered temporary file /tmp/duplicity-u5ooBB-tempdir/mktemp--6FnWw-2
Cleanup of temporary file /tmp/duplicity-u5ooBB-tempdir/mktemp--6FnWw-2 failed
Removing still remembered temporary file /tmp/duplicity-u5ooBB-tempdir/mkstemp-daqoUu-1
Cleanup of temporary file /tmp/duplicity-u5ooBB-tempdir/mkstemp-daqoUu-1 failed
Cleanup of temporary directory /tmp/duplicity-u5ooBB-tempdir failed - this is probably a bug.
GPG error detail: Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 828, in <module>
   with_tempdir(main)
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 821, in with_tempdir
   fn()
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 802, in main
   check_last_manifest(col_stats) # not needed for full backup
 File "/Library/Frameworks/Python.framework/Versions/2.5/bin/duplicity", line 687, in check_last_manifest
   last_backup_set.check_manifests()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/collections.py", line 137, in check_manifests
   remote_manifest = self.get_remote_manifest()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/collections.py", line 167, in get_remote_manifest
   manifest_buffer = self.backend.get_data(self.remote_manifest_name)
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/backend.py", line 423, in get_data
   assert not fin.close()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/dup_temp.py", line 120, in close
   assert not self.fileobj.close()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/gpg.py", line 187, in close
   self.gpg_failed()
 File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/duplicity/gpg.py", line 156, in gpg_failed
   raise GPGError, msg
GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
===== End GnuPG log =====


GPGError: GPG Failed, see log below:
===== Begin GnuPG log =====
===== End GnuPG log =====


reply via email to

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