Comment 1 for bug 243536

Revision history for this message
Andy Wingo (andywingo) wrote :

version 1.5.2 has a nicer traceback:

(gc clutter g-wrap ggo guile) wingo@unquote:~/src/g-wrap/mainline$ bzr log
bzr: ERROR: exceptions.KeyError: 'Arch-1:<email address hidden>%g-wrap--main-dev--0--patch-2'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 807, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1774, in run
    limit=limit)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 185, in show_log
    start_revision, end_revision, search, limit)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 215, in _show_log
    allow_single_merge_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 254, in calculate_view_revisions
    _get_mainline_revs(branch, start_revision, end_revision)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 338, in _get_mainline_revs
    which_revs = _enumerate_history(branch)
  File "/usr/lib/python2.5/site-packages/bzrlib/log.py", line 136, in _enumerate_history
    for rev_id in branch.revision_history():
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 387, in revision_history
    history = self._gen_revision_history()
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1925, in _gen_revision_history
    self._extend_partial_history()
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1949, in _extend_partial_history
    for revision_id in iterator:
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1622, in iter_reverse_revision_history
    parents = graph.get_parent_map([next_id])[next_id]
KeyError: 'Arch-1:<email address hidden>%g-wrap--main-dev--0--patch-2'

bzr 1.5 on python 2.5.1 (linux2)
arguments: ['/usr/bin/bzr', 'log']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
(gc clutter g-wrap ggo guile) wingo@unquote:~/src/g-wrap/mainline$ bzr info
Repository tree (format: dirstate-tags)
Location:
  shared repository: /home/wingo/src/g-wrap
  repository branch: .

Related branches:
  parent branch: http://bazaar.launchpad.net/%7Erotty/g-wrap/dev/
  submit branch: /home/wingo/src/g-wrap/wingo