[Bug 1084749] Re: bzr-fastimport crashes on deprecated and removed get_ancestry() method

Ubuntu Foundations Team Bug Bot 1084749 at bugs.launchpad.net
Mon Dec 3 12:19:10 UTC 2012


The attachment "0.13-2-to-0.13-3.debdiff" of this bug report has been
identified as being a patch in the form of a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1084749

Title:
  bzr-fastimport crashes on deprecated and removed get_ancestry() method

Status in “bzr-fastimport” package in Ubuntu:
  New

Bug description:
  22:31:14 Updating branch information ...
  bzr: ERROR: exceptions.AttributeError: 'CHKInventoryRepository' object has no attribute 'get_ancestry'                                                                         

  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 "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/cmds.py", line 307, in run
      user_map=user_map)
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/cmds.py", line 39, in _run
      return proc.process(p.iter_commands)
    File "/usr/lib/python2.7/dist-packages/bzrlib/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 79, in _process
      self.post_process()
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/processors/generic_processor.py", line 351, in post_process
      branches_updated, branches_lost = updater.update()
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/branch_updater.py", line 61, in update
      if self._update_branch(br, tip):
    File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/fastimport/branch_updater.py", line 168, in _update_branch
      ancestry = self.repo.get_ancestry(last_rev_id)
  AttributeError: 'CHKInventoryRepository' object has no attribute 'get_ancestry'

  bzr 2.6b2 on python 2.7.3 (Linux-3.5.0-18-generic-i686-with-
      Ubuntu-12.10-quantal)
  arguments: ['/usr/bin/bzr', 'fast-import', '-', '/ramdisk/plainbox']
  plugins: bash_completion[2.6b2], bzrtools[2.5.0], changelog_merge[2.6b2],
      fastimport[0.13.0], launchpad[2.6b2], netrc_credential_store[2.6b2],
      news_merge[2.6b2], po_merge[2.6b2], rewrite[0.6.4dev], weave_fmt[2.6b2]
  encoding: 'utf-8', fsenc: 'UTF-8', lang: 'pl_PL.UTF-8'

  *** Bazaar has encountered an internal error.  This probably indicates a
      bug in Bazaar.  You can help us fix it by filing a bug report at
          https://bugs.launchpad.net/bzr/+filebug
      including this traceback and a description of the problem.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: bzr-fastimport 0.13.0-2
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic i686
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Thu Nov 29 22:54:10 2012
  InstallationDate: Installed on 2012-09-07 (83 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120905.2)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=pl_PL.UTF-8
   SHELL=/bin/bash
  SourcePackage: bzr-fastimport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bzr-fastimport/+bug/1084749/+subscriptions



More information about the Ubuntu-sponsors mailing list