ERROR: bzrlib.errors.KnitCorrupt: Knit <bzrlib.knit.KnitGraphIndex object at 0x86e1e2c> corrupt: attempt to add line-delta in non-delta knit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned | ||
bzr (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Impact: Prevents some branches from being checked out over bzr+ssh://
Fix in intrepid: the bug was fixed upstream in 1.4, intrepid has 1.5 already.
TEST CASE:
* Run "bzr checkout bzr+ssh://<your lp id>@bazaar.
* Get a python traceback like the one shown below.
* (Remove the broken branch in "main/")
* Update the the fixed version
* Run the same command again, it completes without error and you have a checkout in the directory "main".
Regression potential: low, the branches that are affected by this have a problem with the data
caused by an old version of bzr. Only these branches should trigger the special case handling.
Any that fail within the special case are another bug, but wouldn't have succeeded without
the patch either.
===== Original report:
Performing the following action:
bzr checkout bzr+ssh://<email address hidden>
Results in:
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
accelerator
File "/usr/lib/
checkout_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
run_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb, find_ghosts=
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
(format, data_list, reader_func))
File "/usr/lib/
reader_
File "/usr/lib/
self.
File "/usr/lib/
raise KnitCorrupt(self, "attempt to add line-delta in non-delta knit")
KnitCorrupt: Knit <bzrlib.
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'bzr+ssh://<email address hidden>
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Related branches
Changed in bzr: | |
status: | Confirmed → Fix Released |
description: | updated |
description: | updated |
This is a known bug which was fixed in bzr 1.4