[Bug 717640] Re: bzr crashed with AssertionError in _generate_inventory()

Jelmer Vernooij 717640 at bugs.launchpad.net
Sun Mar 25 10:54:50 UTC 2012


** Also affects: bzr
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/717640

Title:
  bzr crashed with AssertionError in _generate_inventory()

Status in Bazaar Version Control System:
  New
Status in “bzr” package in Ubuntu:
  New

Bug description:
  Binary package hint: bzr

  I got this exception when clicked on "refresh" in qdiff window. This
  button worked earlier when I've changed file and clicked it. This time
  I've commited change having qdiff window already open, and hited
  refresh hoping that it will show only uncommited files(instead it
  crashed). From log it looks like there was assertion that changes will
  not be commited in background, but I think that  it would be better to
  close current bzr qdiif and open new one(if there is no more elegant
  way to do it) instead of crashing.

  Ubuntu 10.10 64, bzr 2.2.1-0ubuntu1

  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: bzr 2.2.1-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
  Uname: Linux 2.6.35-25-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  BzrDebugFlags: set()
  BzrPlugins:
   bash_completion      /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.1]
     launchpad            /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.1]
     netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
     news_merge           /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.1]
     qbzr                 /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.19.1]
  BzrVersion: 2.2.1
  CheckboxSubmission: 2ace1c64ae1eaa828b91d7d18b71f03d
  CheckboxSystem: 4d91670f303bf573a1976f25f9a263fb
  CommandLine: ['/usr/bin/bzr', 'qdiff']
  CrashDb: bzr
  Date: Sat Feb 12 11:30:27 2011
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InterpreterPath: /usr/bin/python2.6
  Locale: pl_PL.UTF-8
  Platform: Linux-2.6.35-25-generic-x86_64-with-Ubuntu-10.10-maverick
  ProcCmdline: /usr/bin/python /usr/bin/bzr qdiff
  ProcEnviron:
   SHELL=/bin/bash
   LANG=pl_PL.UTF-8
   LANGUAGE=pl_PL:pl:en_GB:en
  PythonVersion: 2.6.6
  SourcePackage: bzr
  Title: bzr crashed with AssertionError in _generate_inventory()
  UserEncoding: UTF-8
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 441, in click_refresh
      run_in_loading_queue(self.load_diff)
    File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/util.py", line 868, in run_in_loading_queue
      f(*args, **kargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/diffwindow.py", line 297, in load_diff
      executable) in sorted(changes, key=changes_key):
    File "/usr/lib/python2.6/dist-packages/bzrlib/tree.py", line 1070, in iter_changes
      specific_file_ids=specific_file_ids))
    File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 140, in read_locked
      result = unbound(self, *args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/tree.py", line 201, in iter_entries_by_dir
      return self.inventory.iter_entries_by_dir(
    File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1831, in _get_inventory
      self._generate_inventory()
    File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1697, in _generate_inventory
      self._revision_id, self._dirstate.get_parent_ids()))
  AssertionError: parent naicik at gmail.com-20110206153733-ik7zzvgoh9uf3gfy has disappeared from ['naicik at gmail.com-20110212103015-f6uu4fv6sjgzj447']

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/717640/+subscriptions




More information about the foundations-bugs mailing list