Lines Matching refs:BadZipFile
43 class BadZipFile(Exception): class
53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
233 raise BadZipFile("zipfiles that span multiple disks are not supported")
468 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
485 raise BadZipFile(f"Corrupt zip64 extra field. "
941 raise BadZipFile("Bad CRC-32 for file %r" % self.name)
1281 except BadZipFile:
1323 raise BadZipFile("File is not a zip file")
1325 raise BadZipFile("File is not a zip file")
1350 raise BadZipFile("Truncated central directory")
1353 raise BadZipFile("Bad magic number for central directory")
1423 except BadZipFile:
1521 raise BadZipFile("Truncated file header")
1524 raise BadZipFile("Bad magic number for file header")
1545 raise BadZipFile(