Open 7zip with no crc in python

147 Views Asked by At

I want to open an 7zip file in python and used the py7zr library but getting following error:

CrcError: (3945015320, 1928216475, '1_Microsoft Outlook - Memoformat (3).tif')

I tried the following code:

archive= py7zr.SevenZipFile('path', mode='r',password="mypw")
archive.reset()
archive.extractall()
archive.close()

I checked with archive.test() and received None - In my understanding the crc value is missing.

1

There are 1 best solutions below

0
oluo.acn On BEST ANSWER

The password from my client was incorrect - thank you for the help!