Comment 34 for bug 541626

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Could we please reopen this issue:

on python-bzrlib 2.6.0~beta2-0ubuntu1 and trunk (or released, the same) bzr-fastimport:

bzr: ERROR: exceptions.AttributeError: 'BTreeBuilder' object has no attribute '_find_ancestors'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1141, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/zyga/.bazaar/plugins/fastimport/cmds.py", line 312, in run
    user_map=user_map)
  File "/home/zyga/.bazaar/plugins/fastimport/cmds.py", line 42, in _run
    return proc.process(p.iter_commands)
  File "/home/zyga/.bazaar/plugins/fastimport/processors/generic_processor.py", line 310, in process
    super(GenericProcessor, self)._process(command_iter)
  File "/usr/lib/python2.7/dist-packages/fastimport/processor.py", line 75, in _process
    handler(self, cmd)
  File "/home/zyga/.bazaar/plugins/fastimport/processors/generic_processor.py", line 535, in commit_handler
    handler.process()
  File "/usr/lib/python2.7/dist-packages/fastimport/processor.py", line 158, in process
    self.post_process_files()
  File "/home/zyga/.bazaar/plugins/fastimport/bzr_commit_handler.py", line 672, in post_process_files
    self._get_inventories)
  File "/home/zyga/.bazaar/plugins/fastimport/revision_store.py", line 375, in load_using_delta
    rev.parent_ids)
  File "/usr/lib/python2.7/dist-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/vf_repository.py", line 1896, in get_known_graph_ancestry
    known_graph = self.revisions.get_known_graph_ancestry(revision_keys)
  File "/usr/lib/python2.7/dist-packages/bzrlib/versionedfile.py", line 1441, in get_known_graph_ancestry
    parent_map, missing_keys = self._index.find_ancestry(keys)
  File "/usr/lib/python2.7/dist-packages/bzrlib/groupcompress.py", line 2084, in find_ancestry
    return self._graph_index.find_ancestry(keys, 0)
  File "/usr/lib/python2.7/dist-packages/bzrlib/index.py", line 1529, in find_ancestry
    search_keys = index._find_ancestors(search_keys,
AttributeError: 'BTreeBuilder' object has no attribute '_find_ancestors'