python7zippy7zr

Open 7zip with no crc in python


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.


Solution

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