Open funcman opened 5 years ago
Still and issue:
Java/SevenZip/Compression/RangeCoder/Decoder.java
Java/SevenZip/Compression/RangeCoder/Encoder.java
Java/SevenZip/CRC.java
Java/SevenZip/ICodeProgress.java
Java/SevenZip/LzmaAlone.java
Traceback (most recent call last):
File "test.py", line 37, in <module>
dec_7z(file_name, "7z")
File "test.py", line 31, in dec_7z
outfile.write(archive.getmember(name).read())
File "C:\Program Files\Python37\lib\site-packages\py7zlib.py", line 650, in read
data = getattr(self, decoder)(coder, data, level, num_coders)
File "C:\Program Files\Python37\lib\site-packages\py7zlib.py", line 735, in _read_lzma
return self._read_from_decompressor(coder, dec, input, level, num_coders, with_cache=True)
File "C:\Program Files\Python37\lib\site-packages\py7zlib.py", line 698, in _read_from_decompressor
tmp = decompressor.decompress(data)
ValueError: data error during decompression
This is my code:
Run it, but get this:
And my env:
Thanks!