'bzr check' crashing

Bug #1399773 reported by Brian Pape
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

# bzr log
bzr: ERROR: Revision {<email address hidden>} not present in "Graph(StackedParentsProvider(bzrlib.repository._LazyListJoin(([CachingParentsProvider(CallableToParentsProviderAdapter(<bound method CHKInventoryRepository._get_parent_map_no_fallbacks of CHKInventoryRepository('file:///root/ww/.bzr/repository/')>))], []))))".
[root@host files]# bzr info
Repository tree (format: 2a)
Location:
  shared repository: /root/ww
  repository branch: .
[root@host files]# bzr check
Checking working tree at '/root/ww/files'.
Checking working tree at '/root/ww/docs'.
Checking branch at 'file:///root/ww/docs/'.
Checking branch at 'file:///root/ww/files/'.
Checking working tree at '/root/ww/library'.
Checking branch at 'file:///root/ww/library/'.
Checking working tree at '/root/ww/migration'.
Checking branch at 'file:///root/ww/migration/'.
Checking working tree at '/root/ww/scripts/mkchroot'.
Checking branch at 'file:///root/ww/mkchroot-scripts/'.
Checking working tree at '/root/ww/scripts'.
Checking branch at 'file:///root/ww/scripts/'.
Checking working tree at '/root/ww/scripts/client'.
Checking branch at 'file:///root/ww/scripts/client/'.
Checking working tree at '/root/ww/scripts/client-post'.
Checking branch at 'file:///root/ww/scripts/client-post/'.
Checking working tree at '/root/ww/scripts/mkchroot'.
Checking branch at 'file:///root/ww/scripts/mkchroot/'.
Checking repository at 'file:///root/ww/'.
bzr: ERROR: bzrlib.errors.NoSuchRevision: CHKInventoryRepository('file:///root/ww/.bzr/repository/') has no revision <email address hidden>

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib64/python2.6/site-packages/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/builtins.py", line 3774, in run
    check_dwim(path, verbose, do_branch=branch, do_repo=repo, do_tree=tree)
  File "/usr/lib64/python2.6/site-packages/bzrlib/check.py", line 435, in check_dwim
    check_repo=do_repo)
  File "/usr/lib64/python2.6/site-packages/bzrlib/repository.py", line 1181, in check
    check_repo=check_repo)
  File "/usr/lib64/python2.6/site-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/vf_repository.py", line 1955, in _check
    result.check(callback_refs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/check.py", line 135, in check
    refs[ref] = repo.revision_tree(value)
  File "/usr/lib64/python2.6/site-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/vf_repository.py", line 1839, in revision_tree
    inv = self.get_inventory(revision_id)
  File "/usr/lib64/python2.6/site-packages/bzrlib/decorators.py", line 155, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/bzrlib/vf_repository.py", line 1732, in get_inventory
    return self.iter_inventories([revision_id]).next()
  File "/usr/lib64/python2.6/site-packages/bzrlib/vf_repository.py", line 1752, in iter_inventories
    raise errors.NoSuchRevision(self, revid)
NoSuchRevision: CHKInventoryRepository('file:///root/ww/.bzr/repository/') has no revision <email address hidden>

bzr 2.6.0 on python 2.6.6 (Linux-2.6.32-431.29.2.el6.x86_64-x86_64-with-
    centos-6.5-Final)
arguments: ['/usr/bin/bzr', 'check']
plugins: bash_completion[2.6.0], changelog_merge[2.6.0], grep[2.6.0],
    launchpad[2.6.0], netrc_credential_store[2.6.0], news_merge[2.6.0],
    po_merge[2.6.0], weave_fmt[2.6.0]
encoding: 'ascii', fsenc: 'utf8', lang: 'C'

*** 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.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.