Comments - MariaDB Source Code
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
I'm trying to checkout the trunk and getting the following bazaar error:
$ bzr branch lp:maria trunk The authenticity of host 'bazaar.launchpad.net (91.189.95.84)' can't be established. RSA key fingerprint is 9d:38:3a:63:b1:d5:6f:c4:44:67:53:49:2e:ee:fc:89. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'bazaar.launchpad.net,91.189.95.84' (RSA) to the list of known hosts. Enter passphrase for key '/home/mloskot/.ssh/id_rsa.launchpad': bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps missing chk node(s) for parent_id_basename_to_file_id maps Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code return the_callable(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run return self._operation.run_simple(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple self.cleanups, self.func, *args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/builtins.py", line 1507, in run source_branch=br_from) File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 367, in sprout create_tree_if_local=create_tree_if_local) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 132, in run self.cleanups, self.func, self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups result = func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 417, in _sprout result_repo.fetch(source_repository, fetch_spec=fetch_spec) File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 1268, in fetch find_ghosts=find_ghosts, fetch_spec=fetch_spec) File "/usr/lib/python2.7/site-packages/bzrlib/decorators.py", line 218, in write_locked result = unbound(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 2585, in fetch find_ghosts=find_ghosts) File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 77, in __init__ self.__fetch() File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 104, in __fetch self._fetch_everything_for_search(search_result) File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 132, in _fetch_everything_for_search stream, from_format, []) File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 2051, in insert_stream hint = self.target_repo.commit_write_group() File "/usr/lib/python2.7/site-packages/bzrlib/repository.py", line 633, in commit_write_group result = self._commit_write_group() File "/usr/lib/python2.7/site-packages/bzrlib/repofmt/pack_repo.py", line 1727, in _commit_write_group hint = self._pack_collection._commit_write_group() File "/usr/lib/python2.7/site-packages/bzrlib/repofmt/pack_repo.py", line 1607, in _commit_write_group "Cannot add revision(s) to repository: " + problems_summary) BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps missing chk node(s) for parent_id_basename_to_file_id maps bzr 2.6.0 on python 2.7.5 (Linux-3.11.1-1-ARCH-x86_64-with-glibc2.2.5) arguments: ['/usr/bin/bzr', 'branch', 'lp:maria', 'trunk'] plugins: bash_completion[2.6.0], changelog_merge[2.6.0], grep[2.6.0], launchpad[2.6.0], netrc_credential_store[2.6.0], news_merge[2.6.0], po_merge[2.6.0], weave_fmt[2.6.0] encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_US.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/bzr/+filebug including this traceback and a description of the problem.Does it indicate a corrupted repository, interrupted checkout stream or local environment issues? How to work around it?
I'm getting the same issue with bzr 2.5.1 and bzr 2.6 in windows. Any suggestions?
I found this bug report.
https://bugs.launchpad.net/bzr/+bug/1226897
try again, perhaps it's a transient error.
Or download a shared repository tarball (mariadb-shared-repo.tgz) from the link above.
I've just tried your exact command, and it branched the tree successfully for me. But I have bzr 2.5.1.
Either it's a bug in bzr 2.6.0, or launchpad problems — I wasn't able to branch or push yesterday for like half an hour, with strange bzr errors. Then it worked.
I've just tried once again on different laptop, but with the same Arch Linux 64-bit environment and bazaar 2.6.0 installed and it's successfully pulled the repository:
Perhaps, it was a temporary issue.
I've repeated the procedure (init, branch) a few times and each time, the same error occured.
Isn't there an official Git (at GitHub?) repository mirror, really?
No, but you can use git-bzr to branch a bzr repository using git.