View Issue Details

IDProjectCategoryView StatusLast Update
0005137JEDI Code LibraryJclCompressionpublic2010-02-18 12:22
ReporterAndrewLeiperAssigned Tooutchy 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionVersion 2.1 
Target VersionFixed in VersionVersion 2.2 
Summary0005137: Can't extract files from a split 7z or zip archive.
DescriptionHi there,

Opening a split archive (eg ArchTest.zip.001, ArchTest.zip.002 etc) causes InArchive.Open to return error code 1 in TJclSevenzipDecompressArchive.OpenArchive.

procedure TJclSevenzipDecompressArchive.OpenArchive;
...
  SevenzipCheck(InArchive.Open(AInStream, @MaxCheckStartPosition, OpenCallback));
...

Additional InformationThis can be reproduced using the demo program in the examples folder:
1) On the write-only tab, click on New.
2) Create a zip or 7z archive.
3) Select a split size (I used 100 bytes).
4) Leave the password blank.
5) Click on Add file and select a file (I used a small one sized 15,904 bytes).
6) Click on Save.
7) On the Read-only tab, click on open and select the zip.001 file.
8) An exception for error code 0000001 is generated.

Using the 7zip file manager to extract the files works fine so the archive itself is ok.

I have attached an example of a split archive which produces the error when you try to decompress it.
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision3182
IDE versionDelphi/C++Builder 2010

Activities

2010-01-25 19:28

 

jclCompressionBug.zip (5,215 bytes)

outchy

2010-02-05 13:33

administrator   ~0017181

to be investigated.

outchy

2010-02-05 22:47

administrator   ~0017183

This should be fixed in revision 3182.

Issue History

Date Modified Username Field Change
2010-01-25 19:28 AndrewLeiper New Issue
2010-01-25 19:28 AndrewLeiper File Added: jclCompressionBug.zip
2010-01-25 19:28 AndrewLeiper IDE version => Delphi/C++Builder 2010
2010-02-05 13:33 outchy Note Added: 0017181
2010-02-05 13:33 outchy Status new => confirmed
2010-02-05 22:47 outchy Note Added: 0017183
2010-02-05 22:47 outchy Assigned To => outchy
2010-02-05 22:47 outchy Status confirmed => feedback
2010-02-18 12:22 outchy Fixed in revision => 3182
2010-02-18 12:22 outchy Status feedback => resolved
2010-02-18 12:22 outchy Fixed in Version => Version 2.2 (Subversion repository/Daily zips)
2010-02-18 12:22 outchy Resolution open => fixed