commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-257) 7z: Unsupported compression method
Date Tue, 21 Jan 2014 15:11:20 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Mueller updated COMPRESS-257:
------------------------------------

    Attachment: 7-ZipPortableCopy.7z

> 7z: Unsupported compression method
> ----------------------------------
>
>                 Key: COMPRESS-257
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-257
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.6, 1.7
>            Reporter: Stefan Mueller
>            Priority: Minor
>              Labels: 7zip
>         Attachments: 7-ZipPortableCopy.7z
>
>
> I created an archiv with 7zip 9.20 containing the 7-ZipPortable directory. Already tried
to use a copy of the directory, so 
> the program does not archive itself. The standard setting where used:
> Compression level: normal
> Compression method: lzma2
> Dictionary size: 16 MB
> Word size: 32
> Solid Block size: 2 GB
> Small amount of code:
> //Open archive
> SevenZFile input = new SevenZFile(new File(arcName));
> SevenZArchiveEntry entry;
> while((entry = input.getNextEntry()) != null)
> {...}
> The exception thrown:
> java.io.IOException: Unsupported compression method [3, 3, 1, 3]
> 	at org.apache.commons.compress.archivers.sevenz.Coders.addDecoder(Coders.java:51)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecoderStack(SevenZFile.java:849)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecodingStream(SevenZFile.java:817)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.getNextEntry(SevenZFile.java:150)
> 	at compress.SevenZipError.main(SevenZipError.java:36)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message