You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py7zr stopped working in my environment between version 0.18.4 and 0.18.5. And still not working for any new versions. The problem seems to be that following if-statement was removed: In the compress.py module, class SevenZipDecompressor, function _decompress:
"if isinstance(decompressor, LZMA1Decompressor) or isinstance(decompressor, PpmdDecompressor):
data = decompressor.decompress(data, max_length) # always give max_length for lzma1
else:
data = decompressor.decompress(data)"
which does not work for me.
I have successfully manage to append the if statement in version 0.22.0.
But I rather see a offical fix for this. Any possibilty for that?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
py7zr stopped working in my environment between version 0.18.4 and 0.18.5. And still not working for any new versions. The problem seems to be that following if-statement was removed: In the compress.py module, class SevenZipDecompressor, function _decompress:
"if isinstance(decompressor, LZMA1Decompressor) or isinstance(decompressor, PpmdDecompressor):
data = decompressor.decompress(data, max_length) # always give max_length for lzma1
else:
data = decompressor.decompress(data)"
Replaced by:
"data = decompressor.decompress(data, max_length)"
which does not work for me.
I have successfully manage to append the if statement in version 0.22.0.
But I rather see a offical fix for this. Any possibilty for that?
Beta Was this translation helpful? Give feedback.
All reactions