assertion error on bzr get_next() called when there are no chars left
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
bzr 2.0.3 on python 2.4.3 on linux redhat
Just updating a file from emacs using M-x vv C-c C-c as usual, got the following error:
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run(
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
show_
File "/usr/lib64/
want_
File "/usr/lib64/
want_
File "/usr/lib64/
result = unbound(self, *args, **kwargs)
File "/usr/lib64/
want_
File "/usr/lib64/
want_
File "/usr/lib64/
extra_trees, require_versioned, want_unversione
File "/usr/lib64/
state.
File "/usr/lib64/
_read_
File "_dirstate_
File "_dirstate_
File "_dirstate_
File "_dirstate_
File "_dirstate_
AssertionError: get_next() called when there are no chars left
bzr 2.0.3 on python 2.4.3 (Linux-
arguments: ['/usr/bin/bzr', 'status']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib64/
netrc_
*** 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:/
including this traceback and a description of the problem.
Changed in bzr: | |
status: | New → Confirmed |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/2/2010 5:53 PM, dlebauer wrote:
> Public bug reported:
>
> bzr 2.0.3 on python 2.4.3 on linux redhat
>
...
> 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
This indicates a corrupted dirstate file. We expected there to be more
content (the end-of-content has not been reached), but there are no
bytes left.
Generally this means the file was truncated/corrupted by the filesystem.
The easiest way to fix it, is to check out into another location, and dirstate file over.
then copy the .bzr/checkout/
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
RgQIACgkQJdeBCY SNAAP5GgCgqRW+ 3HP7wO8IVPM+ 0TrGA12V YZznMoIMcQnn6mq Fb
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkz
XwIAoINnahb3apo
=koNq
-----END PGP SIGNATURE-----