found 654198 0.29-1 thanks On Sun, Apr 22, 2012 at 03:32:46PM +0100, Lars Wirzenius wrote: > close 654198 0.26-1 > thanks > > the corruption when obnam is terminated with control-c should be fixed > as of version 0.26-1, but I forgot to include the bug in the changelog.
Reopening per IRC discussion. I still get an assertion failure with
obnam+larch 0.29-1 if I interrupt obnam before the first checkpoint
(after 13.10 MiB), then run obnam fsck:
------------------------------------------------------------
$ obnam fsck
Checking 3/5: B-tree chunklistTraceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 144, in _run
self.process_args(args)
File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 157, in
process_args
cliapp.Application.process_args(self, args)
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 348, in
process_args
method(args[1:])
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
293, in fsck
for more in work.do() or []:
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
241, in do
forest = larch.open_forest(dirname=self.dirname, vfs=self.repo.fs)
File "/usr/lib/python2.7/dist-packages/larch/forest.py", line 181, in
open_forest
assert 'key_size' in ns_temp.get_metadata_keys()
AssertionError
------------------------------------------------------------
After finishing the backup by rerunning the same obnam backup command,
obnam fsck seems to be happy.
Sami
signature.asc
Description: Digital signature

