can't use it with oh-my-zsh

Bug #1717680 reported by Raphaël ACISCLO on 2017-09-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Git Plugin
Jelmer Vernooij

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 673, in run_argv_aliases
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1138, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 2893, in run
    Logger(b, rqst).show(lf)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 382, in show
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 411, in _show_body
    for lr in generator.iter_log_revisions():
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 450, in iter_log_revisions
    revision_iterator = self._create_log_revision_iterator()
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 501, in _create_log_revision_iterator
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1043, in _get_revision_limits
    branch_revno, branch_rev_id = branch.last_revision_info()
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 1049, in last_revision_info
    self._last_revision_info_cache = self._read_last_revision_info()
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/", line 566, in _read_last_revision_info
    [(revision.NULL_REVISION, 0)])
  File "/usr/lib/python2.7/dist-packages/bzrlib/", line 370, in find_distance_to_null
    parent_map = self.get_parent_map(to_search)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/", line 376, in get_parent_map
    parents = self._get_parents(revision_id, no_alternates=no_alternates)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/", line 368, in _get_parents
    for p in commit.parents]
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/git/", line 430, in lookup_foreign_revision_id
    commit = self._git.object_store.peel_sha(foreign_revid)
  File "/usr/lib/python2.7/dist-packages/dulwich/", line 218, in peel_sha
    obj = self[sha]
  File "/usr/lib/python2.7/dist-packages/dulwich/", line 118, in __getitem__
    type_num, uncomp = self.get_raw(sha)
  File "/usr/lib/python2.7/dist-packages/dulwich/", line 384, in get_raw
    raise KeyError(hexsha)
KeyError: 'b4b55fa502af7b545d04045474d1550d57274c42'

bzr 2.8.0dev1 on python 2.7.14rc1 (Linux-4.12.0-1-amd64-x86_64-with-debian-
arguments: ['/usr/bin/bzr', 'log']
plugins: bash_completion[2.8.0dev1], changelog_merge[2.8.0dev1], git[0.6.12],
    grep[2.8.0dev1], launchpad[2.8.0dev1], netrc_credential_store[2.8.0dev1],
    news_merge[2.8.0dev1], po_merge[2.8.0dev1], weave_fmt[2.8.0dev1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'fr_FR.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
    including this traceback and a description of the problem.

There was an update of python 2.7 for debian unstable: It is broken since then.
It crashes every time I do a command on a git repo (Because oh-my-zsh is using bazaar for agnoster, it seems) which is quite annoying.

Tags: git Edit Tag help
Jelmer Vernooij (jelmer) on 2017-11-09
tags: added: check-for-breezy
Jelmer Vernooij (jelmer) on 2018-04-03
tags: removed: check-for-breezy
Changed in brz:
status: New → Fix Released
assignee: nobody → Jelmer Vernooij (jelmer)
Jelmer Vernooij (jelmer) on 2018-05-11
tags: added: git
affects: bzr → bzr-git
Changed in bzr-git:
status: New → Triaged
importance: Undecided → Medium
Changed in brz:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers