BzrCheckError: Cannot add revision(s) to repository: missing referenced chk root keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Andrew Bennetts | ||
2.0 |
Fix Released
|
High
|
Unassigned | ||
2.1 |
Fix Released
|
Undecided
|
Unassigned | ||
Do |
Invalid
|
Undecided
|
Unassigned | ||
Launchpad itself |
Fix Released
|
Low
|
Unassigned |
Bug Description
Summary
----------
Some versions of bzr could introduce non-canonical CHK maps into a repository which can cause tracebacks when fetching from that repository. There is no data loss.
Repair
---------
There's a repair tool in bzr trunk (and will be in bzr 2.3):
- get a copy of bzr trunk: "bzr branch lp:bzr"
- run "bzr reconcile --canonicalize-chks AFFECTED_REPO"
Original description
----------
Hello all,
after updating my bzr version from 1.6 to 2.0.4 everytime when I do any bzr operation it says
Doing on-the-fly conversion from <RepositoryForm
This may take some time. Upgrade the repositories to the same format for better performance.
so i change format to 2a and now i can no do any operation on my branch.
here is the trace back
PythonVersion: 2.5.2
Traceback:
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
local=local)
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
_override_
File "/usr/lib/
overwrite=
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
overwrite, graph)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb)
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=pb, find_ghosts=
File "/usr/lib/
self.__fetch()
File "/usr/lib/
self.
File "/usr/lib/
stream, from_format, [])
File "/usr/lib/
return self._locked_
File "/usr/lib/
hint = self.target_
File "/usr/lib/
result = self._commit_
File "/usr/lib/
hint = self._pack_
File "/usr/lib/
"Cannot add revision(s) to repository: " + problems_summary)
BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing referenced chk root keys: [('sha1:
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
Related branches
summary: |
- not able to pull after bzr upgrade --2a + BzrCheckError: Cannot add revision(s) to repository: missing referenced + chk root keys |
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: 2a |
Changed in bzr: | |
milestone: | none → 2.2.0 |
Changed in launchpad-code: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in do: | |
status: | New → Invalid |
Changed in bzr: | |
status: | In Progress → Fix Released |
description: | updated |
description: | updated |
Changed in bzr: | |
milestone: | 2.2.0 → 2.2.1 |
Hi
I have the same problem with this repository https:/ /code.launchpad .net/~openerp/ openobject- server/ 5.0
It recently update to format 2a, in my local copy i launch "bzr check" and "bzr upgrade" in 2.0.4
and today a bzr pull give me an error (check the logfile), i just upgrade to 2.1.0 and have the same problem.
Regards,