Package: bzr Version: 1.1~rc1-1 Severity: normal Dear bzr maintainers,
I am not quite sure if this is a bug in bzr on the bzr-svn plugin, I'm reporting it to bzr based on the Python traceback. On one of my machines, "bzr check" fails with an internal error. The branch uses a rich-root format shared repository, the "upstream" branch is a checkout of SVN upstream, and "packaging" branch is originally branched from "upstream". There were also some other complicated operations to this branch, such as accessed by different versions of bzr (my home directory is mounted in both Debian and Ubuntu), and pulling from another branch over bzr+ssh:// protocol. I can not reproduce this error in another unstable machine that installs the same bzr packages and uses a very similar repository/branch layout, but on this machine it's 100% reproducible. It seems this doesn't affect my daily use of this branch, however. I'm putting the error and the output of "bzr info --verbose" at the end of this mail. I realize rich-root is no longer the default format, but I'd appreciate if a fix or workaround can be provided. If you needs more information, please ask. Thanks, Ming 2008.02.03 $ bzr check bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit inventory corrupt: sha-1 04b0ea7d820bf62f0646d6d4d6cc296bdfd00b52 of reconstructed text does not match expected 74b68f05bf57c1074b903e4bc539224728d2f6ff for version svn-v3-trunk0:727f7bbf-773a-0410-a90f-6102d2a1caf9:trunk:670 Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 806, in run_bzr_catch_errors return run_bzr(argv) File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 762, in run_bzr ret = run(*run_argv) File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases return self.run(**all_cmd_args) File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 2381, in run check(branch_obj, verbose) File "/usr/lib/python2.4/site-packages/bzrlib/check.py", line 254, in check repo_result = branch.repository.check([branch.last_revision()]) File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1773, in check return self._check(revision_ids) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1777, in _check result.check() File "/usr/lib/python2.4/site-packages/bzrlib/check.py", line 79, in check self.check_one_rev(rev_id) File "/usr/lib/python2.4/site-packages/bzrlib/check.py", line 190, in check_one_rev self._check_revision_tree(rev_id) File "/usr/lib/python2.4/site-packages/bzrlib/check.py", line 223, in _check_revision_tree tree = self.repository.revision_tree(rev_id) File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1621, in revision_tree inv = self.get_revision_inventory(revision_id) File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1584, in get_revision_inventory return self.get_inventory(revision_id) File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1454, in get_inventory return self.deserialise_inventory( File "/usr/lib/python2.4/site-packages/bzrlib/decorators.py", line 127, in read_locked return unbound(self, *args, **kwargs) File "/usr/lib/python2.4/site-packages/bzrlib/repository.py", line 1480, in get_inventory_xml return iw.get_text(revision_id) File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1059, in get_text return self.get_texts([version_id])[0] File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1062, in get_texts return [''.join(l) for l in self.get_line_list(version_ids)] File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1068, in get_line_list text_map, content_map = self._get_content_maps(version_ids) File "/usr/lib/python2.4/site-packages/bzrlib/knit.py", line 1131, in _get_content_maps '\n sha-1 %s' KnitCorrupt: Knit inventory corrupt: sha-1 04b0ea7d820bf62f0646d6d4d6cc296bdfd00b52 of reconstructed text does not match expected 74b68f05bf57c1074b903e4bc539224728d2f6ff for version svn-v3-trunk0:727f7bbf-773a-0410-a90f-6102d2a1caf9:trunk:670 bzr 1.1.0.candidate.1 on python 2.4.4.final.0 (linux2) arguments: ['/usr/bin/bzr', 'check'] encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8' plugins: bzrtools /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [1.1.0] launchpad /usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad [unknown] multiparent /usr/lib/python2.4/site-packages/bzrlib/plugins/multiparent.pyc [unknown] rebase /usr/lib/python2.4/site-packages/bzrlib/plugins/rebase [0.3.0] svn /usr/lib/python2.4/site-packages/bzrlib/plugins/svn [0.4.7] *** Bazaar has encountered an internal error. Please report a bug at https://bugs.launchpad.net/bzr/+filebug including this traceback, and a description of what you were doing when the error occurred. $ bzr info --verbose Repository tree (format: rich-root) Location: shared repository: /home/minghua/Work/scim-python repository branch: . Related branches: parent branch: /home/minghua/Work/scim-python/upstream Format: control: Meta directory format 1 working tree: Working tree format 4 branch: Branch format 6 repository: Knit repository format 4 In the working tree: 144 unchanged 0 modified 0 added 0 removed 0 renamed 0 unknown 0 ignored 20 versioned subdirectories Branch history: 370 revisions 8 committers 137 days old first revision: Wed 2007-09-19 07:11:35 +0000 latest revision: Sat 2008-01-26 18:23:01 -0600 Repository: 505 revisions 10998 KiB -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bzr depends on: ii libc6 2.7-6 GNU C Library: Shared libraries ii python 2.4.4-6 An interactive high-level object-o ii python-celementtree 1.0.5-9 Light-weight toolkit for XML proce ii python-central 0.5.15-0.1 register and build utility for Pyt Versions of packages bzr recommends: ii bzrtools 1.1.0-1 Collection of tools for bzr ii python-paramiko 1.7.2-0.1 make SSH2 connections with python -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]