Pohli
1
REPRODUCIBILITY: 100 %
OS VERSION: 4.5.0.24
HARDWARE: Sony Xperia 10 III
UI LANGUAGE: en
REGRESSION:
DESCRIPTION:
Extracting some 7zip files with Sailfish Archive leads to corrupt extracted files.
PRECONDITIONS:
STEPS TO REPRODUCE:
- Take a 7zip archive file from https://www.hvsc.c64.org/ (I tested it with HVSC_Update_81.7z)
- Locate the archive file in File Browser.
- Select Open in File Browser’s pulley menu.
- Select Extract all in Sailfish Archive’s pulley menu.
EXPECTED RESULT:
Extracted files should be fine.
ACTUAL RESULT:
Extracted files are corrupt, contain different data, size is okay though.
MODIFICATIONS:
ADDITIONAL INFORMATION:
I tested extracting the same file with console app p7zip 16.02 which works fine.
1 Like
Confirmed.
p7z t file
with that example file reports that there is something wrong with it.
It does extract files, but not all. E.g. readme.1st is missing from the results.
Path = HVSC_Update_81.7z
Type = 7z
Physical Size = 3251627
Headers Size = 14423
Method = LZMA:22 030401 BCJ2
Solid = +
Blocks = 3
: update/DOCUMENTS/SID_file_format.txt
ERROR: Unsupported Method : update/DOCUMENTS/Songlengths.faq
ERROR: Unsupported Method : update/DOCUMENTS/Songlengths.md5
ERROR: Unsupported Method : update/DOCUMENTS/Songlengths.txt
ERROR: Unsupported Method : update/DOCUMENTS/STIL.faq
ERROR: Unsupported Method : update/DOCUMENTS/STIL.txt
ERROR: Unsupported Method : update/DOCUMENTS/Update_Announcements/20240630.txt
ERROR: Unsupported Method : readme.1st
Sub items Errors: 15
Archives with Errors: 1
Working files from Sample 7z Archive File Download show:
Testing archive: sample-1.7z
--
Path = sample-1.7z
Type = 7z
Physical Size = 736040
Headers Size = 244
Method = LZMA2:1536k
Solid = +
Blocks = 1
Everything is Ok
With p7zip-zull
I get a OK result testing the archive:
$ 7z t HVSC_Update_81.7z
7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov :
2016-05-21
p7zip Version 16.02 (locale=fi_FI.utf8,Utf16=on,HugeFile
s=on,64 bits,8 CPUs LE)
Scanning the drive for archives:
1 file, 3251627 bytes (3176 KiB)
Testing archive: HVSC_Update_81.7z
--
Path = HVSC_Update_81.7z
Type = 7z
Physical Size = 3251627
Headers Size = 14423
Method = LZMA:22 PPMD BCJ2
Solid = +
Blocks = 3
[...]
Everything is Ok
Folders: 2
Files: 594
Size: 12468360
Compressed: 3251627
With p7zip
(p7r
) get the erroneous result. Maybe that’s a clue?
1 Like
This has ‘PPMD’ while the other one just has a number 030401 (id?).
Question is, will sailfish-archive produce correct results when p7zip-full is installed?
BTW, it looks like sailfish-archive depends on Sailfish.FileManager
(from sailfish-components-filemanager
) which does the actual extracting.
1 Like