You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Nick Burch (Created) (JIRA)" <ji...@apache.org> on 2011/12/12 03:14:30 UTC

[jira] [Created] (TIKA-808) Fork Parser doesn't work for PDF files

Fork Parser doesn't work for PDF files
--------------------------------------

                 Key: TIKA-808
                 URL: https://issues.apache.org/jira/browse/TIKA-808
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.0
            Reporter: Nick Burch


There seems to be something wrong with the fork parser and PDF files. 

If you run tika-app with the --text option against tika-parsers/src/test/resources/test-documents/testPDF.pdf then you get the text of the pdf back. However, with "-f --text" no text is returned (but you get no errors either)

--
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

        

[jira] [Updated] (TIKA-808) Fork Parser doesn't work for PDF files

Posted by "Jerome Lacoste (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerome Lacoste updated TIKA-808:
--------------------------------

    Attachment: 0001-TIKA-808-tika-doesn-t-parse-PDF-file.-The-issue-is-c.patch
    
> Fork Parser doesn't work for PDF files
> --------------------------------------
>
>                 Key: TIKA-808
>                 URL: https://issues.apache.org/jira/browse/TIKA-808
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Nick Burch
>         Attachments: 0001-TIKA-808-tika-doesn-t-parse-PDF-file.-The-issue-is-c.patch
>
>
> There seems to be something wrong with the fork parser and PDF files. 
> If you run tika-app with the --text option against tika-parsers/src/test/resources/test-documents/testPDF.pdf then you get the text of the pdf back. However, with "-f --text" no text is returned (but you get no errors either)

--
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

        

[jira] [Resolved] (TIKA-808) Fork Parser doesn't work for PDF files

Posted by "Jukka Zitting (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TIKA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved TIKA-808.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Jukka Zitting

Fixed in revision 1222886 by avoiding inner classes.

Enabled the tests (thanks, Nick!) in revision 1222887.

PS. Nick, do you indentation intentionally set at three spaces?
                
> Fork Parser doesn't work for PDF files
> --------------------------------------
>
>                 Key: TIKA-808
>                 URL: https://issues.apache.org/jira/browse/TIKA-808
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Nick Burch
>            Assignee: Jukka Zitting
>             Fix For: 1.1
>
>         Attachments: 0001-TIKA-808-tika-doesn-t-parse-PDF-file.-The-issue-is-c.patch
>
>
> There seems to be something wrong with the fork parser and PDF files. 
> If you run tika-app with the --text option against tika-parsers/src/test/resources/test-documents/testPDF.pdf then you get the text of the pdf back. However, with "-f --text" no text is returned (but you get no errors either)

--
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

        

[jira] [Commented] (TIKA-808) Fork Parser doesn't work for PDF files

Posted by "Nick Burch (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167314#comment-13167314 ] 

Nick Burch commented on TIKA-808:
---------------------------------

I've added some unit tests in r1213131 for this case. I've had to disable them though, as they don't currently pass (they blow up on a class loader issue, and there may well be other problems too beyond that)
                
> Fork Parser doesn't work for PDF files
> --------------------------------------
>
>                 Key: TIKA-808
>                 URL: https://issues.apache.org/jira/browse/TIKA-808
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Nick Burch
>
> There seems to be something wrong with the fork parser and PDF files. 
> If you run tika-app with the --text option against tika-parsers/src/test/resources/test-documents/testPDF.pdf then you get the text of the pdf back. However, with "-f --text" no text is returned (but you get no errors either)

--
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

        

[jira] [Commented] (TIKA-808) Fork Parser doesn't work for PDF files

Posted by "Jerome Lacoste (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TIKA-808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175376#comment-13175376 ] 

Jerome Lacoste commented on TIKA-808:
-------------------------------------

I ve worked on getting the tests to pass. There were several problems, so I will have to open an issue per problem.
                
> Fork Parser doesn't work for PDF files
> --------------------------------------
>
>                 Key: TIKA-808
>                 URL: https://issues.apache.org/jira/browse/TIKA-808
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.0
>            Reporter: Nick Burch
>
> There seems to be something wrong with the fork parser and PDF files. 
> If you run tika-app with the --text option against tika-parsers/src/test/resources/test-documents/testPDF.pdf then you get the text of the pdf back. However, with "-f --text" no text is returned (but you get no errors either)

--
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