You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2012/05/28 06:13:23 UTC

[jira] [Commented] (TIKA-935) TikaException thrown when trying to parse archive (*.ar) files

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

Chris A. Mattmann commented on TIKA-935:
----------------------------------------

Hi Josh, looks like you are trying to test for a file in your ArParserTest.java file. Can you upload the test file too?
                
> TikaException thrown when trying to parse archive (*.ar) files
> --------------------------------------------------------------
>
>                 Key: TIKA-935
>                 URL: https://issues.apache.org/jira/browse/TIKA-935
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2
>         Environment: Windows 7
>            Reporter: John Mastarone
>            Assignee: Chris A. Mattmann
>         Attachments: ArParserTest.java, TIKA-935.patch
>
>
> A TikaException is thrown when trying to drop either of the two .ar files from the parsers' test-documents folder into Tika-GUI.  From looking at this: http://stuff.mit.edu/afs/athena/software/cygwin/cygwin_v1.3.2/usr/share/magic.mime   the archive detection is not done correctly for these types of files in the PackageExtractor class, and a TarArchiveInputStream is chosen by default, incorrectly.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira