Comment 3 for bug 195231

Revision history for this message
Mark A. Hershberger (hexmode) wrote :

oops, attached my dirstate to bug #186014. Will reattach here.

it is /possible/ this is caused by a power failure. I'm not sure what I was doing the last time I used the checkout before this happened. Still, it seems unlikely.

with c extensions disabled:

$ bzr up
bzr: ERROR: exceptions.AssertionError:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1050, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2140, in update
    return self._update_tree(old_tip, change_reporter)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 51, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2172, in _update_tree
    if basis.inventory.root is None:
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1565, in _get_inventory
    self._generate_inventory()
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1424, in _generate_inventory
    self._dirstate._read_dirblocks_if_needed()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1877, in _read_dirblocks_if_needed
    _read_dirblocks(self)
  File "/usr/lib/python2.5/site-packages/bzrlib/_dirstate_helpers_py.py", line 203, in _read_dirblocks_py
    assert trailing == ''
AssertionError

bzr 1.0.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'up']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  avahi /home/mah/.bazaar/plugins/avahi [0.3.0dev0]
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [unknown]
  bzr_pqm /home/mah/.bazaar/plugins/bzr_pqm [1.0.0dev0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.0.0]
  cvsps_import /home/mah/.bazaar/plugins/cvsps_import [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent /usr/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc [unknown]
  svn /home/mah/.bazaar/plugins/svn [0.5.0exp0]
*** 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.