Bzr traceback when branching/pushing

Bug #276449 reported by David Strauss
2
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned

Bug Description

straussd@dev /var/www/vhosts $ bzr branch staging.dev.stratfor.com/ straussd.dev.stratfor.com/
bzr: ERROR: exceptions.AssertionError: get_next() called when there are no chars left

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, 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/builtins.py", line 879, in run
    hardlink=hardlink, stacked=stacked)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1143, in sprout
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1453, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1389, in initialize
    hardlink=hardlink, delta_from_tree=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1873, in build_tree
    delta_from_tree)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1965, in _build_tree
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1997, in _create_files
    in iter if not (c or e[0] != e[1]))
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1996, in <genexpr>
    unchanged = dict((f, p[1]) for (f, p, c, v, d, n, k, e)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 837, in iter_changes
    to_entries_by_dir = list(self.target.inventory.iter_entries_by_dir(
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 426, in _get_inventory
    self._generate_inventory()
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 313, in _generate_inventory
    state._read_dirblocks_if_needed()
  File "/usr/lib/python2.5/site-packages/bzrlib/dirstate.py", line 1981, in _read_dirblocks_if_needed
    _read_dirblocks(self)
  File "_dirstate_helpers_c.pyx", line 720, in _dirstate_helpers_c._read_dirblocks_c
  File "_dirstate_helpers_c.pyx", line 686, in _dirstate_helpers_c.Reader._parse_dirblocks
  File "_dirstate_helpers_c.pyx", line 607, in _dirstate_helpers_c.Reader._get_entry
  File "_dirstate_helpers_c.pyx", line 525, in _dirstate_helpers_c.Reader.get_next_str
  File "_dirstate_helpers_c.pyx", line 507, in _dirstate_helpers_c.Reader.get_next
AssertionError: get_next() called when there are no chars left

bzr 1.7 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'staging.dev.stratfor.com/', 'straussd.dev.stratfor.com/']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.7.0]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  search /usr/lib/python2.5/site-packages/bzrlib/plugins/search [1.7.0dev0]
*** 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.

Revision history for this message
Robert Collins (lifeless) wrote :

This looks like a corrupt dirstate; do you still have the problem branch around?

Changed in bzr:
status: New → Incomplete
tags: added: dirstate dirstate2
Revision history for this message
Robert Collins (lifeless) wrote :

David says the data isn't available anymore to really examine/confirm.

Changed in bzr:
status: Incomplete → Invalid
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.