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

Nick Burch commented on TIKA-3570:
----------------------------------

[~delmaestro_l] Does that sample file load in the program that generated it?

Apache POI (which Tika uses for OLE2 / Office files) can't read it - 
{{Exception in thread "main" java.lang.IndexOutOfBoundsException: Block 
538976259 not found}} - and the python library OleFileIO_PL can't read it 
either - {{IOError: OLE sector index out of range}}

Those two errors both seems to suggest the file is corrupted or truncated

> LYR file detection
> ------------------
>
>                 Key: TIKA-3570
>                 URL: https://issues.apache.org/jira/browse/TIKA-3570
>             Project: Tika
>          Issue Type: Improvement
>          Components: detector, mime
>    Affects Versions: 1.7
>            Reporter: Laura Delmaestro
>            Priority: Minor
>         Attachments: sample.lyr
>
>
> Tika 1.7 returns for .lyr files: application/x-tika-msoffice.
> Is it possibile to have a more specific response about .lyr format?
> More details can be found at 
> [https://www.filetypeadvisor.com/it/extension/lyr]
> We could not find the mime type of this kind of files
> Thanks



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to