bzr: ERROR: bzrlib.errors.ShortReadvError: readv()
Bug #475134 reported by
Taylor "Ripps" LeMasurier-Wren
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I get this error everytime I run my daily.sh ppa-bot:
bzr: ERROR: bzrlib.
It leaves a crash for me to file, but apport says that package associated with it is no longer installed.
To post a comment you must log in.
Hi,
Sorry for the delay in responding.
This looks like the index file has been truncated on disk. This sometimes happens because of a machine crash while bzr is running. Is this in a launchpad branch?
File "/usr/lib/ python2. 6/dist- packages/ bzrlib/ index.py" , line 1290, in iter_entries entries( keys): python2. 6/dist- packages/ bzrlib/ btree_index. py", line 1101, in iter_entries python2. 6/dist- packages/ bzrlib/ btree_index. py", line 1383, in key_count _get_root_ node() python2. 6/dist- packages/ bzrlib/ btree_index. py", line 879, in _get_root_node _get_internal_ nodes([ 0]) python2. 6/dist- packages/ bzrlib/ btree_index. py", line 904, in _get_internal_nodes nodes(self. _internal_ node_cache, node_indexes) python2. 6/dist- packages/ bzrlib/ btree_index. py", line 896, in _get_nodes update( self._get_ and_cache_ nodes(needed) ) python2. 6/dist- packages/ bzrlib/ btree_index. py", line 686, in _get_and_ cache_nodes nodes(sorted( nodes)) : python2. 6/dist- packages/ bzrlib/ btree_index. py", line 1494, in _read_nodes python2. 6/dist- packages/ bzrlib/ transport/ __init_ _.py", line 701, in _seek_and_read offset. length, actual=len(data)) d840192e1b110df 078.rix"
for node in index.iter_
File "/usr/lib/
if not self.key_count():
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._get_
File "/usr/lib/
found.
File "/usr/lib/
for node_pos, node in self._read_
File "/usr/lib/
for offset, data in data_ranges:
File "/usr/lib/
c_
ShortReadvError: readv() read 0 bytes rather than 228 bytes at 0 for "cedac2085c8e02
If you're not yet unblocked on that branch, you probably need to restore it from backup or it may be possible to cut that file out of the repository.