Comment 1 for bug 598572

Revision history for this message
displayname (displayname) wrote : Re: zlib "incorrect data check" error while decompressing

I tried copying all files from the source branch to the destination, then ran "bzr check" at the destination, and got a slightly different error. It might be helpful to name the file that was being processed when this happened...

Checking working tree at 'H:/Development'.
Checking branch at 'file:///H:/Development/'.
Checking repository at 'file:///H:/Development/'.
bzr: ERROR: zlib.error: Error -3 while decompressing data: invalid distance too far back

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 853, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1055, in run_bzr
  File "bzrlib\commands.pyo", line 661, in run_argv_aliases
  File "bzrlib\commands.pyo", line 665, in run_direct
  File "bzrlib\cleanup.pyo", line 122, in run_simple
  File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 3225, in run
  File "bzrlib\check.pyo", line 456, in check_dwim
  File "bzrlib\decorators.pyo", line 140, in read_locked
  File "bzrlib\repository.pyo", line 2777, in check
  File "bzrlib\repository.pyo", line 2781, in _check
  File "bzrlib\check.pyo", line 102, in check
  File "bzrlib\repository.pyo", line 1178, in _check_inventories
  File "bzrlib\repository.pyo", line 1229, in _do_check_inventories
  File "bzrlib\groupcompress.pyo", line 1413, in get_record_stream
  File "bzrlib\groupcompress.pyo", line 1518, in _get_remaining_record_stream
  File "bzrlib\groupcompress.pyo", line 2006, in get_build_details
  File "bzrlib\groupcompress.pyo", line 1941, in _get_entries
  File "bzrlib\index.pyo", line 1321, in iter_entries
  File "bzrlib\btree_index.pyo", line 1162, in iter_entries
  File "bzrlib\btree_index.pyo", line 1116, in _walk_through_internal_nodes
  File "bzrlib\btree_index.pyo", line 957, in _get_leaf_nodes
  File "bzrlib\btree_index.pyo", line 934, in _get_nodes
  File "bzrlib\btree_index.pyo", line 711, in _get_and_cache_nodes
  File "bzrlib\btree_index.pyo", line 1538, in _read_nodes
error: Error -3 while decompressing data: invalid distance too far back

bzr 2.1.1 on python 2.5.4 (Windows-Vista-6.1.7600)
arguments: ['bzr', 'check']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files (x86)\Bazaar\plugins\bzrtools [2.1.0]
  explorer C:\Program Files (x86)\Bazaar\plugins\explorer [1.0.1]
  launchpad C:\Program Files (x86)\Bazaar\plugins\launchpad [2.1.1]
  netrc_credential_store C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store [2.1.1]
  news_merge C:\Program Files (x86)\Bazaar\plugins\news_merge [2.1.1]
  qbzr C:\Program Files (x86)\Bazaar\plugins\qbzr [0.18.4]
  rebase C:\Program Files (x86)\Bazaar\plugins\rebase [0.5.5]
  svn C:\Program Files (x86)\Bazaar\plugins\svn [1.0.2]
  upload C:\Program Files (x86)\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Program Files (x86)\Bazaar\plugins\xmloutput [0.8.7.dev]

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