Seite 1 von 1

Warning message from tika python module using the unpack method

Verfasst: Montag 12. November 2018, 09:17
von katherineamt
I'm currently using tika to extract the text from pdf files. I found a very fast method within the tika module. This method is called unpack. This is my code:

Code: Alles auswählen

from tika import unpack

text = unpack.from_file('example.pdf')['content']
However, once in a while (not always!) I get this warning:

Code: Alles auswählen

2018-11-02 15:30:25,533 [MainThread ] [WARNI] Failed to see startup log message; retrying...
After retrying the code starts to work. However, I don't understand the warning and also it takes time to retry. Anyone has an idea why I get this warning?

Any help here is appreciated.

Re: Warning message from tika python module using the unpack method

Verfasst: Montag 12. November 2018, 11:55
von __deets__
Sounds like a network issue of some sort. Is your Tika Server ob the same machine?