Comment 6 for bug 528724

Revision history for this message
Aaron Bentley (abentley) wrote :

I am getting this when pushing launchpad to a local instance of codehosting:
$ bzr push lp://dev/~name16/gnome-terminal/stable -r 11962 --use-existing
bzr: ERROR: zlib.error: Error -3 while decompressing: incorrect data check57055

Traceback (most recent call last):
  File "/home/abentley/bzr/bzr.dev/bzrlib/commands.py", line 923, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/abentley/bzr/bzr.dev/bzrlib/commands.py", line 1123, in run_bzr
    ret = run(*run_argv)
  File "/home/abentley/bzr/bzr.dev/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/abentley/bzr/bzr.dev/bzrlib/commands.py", line 710, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/abentley/bzr/bzr.dev/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/abentley/bzr/bzr.dev/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/abentley/bzr/bzr.dev/bzrlib/builtins.py", line 1134, in run
    use_existing_dir=use_existing_dir, no_tree=no_tree)
  File "/home/abentley/bzr/bzr.dev/bzrlib/push.py", line 91, in _show_push_branch
    no_tree=no_tree)
  File "/home/abentley/bzr/bzr.dev/bzrlib/branch.py", line 1405, in create_clone_on_transport
    no_tree=no_tree)
  File "/home/abentley/bzr/bzr.dev/bzrlib/bzrdir.py", line 251, in clone_on_transport
    result_repo.fetch(local_repo, fetch_spec=fetch_spec)
  File "/home/abentley/bzr/bzr.dev/bzrlib/remote.py", line 1382, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/home/abentley/bzr/bzr.dev/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/abentley/bzr/bzr.dev/bzrlib/repository.py", line 3431, in fetch
    find_ghosts=find_ghosts)
  File "/home/abentley/bzr/bzr.dev/bzrlib/fetch.py", line 73, in __init__
    self.__fetch()
  File "/home/abentley/bzr/bzr.dev/bzrlib/fetch.py", line 99, in __fetch
    self._fetch_everything_for_search(search)
  File "/home/abentley/bzr/bzr.dev/bzrlib/fetch.py", line 127, in _fetch_everything_for_search
    stream, from_format, [])
  File "/home/abentley/bzr/bzr.dev/bzrlib/remote.py", line 1843, in insert_stream
    (verb, path, resume_tokens) + lock_args, byte_stream)
  File "/home/abentley/bzr/bzr.dev/bzrlib/smart/client.py", line 181, in call_with_body_stream
    expect_response_body=False)
  File "/home/abentley/bzr/bzr.dev/bzrlib/smart/client.py", line 79, in _call_and_read_response
    readv_body=readv_body, body_stream=body_stream)
  File "/home/abentley/bzr/bzr.dev/bzrlib/smart/client.py", line 61, in _send_request
    encoder.call_with_body_stream((method, ) + args, body_stream)
  File "/home/abentley/bzr/bzr.dev/bzrlib/smart/protocol.py", line 1277, in _iter_with_errors
    yield None, iterator.next()
  File "/home/abentley/bzr/bzr.dev/bzrlib/smart/repository.py", line 510, in _stream_to_byte_stream
    serialised = record.get_bytes_as(record.storage_kind)
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 454, in get_bytes_as
    return self._manager._wire_bytes()
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 670, in _wire_bytes
    self._check_rebuild_block()
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 664, in _check_rebuild_block
    self._rebuild_block()
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 537, in _rebuild_block
    bytes = factory.get_bytes_as('fulltext')
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 462, in get_bytes_as
    self._manager._prepare_for_extract()
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 562, in _prepare_for_extract
    self._block._ensure_content(self._last_byte)
  File "/home/abentley/bzr/bzr.dev/bzrlib/groupcompress.py", line 186, in _ensure_content
    remaining_decomp, needed_bytes + _ZLIB_DECOMP_WINDOW)
error: Error -3 while decompressing: incorrect data check

bzr 2.3.0dev5 on python 2.6.6 (Linux-2.6.35-23-generic-x86_64-with-Ubuntu-10.10-maverick)
arguments: ['/home/abentley/bin/bzr', 'push', 'lp://dev/~name16/gnome-terminal/stable', '-r', '11962', '--use-existing']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
  bash_completion /home/abentley/bzr/bzr.dev/bzrlib/plugins/bash_completion [2.3.0dev5]
  builddeb /home/abentley/.bazaar/plugins/builddeb [2.2.0]
  builder /home/abentley/.bazaar/plugins/builder [unknown]
  bzrtools /home/abentley/.bazaar/plugins/bzrtools [2.3.0]
  difftacular /home/abentley/.bazaar/plugins/difftacular [unknown]
  email /usr/lib/python2.6/dist-packages/bzrlib/plugins/email [unknown]
  explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.1.0]
  fastimport /usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport [0.9.0dev]
  grep /usr/lib/python2.6/dist-packages/bzrlib/plugins/grep [0.4.0]
  gtk /home/abentley/.bazaar/plugins/gtk [0.99.1]
  history_db /home/abentley/.bazaar/plugins/history_db [unknown]
  launchpad /home/abentley/bzr/bzr.dev/bzrlib/plugins/launchpad [2.3.0dev5]
  loom /home/abentley/.bazaar/plugins/loom [2.1.1dev]
  lpreview_body /home/abentley/.bazaar/plugins/lpreview_body [unknown]
  netrc_credential_store /home/abentley/bzr/bzr.dev/bzrlib/plugins/netrc_credential_store [2.3.0dev5]
  news_merge /home/abentley/bzr/bzr.dev/bzrlib/plugins/news_merge [2.3.0dev5]
  openlookup /home/abentley/.bazaar/plugins/openlookup [unknown]
  pipeline /home/abentley/.bazaar/plugins/pipeline [1.0.0]
  pqm /home/abentley/.bazaar/plugins/pqm [1.4.0dev]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.19.2]
  search /usr/lib/python2.6/dist-packages/bzrlib/plugins/search [1.7.0dev]
  stats /usr/lib/python2.6/dist-packages/bzrlib/plugins/stats [0.1.0dev]
  svn /home/abentley/.bazaar/plugins/svn [1.0.5dev]
  svncommit /home/abentley/.bazaar/plugins/svncommit [unknown]
  trigger_scan /home/abentley/.bazaar/plugins/trigger_scan.py [unknown]
  upload /usr/lib/python2.6/dist-packages/bzrlib/plugins/upload [1.0.0dev]
  vimdiff /home/abentley/.bazaar/plugins/vimdiff [unknown]

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