bazaar error report

Anthony Cowley acowley at seas.upenn.edu
Fri Sep 14 06:14:39 BST 2007


This error occurred when updating from a shared repository via sftp.

I've had this same error occur a couple times now from Ubuntu and Mac
OS X. In these situations, I have to use the client with the latest
version to revert until I go back far enough to miss the error, then
checkin again.

---------------

$ bzr up
bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit <bzrlib.knit._KnitAccess
object at 0x1546ad0> corrupt: While reading
{acowley at seasnet-38-279.seas.upenn.edu-20070913213316-qvz9w2ti1rl17b0g}
got IOError(Not a gzipped file)

Traceback (most recent call last):
  File "/Users/acowley/src/bzr.dev/bzrlib/commands.py", line 781, in
run_bzr_catch_errors
    return run_bzr(argv)
  File "/Users/acowley/src/bzr.dev/bzrlib/commands.py", line 743, in run_bzr
    ret = run(*run_argv)
  File "/Users/acowley/src/bzr.dev/bzrlib/commands.py", line 475, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Users/acowley/src/bzr.dev/bzrlib/builtins.py", line 1027, in run
    conflicts = tree.update(delta._ChangeReporter(
  File "/Users/acowley/src/bzr.dev/bzrlib/workingtree.py", line 2040, in update
    old_tip = self.branch.update()
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/branch.py", line 1781, in update
    self.pull(master, overwrite=True)
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/branch.py", line 1678, in pull
    run_hooks=run_hooks)
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/branch.py", line 1470, in pull
    self.update_revisions(source, stop_revision)
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/branch.py", line 1439, in
update_revisions
    self.fetch(other, stop_revision)
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/branch.py", line 284, in fetch
    pb=nested_pb)
  File "/Users/acowley/src/bzr.dev/bzrlib/repository.py", line 443, in fetch
    return inter.fetch(revision_id=revision_id, pb=pb)
  File "/srv/www.bazaar-ng.org/rsync/bzr/bzr.dev/bzrlib/decorators.py",
line 165, in write_locked
  File "/Users/acowley/src/bzr.dev/bzrlib/repository.py", line 1846, in fetch
    pb=pb)
  File "/Users/acowley/src/bzr.dev/bzrlib/fetch.py", line 104, in __init__
    self.__fetch()
  File "/Users/acowley/src/bzr.dev/bzrlib/fetch.py", line 133, in __fetch
    self._fetch_everything_for_revisions(revs, pp)
  File "/Users/acowley/src/bzr.dev/bzrlib/fetch.py", line 153, in
_fetch_everything_for_revisions
    for knit_kind, file_id, revisions in data_to_fetch:
  File "/Users/acowley/src/bzr.dev/bzrlib/repository.py", line 783, in
item_keys_introduced_by
    file_ids = self.fileids_altered_by_revision_ids(revision_ids)
  File "/Users/acowley/src/bzr.dev/bzrlib/repository.py", line 699, in
fileids_altered_by_revision_ids
    for line in w.iter_lines_added_or_present_in_versions(
  File "/Users/acowley/src/bzr.dev/bzrlib/knit.py", line 953, in
iter_lines_added_or_present_in_versions
    for version_idx, (version_id, data, sha_value) in \
  File "/Users/acowley/src/bzr.dev/bzrlib/knit.py", line 2046, in
read_records_iter
    content, digest = self._parse_record(version_id, data)
  File "/Users/acowley/src/bzr.dev/bzrlib/knit.py", line 1951, in _parse_record
    "While reading {%s} got %s(%s)"
KnitCorrupt: Knit <bzrlib.knit._KnitAccess object at 0x1546ad0>
corrupt: While reading
{acowley at seasnet-38-279.seas.upenn.edu-20070913213316-qvz9w2ti1rl17b0g}
got IOError(Not a gzipped file)

bzr 0.91.0dev0 on python 2.4.4.final.0 (darwin)
arguments: ['/usr/local/bin/bzr', 'up']



More information about the bazaar mailing list