On Tue, Jan 03, 2012 at 06:03:32PM +0000, Dafydd Harries wrote: > Setting use-agent means that obnam asks for my passphrase correctly.
I'll consider that part solved.
> However, now I get a different error.
>
> 2012-01-03 12:59:40 INFO Obnam 0.24 starts
> 2012-01-03 12:59:40 INFO Backup starts
> 2012-01-03 12:59:40 INFO Checkpoints every 1073741824 bytes
> 2012-01-03 12:59:40 DEBUG Exclude pattern: obnam.log
> 2012-01-03 12:59:40 DEBUG opening repository (create=True)
> 2012-01-03 12:59:40 INFO VFS: __init__: baseurl=/home/daf/backup
> 2012-01-03 12:59:55 CRITICAL Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 141, in _run
> self.process_args(args)
> File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 127, in
> process_args
> cliapp.Application.process_args(self, args)
> File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 318, in
> process_args
> method(args[1:])
> File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py",
> line 115, in backup
> self.add_client(client_name)
> File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/backup_plugin.py",
> line 142, in add_client
> self.repo.lock_root()
> File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 245, in
> lock_root
> self._write_format_version(self.format_version)
> File "/usr/lib/python2.7/dist-packages/obnamlib/repo.py", line 301, in
> _write_format_version
> self.hooks.call('repository-toplevel-init', self, 'metadata')
> File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 109, in call
> return self.hooks[name].call_callbacks(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/obnamlib/hooks.py", line 50, in
> call_callbacks
> callback(*args, **kwargs)
> File
> "/usr/lib/python2.7/dist-packages/obnamlib/plugins/encryption_plugin.py",
> line 104, in toplevel_init
> self._write_file(repo, os.path.join(toplevel, 'key'), encrypted)
> File
> "/usr/lib/python2.7/dist-packages/obnamlib/plugins/encryption_plugin.py",
> line 84, in _write_file
> repo.fs.fs.write_file(pathname, contents)
> File "/usr/lib/python2.7/dist-packages/obnamlib/vfs_local.py", line 256, in
> write_file
> os.remove(tempname)
> OSError: [Errno 2] No such file or directory:
> '/home/daf/backup/metadata/tmpCIqJrL'
I believe this should no longer happen with Obnam 0.27. Could you try that
version
and tell me if it happens or not?
--
All my predictions will turn out to be false
signature.asc
Description: Digital signature

