CRC check failed
Andrew Bennetts
andrew at canonical.com
Tue Nov 7 01:00:50 GMT 2006
On Mon, Nov 06, 2006 at 12:02:19PM -0600, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ramon Diaz-Uriarte wrote:
> > Dear All,
> >
> > (Apparently after adding a bunch of large binary files) bzr check
> > reports things such as:
>
> ...
>
> > bzrs at ameiva:/Disk2/bzr-repositories/RJaCGH$ bzr check
> > bzr: ERROR: CRC check failed 3753648892 2779940560
>
> bzr doesn't use CRC's. It uses sha1 checksums, etc.
bzr doesn't directly, but the gzip format does, and bzr uses gzipped files in
places.
So presumably this error is being raised by Python's gzip or zlib modules, and
it (zlib.error) should probably be caught by check, and reported more helpfully
for the user, e.g. "gzipped file .bzr/x/y/z is corrupted: CRC check failed
3753648892 2779940560".
-Andrew.
More information about the bazaar
mailing list