fancycode / pylzma

Python bindings for the LZMA library
http://www.joachim-bauch.de/projects/pylzma/
GNU Lesser General Public License v2.1
234 stars 72 forks source link

index error #75

Closed ReenigneArcher closed 1 year ago

ReenigneArcher commented 3 years ago

Not sure if this project is still maintained. Came here in hopes this could extract a 7z with BCJ2 compression which is insupported in py7zr

I get an IndexError when trying to run the py7zlib.py on test.7z file.

PS C:\Users\ReenigneArcher\PycharmProjects\pylma_test> python C:\Users\ReenigneArcher\PycharmProjects\pylma_test\venv\Lib\site-packages\py7zlib.py
Traceback (most recent call last):
  File "C:\Users\ReenigneArcher\PycharmProjects\pylma_test\venv\Lib\site-packages\py7zlib.py", line 958, in <module>
    f = Archive7z(open('test.7z', 'rb'))
  File "C:\Users\ReenigneArcher\PycharmProjects\pylma_test\venv\Lib\site-packages\py7zlib.py", line 884, in __init__
    folder = folders[fidx]
IndexError: list index out of range

The is the file I am testing on (from RetroArch)... https://buildbot.libretro.com/stable/1.9.7/windows/x86_64/RetroArch.7z