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

Bugs Report : Incorrect stream properties #56

Closed fubuki-is-cat closed 5 years ago

fubuki-is-cat commented 6 years ago

Bug 1 : TypeError: Incorrect stream properties

Log: Decompress "songs/140097 Camellia - Bangin' Burst/BG.jpg" Successfully. Decompress "songs/140097 Camellia - Bangin' Burst/Camellia - Bangin' Burst (Spy) [EXHAUST Lv.16].osu" Successfully. Decompress "songs/140097 Camellia - Bangin' Burst/Camellia - Bangin' Burst (Spy) [KK's ADVANCED Lv.14].osu" Successfully. Decompress "songs/140097 Camellia - Bangin' Burst/Camellia - Bangin' Burst (Spy) [S.Star's NOVICE Lv.9].osu" Successfully. Decompress "songs/140097 Camellia - Bangin' Burst/Camellia - Bangin' Burst (Spy) [victorica's Extra Lv.15].osu" Successfully. Decompress "songs/140097 Camellia - Bangin' Burst/Camellia - Bangin' Burst [EXH].mp3" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/bgmama.jpg" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/High Speed Music Team Sharpnel - M.A.M.A. (arcwinolivirus) [ExTra].osu" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/High Speed Music Team Sharpnel - M.A.M.A. (arcwinolivirus) [HD].osu" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/High Speed Music Team Sharpnel - M.A.M.A. (arcwinolivirus) [MX].osu" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/High Speed Music Team Sharpnel - M.A.M.A. (arcwinolivirus) [NM].osu" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/High Speed Music Team Sharpnel - M.A.M.A. (arcwinolivirus) [SHD].osu" Successfully. Decompress "songs/176446 High Speed Music Team Sharpnel - MAMA/M.A.M.A.mp3" Successfully. Decompress "songs/232126 Hatsune Miku - Lagamine Rin - The Lost Lovers/Hatsune Miku - Lagamine Rin - The Lost Lovers (OmariYumi) [Dead Line Carzy Mania 4K].jpg" Successfully. Decompress "songs/232126 Hatsune Miku - Lagamine Rin - The Lost Lovers/Hatsune Miku - Lagamine Rin - The Lost Lovers (OmariYumi) [Dead Line Carzy Mania 4K].osu" Successfully. Decompress "songs/232126 Hatsune Miku - Lagamine Rin - The Lost Lovers/The Lost Lovers.mp3" Successfully. Decompress "songs/258121 Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix/46782672_p0.jpg" Successfully. Decompress "songs/258121 Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix/Shanghai Kouchakan ~ Chinese Tea Orchid Remix.mp3" Successfully. Decompress "songs/258121 Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix/Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix (SanadaYukimura) [ADVANCED].osu" Successfully. Decompress "songs/258121 Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix/Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix (SanadaYukimura) [EXHAUST].osu" Successfully. Decompress "songs/258121 Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix/Yooh - Shanghai Kouchakan ~ Chinese Tea Orchid Remix (SanadaYukimura) [NOVICE].osu" Successfully. Decompress "songs/286738 Various Artists - 4K 2nd Dan/4K 2nd Dan.mp3" Successfully. Decompress "songs/286738 Various Artists - 4K 2nd Dan/Dan2.jpg" Successfully. Decompress "songs/286738 Various Artists - 4K 2nd Dan/Various Artists - 4K 2nd Dan (PortalLife) [2].osu" Successfully. Decompress "songs/392965 IOSYS - Endless Tewi-ma Park/IOSYS - Endless Tewi-ma Park (arcwinolivirus) [Arcwin Lost Tewicated].osu" Successfully. Decompress "songs/392965 IOSYS - Endless Tewi-ma Park/IOSYS - Endless Tewi-ma Park (arcwinolivirus) [Arcwin Tewicated].osu" Successfully. Decompress "songs/392965 IOSYS - Endless Tewi-ma Park/losttewiBG.jpg" Successfully. Decompress "songs/392965 IOSYS - Endless Tewi-ma Park/Touhou - Iosys Tewis Mapaku To Endless.mp3" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/audio.mp3" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Another].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Beginner].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Black Another].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Eternal].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Hyper].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/Colorful Sounds Port - ETERNAL DRAIN (Wh1teh) [Normal].osu" Successfully. Decompress "songs/468353 Colorful Sounds Port - ETERNAL DRAIN/eternal_title_v2.jpg" Successfully. Decompress "songs/548193 Various Artists - 4k 3rd dan v2/dan3.png" Successfully. Decompress "songs/548193 Various Artists - 4k 3rd dan v2/Dan_3.jpg" Successfully. Decompress "songs/548193 Various Artists - 4k 3rd dan v2/Thirddan.mp3" Successfully. Decompress "songs/548193 Various Artists - 4k 3rd dan v2/Various Artists - 4k 3rd dan v2 (Yuudachi-kun) [d-3].osu" Successfully. Decompress "songs/548650 Various Artists - 4k 2nd dan v2/dan2.png" Successfully. Decompress "songs/548650 Various Artists - 4k 2nd dan v2/Dan_2.jpg" Successfully. Decompress "songs/548650 Various Artists - 4k 2nd dan v2/seconddan.mp3" Successfully. Decompress "songs/548650 Various Artists - 4k 2nd dan v2/Various Artists - 4k 2nd dan v2 (Yuudachi-kun) [d-2].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/background.jpg" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/M-A 1.1x.mp3" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/M-A 1.2x.mp3" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/M-A 1.3x.mp3" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/M-A 1.4x.mp3" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/M-A.mp3" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Expert Lv.15 1.1x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Expert Lv.15 1.2x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Expert Lv.15 1.3x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Expert Lv.15 1.4x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Expert Lv.15].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Hard Lv.14 1.1x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Hard Lv.14 1.2x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Hard Lv.14 1.3x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Hard Lv.14 1.4x].osu" Successfully. Decompress "songs/565125 Team Musical Masterpiece - M-A/Team Musical Masterpiece - M-A (Night Bunny 7) [IcyWorld's Hard Lv.14].osu" Successfully. Decompress "songs/746792 Chaoz Fantasy - Chaoz Fantasy/Chaoz Fantasy - Chaoz Fantasy (StarDust_4) [Insane].osu" Successfully. Decompress "songs/746792 Chaoz Fantasy - Chaoz Fantasy/keluodiya.mp3" Successfully. Decompress "songs/746792 Chaoz Fantasy - Chaoz Fantasy/keluodiya.png" Successfully. Traceback (most recent call last): File ".\mainPrg.py", line 8, in archiveClass.decompressArchive(archiveClass.openArchive("songs.7z")) File "C:\Users\Vinyl\Desktop\py7ztest\archive7zip.py", line 33, in decompressArchive if (not cf.checkcrc()): File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 776, in checkcrc data = self.read() File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 632, in read data = getattr(self, decoder)(coder, data, level, num_coders) File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 702, in _read_lzma return self._read_from_decompressor(coder, dec, input, level, num_coders, with_cache=True) File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 686, in _read_from_decompressor data = decompressor.decompress(input, self._start+size) TypeError: Incorrect stream properties

Bug 2 : ValueError: data error during decompression Decompress "ProcessMonitor/Eula.txt" Successfully. Decompress "ProcessMonitor/procmon.chm" Successfully. Traceback (most recent call last): File ".\mainPrg.py", line 8, in archiveClass.decompressArchive(archiveClass.openArchive("ProcessMonitor.7z")) File "C:\Users\Vinyl\Desktop\py7ztest\archive7zip.py", line 33, in decompressArchive if (not cf.checkcrc()): File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 776, in checkcrc data = self.read() File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 632, in read data = getattr(self, decoder)(coder, data, level, num_coders) File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 702, in _read_lzma return self._read_from_decompressor(coder, dec, input, level, num_coders, with_cache=True) File "C:\Program Files (x86)\Python36-32\lib\site-packages\py7zlib.py", line 686, in _read_from_decompressor data = decompressor.decompress(input, self._start+size) ValueError: data error during decompression

Test Archive File : https://mega.nz/#!2lAjgQyZ!Eir74Z_eSS68tz53l9Y-enr0mTOzMSFVZXbfU81CIBE