Lines Matching defs:ReadError
71 __all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError",
280 class ReadError(TarError):
483 raise ReadError("not a gzip file")
556 raise ReadError("invalid compressed data")
696 raise ReadError("unexpected end of data")
1493 raise ReadError(str(e))
1569 except (ReadError, CompressionError):
1573 raise ReadError("file could not be opened successfully")
1636 raise ReadError("not a gzip file")
1644 raise ReadError("not a gzip file")
1673 raise ReadError("not a bzip2 file")
1701 raise ReadError("not an lzma file")
2164 copyfileobj(source, target, size, ReadError, bufsize)
2168 copyfileobj(source, target, tarinfo.size, ReadError, bufsize)
2288 raise ReadError("unexpected end of data")
2306 raise ReadError(str(e))
2309 raise ReadError("empty file")
2312 raise ReadError(str(e))
2314 raise ReadError(str(e))