You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2014/08/18 12:01:27 UTC

[jira] [Commented] (COMPRESS-288) Unsupport for 7z ppmd compression format.

    [ https://issues.apache.org/jira/browse/COMPRESS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100504#comment-14100504 ] 

Stefan Bodewig commented on COMPRESS-288:
-----------------------------------------

No, Commons Compress doesn't support PPMd, yet, nobody has found the time or inclination to implement it.

http://commons.apache.org/proper/commons-compress/limitations.html#a7Z says 'Several of the "methods" supported by 7z are not implemented in Compress.' and http://commons.apache.org/proper/commons-compress/javadocs/api-1.8.1/org/apache/commons/compress/archivers/sevenz/SevenZMethod.html lists the the methods that are supported - some of them are read-only.


> Unsupport for 7z ppmd compression format.
> -----------------------------------------
>
>                 Key: COMPRESS-288
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-288
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.8.1
>         Environment: Tika from truck build.
>            Reporter: sunxingzhe
>              Labels: 7z
>
> When Commons Compress 1.8.1 parse 7z type with ppmd compression format, the following error occurred.
> Caused by: java.io.IOException: Unsupported compression method [3, 4, 1]
> 	at org.apache.commons.compress.archivers.sevenz.Coders.addDecoder(Coders.java:74)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecoderStack(SevenZFile.java:865)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.buildDecodingStream(SevenZFile.java:832)
> 	at org.apache.commons.compress.archivers.sevenz.SevenZFile.getNextEntry(SevenZFile.java:151)
> 	at org.apache.tika.parser.pkg.PackageParser$SevenZWrapper.getNextEntry(PackageParser.java:224)
> 	at org.apache.tika.parser.pkg.PackageParser.parse(PackageParser.java:155)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	... 5 more
> Please tell me tika whether or not to support ppmd decoder.



--
This message was sent by Atlassian JIRA
(v6.2#6252)