Activity log for bug #709158

Date Who What changed Old value New value Message
2011-01-28 10:38:46 Jürgen Schneider bug added bug
2011-01-28 11:51:32 Alexander Belchenko affects bzr-explorer bzr
2011-01-28 11:52:16 Alexander Belchenko summary tried to open a bzr-folder bzrlib._dirstate_helpers_pyx.Reader.get_next: AssertionError: get_next() called when there are no chars left
2011-02-01 06:41:56 Andrew Bennetts tags dirstate
2011-02-01 06:42:26 Andrew Bennetts bzr: importance Undecided High
2011-02-01 06:42:26 Andrew Bennetts bzr: status New Confirmed
2011-09-25 23:16:03 Martin Pool description bzr: ERROR: exceptions.AssertionError: get_next() called when there are no chars left Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 667, in changed_view self._wt_browser.set_tree(view.tree, view.branch) File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 65, in set_tree self._browser.set_tree(tree, branch) File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 469, in set_tree self._tree_viewer.set_tree(tree, branch) File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 691, in set_tree treewidget.TreeWidget.set_tree(self, *args) File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/treewidget.py", line 1390, in set_tree initial_checked_paths=initial_checked_paths) File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/treewidget.py", line 408, in set_tree root_id = self.tree.get_root_id() File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 140, in read_locked result = unbound(self, *args, **kwargs) File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 428, in get_root_id return self._get_entry(path='')[0][2] File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 358, in _get_entry return state._get_entry(0, fileid_utf8=file_id, path_utf8=path) File "/usr/lib/python2.6/dist-packages/bzrlib/dirstate.py", line 1962, in _get_entry self._read_dirblocks_if_needed() File "/usr/lib/python2.6/dist-packages/bzrlib/dirstate.py", line 2202, in _read_dirblocks_if_needed _read_dirblocks(self) File "_dirstate_helpers_pyx.pyx", line 767, in bzrlib._dirstate_helpers_pyx._read_dirblocks File "_dirstate_helpers_pyx.pyx", line 733, in bzrlib._dirstate_helpers_pyx.Reader._parse_dirblocks File "_dirstate_helpers_pyx.pyx", line 693, in bzrlib._dirstate_helpers_pyx.Reader._get_entry File "_dirstate_helpers_pyx.pyx", line 554, in bzrlib._dirstate_helpers_pyx.Reader.get_next AssertionError: get_next() called when there are no chars left bzr 2.1.1 on python 2.6.5 (linux2) arguments: ['/usr/bin/bzr', 'explorer'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8' plugins: bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.1.0] dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev] explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.0.1] git /usr/lib/python2.6/dist-packages/bzrlib/plugins/git [0.4.3] gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.98.0.final.1] launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.1.1] netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.1.1] news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.1.1] qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.18.6] svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [1.0.2] bzr: ERROR: exceptions.AssertionError: get_next() called when there are no chars left Traceback (most recent call last):   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 667, in changed_view     self._wt_browser.set_tree(view.tree, view.branch)   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 65, in set_tree     self._browser.set_tree(tree, branch)   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 469, in set_tree     self._tree_viewer.set_tree(tree, branch)   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/wt_browser.py", line 691, in set_tree     treewidget.TreeWidget.set_tree(self, *args)   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/treewidget.py", line 1390, in set_tree     initial_checked_paths=initial_checked_paths)   File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr/lib/treewidget.py", line 408, in set_tree     root_id = self.tree.get_root_id()   File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 140, in read_locked     result = unbound(self, *args, **kwargs)   File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 428, in get_root_id     return self._get_entry(path='')[0][2]   File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 358, in _get_entry     return state._get_entry(0, fileid_utf8=file_id, path_utf8=path)   File "/usr/lib/python2.6/dist-packages/bzrlib/dirstate.py", line 1962, in _get_entry     self._read_dirblocks_if_needed()   File "/usr/lib/python2.6/dist-packages/bzrlib/dirstate.py", line 2202, in _read_dirblocks_if_needed     _read_dirblocks(self)   File "_dirstate_helpers_pyx.pyx", line 767, in bzrlib._dirstate_helpers_pyx._read_dirblocks   File "_dirstate_helpers_pyx.pyx", line 733, in bzrlib._dirstate_helpers_pyx.Reader._parse_dirblocks   File "_dirstate_helpers_pyx.pyx", line 693, in bzrlib._dirstate_helpers_pyx.Reader._get_entry   File "_dirstate_helpers_pyx.pyx", line 554, in bzrlib._dirstate_helpers_pyx.Reader.get_next AssertionError: get_next() called when there are no chars left ---- workaround: If you're seeing this message, it probably means your dirstate file was corrupted by a machine crash or similar incident. Running 'bzr repair-workingtree' should fix it. I'll leave this bug open asking for this situation to be either avoided (where possible) or automatically restored, or at least reported better.
2017-11-08 22:54:38 Jelmer Vernooij tags dirstate check-for-breezy dirstate
2017-11-21 20:47:50 Jelmer Vernooij bug task added brz
2018-04-03 01:37:59 Jelmer Vernooij brz: status New Triaged
2018-04-03 01:38:02 Jelmer Vernooij brz: importance Undecided High
2018-04-03 01:38:16 Jelmer Vernooij tags check-for-breezy dirstate dirstate