Comment 1 for bug 1852789

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 1852789] [NEW] branch zlib error

Can you successfully clone the repository with C Git?

On 15 November 2019 11:21:40 GMT-08:00, Sam Bull <email address hidden> wrote:
>Public bug reported:
>
>Maybe related to the error on brz pull which has been marked as fixed.
>But, when trying to branch from that local master branch, I now get
>this
>error:
>
>> brz branch trunk careers
>brz: ERROR: zlib.error: Error -3 while decompressing data: incorrect
>data check
>
>Traceback (most recent call last):
>File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line
>1016, in exception_to_return_code
> return the_callable(*args, **kwargs)
>File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line
>1202, in run_bzr
> ret = run(*run_argv)
>File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line
>759, in run_argv_aliases
> return self.run(**all_cmd_args)
>File "/usr/local/lib/python3.7/site-packages/breezy/commands.py", line
>784, in run
> return self._operation.run_simple(*args, **kwargs)
>File "/usr/local/lib/python3.7/site-packages/breezy/cleanup.py", line
>137, in run_simple
> self.cleanups, self.func, *args, **kwargs)
>File "/usr/local/lib/python3.7/site-packages/breezy/cleanup.py", line
>166, in _do_with_cleanups
> result = func(*args, **kwargs)
>File "/usr/local/lib/python3.7/site-packages/breezy/builtins.py", line
>1518, in run
> create_tree_if_local=not no_tree, source_branch=br_from)
>File "/usr/local/lib/python3.7/site-packages/breezy/git/dir.py", line
>181, in sprout
> mapping=source_branch.mapping)
>File "/usr/local/lib/python3.7/site-packages/breezy/git/interrepo.py",
>line 734, in fetch_objects
> progress=progress)
>File "/usr/local/lib/python3.7/site-packages/dulwich/repo.py", line
>338, in fetch
> target.object_store.add_pack_data(count, pack_data, progress)
>File "/usr/local/lib/python3.7/site-packages/dulwich/object_store.py",
>line 151, in add_pack_data
> write_pack_data(f, count, pack_data, progress)
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>1645, in write_pack_data
> for i, (type_num, object_id, delta_base, raw) in enumerate(records):
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>1604, in <genexpr>
> ((o.type_num, o.sha().digest(), None, o.as_raw_string())
>File "/usr/local/lib/python3.7/site-packages/dulwich/object_store.py",
>line 957, in __iter__
> yield self.store[sha], path
>File "/usr/local/lib/python3.7/site-packages/dulwich/object_store.py",
>line 120, in __getitem__
> type_num, uncomp = self.get_raw(sha)
>File "/usr/local/lib/python3.7/site-packages/dulwich/object_store.py",
>line 462, in get_raw
> return pack.get_raw(sha)
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>2001, in get_raw
> obj_type, obj = self.data.get_object_at(offset)
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>1276, in get_object_at
> unpacked, _ = unpack_object(self._file.read)
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>764, in unpack_object
> include_comp=include_comp)
>File "/usr/local/lib/python3.7/site-packages/dulwich/pack.py", line
>238, in read_zlib_chunks
> decomp = decomp_obj.decompress(add)
>zlib.error: Error -3 while decompressing data: incorrect data check
>
>brz 3.0.1 on python 3.7.4 (Darwin-18.7.0-x86_64-i386-64bit)
>arguments: ['/usr/local/bin/brz', 'branch', 'trunk', 'careers']
>plugins: bash_completion[3.0.1], changelog_merge[3.0.1],
> commitfromnews[unknown], cvs[3.0.1], darcs[unknown], email[unknown],
> fastimport[unknown], launchpad[3.0.1], mtn[3.0.1],
> netrc_credential_store[3.0.1], news_merge[3.0.1], po_merge[3.0.1],
> propose[unknown], repodebug[unknown], stats[3.0.1], upload[3.0.1],
> weave_fmt[3.0.1]
>encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_GB.UTF-8'
>
>*** 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/brz/+filebug
> including this traceback and a description of the problem.
>
>** Affects: brz
> Importance: Undecided
> Status: New
>
>--
>You received this bug notification because you are subscribed to
>Breezy.
>https://bugs.launchpad.net/bugs/1852789
>
>Title:
> branch zlib error
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/brz/+bug/1852789/+subscriptions