bzr st and up commands fail with AssertionError's

Bug #502241 reported by Filip Sufitchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Branch is branched out from a Bazaar 1.13.1 branch instance on a remote server. The branch there functions correctly, and the branching process runs without a problem. The two commands that crash and their respective tracebacks are below:

=====================================

fsufitch@centauri:~/public-web$ bzr st
working tree is out of date, run 'bzr update'
bzr: ERROR: exceptions.AssertionError: Could not find target parent in wt: oldblog/blogdata
parent of: (('oldblog/blogdata', '.htaccess', 'htaccess-20090416004302-ri4gj19q4pq3va0s-2'), [('f', '0f13e758c5d01970aeb580293702bfeaba5395aa', 362L, 0, 'AAABakrvP4tK7z+LAAAIAwAAEFoAAIGk'), ('f', '0f13e758c5d01970aeb580293702bfeaba5395aa', 362L, 0, 'fsufitch@europa-20090416013713-qb87c534yo0at12h')])

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1052, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 319, in run
    show_pending=(not no_pending), verbose=verbose)
  File "/usr/lib/python2.6/dist-packages/bzrlib/status.py", line 118, in show_tree_status
    want_unversioned=want_unversioned)
  File "/usr/lib/python2.6/dist-packages/bzrlib/tree.py", line 95, in changes_from
    want_unversioned=want_unversioned,
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/tree.py", line 977, in compare
    want_unversioned=want_unversioned)
  File "/usr/lib/python2.6/dist-packages/bzrlib/delta.py", line 230, in _compare_trees
    want_unversioned=want_unversioned):
  File "_dirstate_helpers_pyx.pyx", line 1407, in bzrlib._dirstate_helpers_pyx.ProcessEntryC.__next__
  File "_dirstate_helpers_pyx.pyx", line 1680, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._iter_next
  File "_dirstate_helpers_pyx.pyx", line 1751, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._loop_one_block
  File "_dirstate_helpers_pyx.pyx", line 1244, in bzrlib._dirstate_helpers_pyx.ProcessEntryC._process_entry
AssertionError: Could not find target parent in wt: oldblog/blogdata
parent of: (('oldblog/blogdata', '.htaccess', 'htaccess-20090416004302-ri4gj19q4pq3va0s-2'), [('f', '0f13e758c5d01970aeb580293702bfeaba5395aa', 362L, 0, 'AAABakrvP4tK7z+LAAAIAwAAEFoAAIGk'), ('f', '0f13e758c5d01970aeb580293702bfeaba5395aa', 362L, 0, 'fsufitch@europa-20090416013713-qb87c534yo0at12h')])

bzr 2.0.2 on python 2.6.4 (Linux-2.6.31-17-generic-x86_64-with-Ubuntu-9.10-karmic)
arguments: ['/usr/bin/bzr', 'st']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.0.1]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.0.2]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.0.2]

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

======================================

fsufitch@centauri:~/public-web$ bzr up
bzr: ERROR: exceptions.AssertionError: name u'index.php' already in parent

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1413, in run
    view_info=view_info), possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 2216, in update
    return self._update_tree(old_tip, change_reporter)
  File "/usr/lib/python2.6/dist-packages/bzrlib/mutabletree.py", line 53, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 2248, in _update_tree
    if basis.inventory.root is None:
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1825, in _get_inventory
    self._generate_inventory()
  File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1753, in _generate_inventory
    % (name_unicode,))
AssertionError: name u'index.php' already in parent

bzr 2.0.2 on python 2.6.4 (Linux-2.6.31-17-generic-x86_64-with-Ubuntu-9.10-karmic)
arguments: ['/usr/bin/bzr', 'up']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.0.1]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.0.2]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.0.2]

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

Revision history for this message
Filip Sufitchi (fsufitch) wrote :

If necessary I can provide a public location to branch this from for testing.

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.