Control: retitle -1 seivot completely fails

In fact, there's more to it than this:

anarcat@marcos:seivot$     ./seivot --log=foo.log --log-level=debug \
>         --initial-data=1m --incremental-data=1m --generations=2 \
>         --output=foo.seivot
Generating: 976.6 KiB of 976.6 KiB 100 % (92.36 MiB/s)
Measuring backup generation 0
Backed up 66 files (of 66 found), uploaded 976.0 KiB in 0s at 4.3 MiB/s average 
speed
Measuring verify generation 0
00h00m00s verifying file 67/66 976.6 KiB/976.6 KiB 100 %: /tmp/tmpGj2FSq/data
Verify did not find problems.
Generating: 976.6 KiB of 976.6 KiB 100 % (71.52 MiB/s)
Measuring backup generation 1
Backed up 63 files (of 128 found), uploaded 0.0 B in 0s at 0.0 B/s average speed
Measuring verify generation 1
00h00m00s verifying file 129/128 1.91 MiB/1.91 MiB 100 %: /tmp/tmpGj2FSq/data
Verify did not find problems.
Measuring list_files generation 0
ERROR: R3E151X: Client marcos, generation 5 does not have file 2
ERROR: command failed: ['obnam', '--no-default-configs', '--log', 
'/tmp/tmp__Udit', '--repository', '/tmp/tmpGj2FSq/repo', '--sftp-delay', '0', 
'--leave-checkpoints', '--weak-random', 'ls', '2']
None

Commenting out the 'list_files' calls works around the issue, but then I
can't convert this the seivot files to CSV:

anarcat@marcos:seivot$ ./seivots-to-csv foo.seivot
CRITICAL:root:Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 165, in _run
    self.add_settings()
  File "./seivots-to-csv", line 27, in add_settings
    self.settings.add_string_setting(['output-dir'],
AttributeError: 'Settings' object has no attribute 'add_string_setting'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 165, in _run
    self.add_settings()
  File "./seivots-to-csv", line 27, in add_settings
    self.settings.add_string_setting(['output-dir'],
AttributeError: 'Settings' object has no attribute 'add_string_setting'

commenting out *that* stuff still fails:

anarcat@marcos:seivot$ ./seivots-to-csv foo.seivot
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 190, in _run
    self.process_args(args)
  File "./seivots-to-csv", line 41, in process_args
    group.sort(key=self.getkey)
  File "./seivots-to-csv", line 63, in getkey
    return (seivot.get('meta', 'revision'),
  File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
    raise NoOptionError(option, section)
NoOptionError: No option 'revision' in section: 'meta'

... i'm not sure what i am missing here...

i was looking at this tool to redo those benchmarks to include attic and
latest versions of obnam: http://burp.grke.org/burp2/00contents.html

looks like it would be a lot more work than expected...

a.

-- 
Si Dieu existe, j'espère qu'Il a une excuse valable
                        - Daniel Pennac

Attachment: signature.asc
Description: PGP signature

Reply via email to