Warning message from tika python module using the unpack method
Verfasst: Montag 12. November 2018, 09:17
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:
However, once in a while (not always!) I get this warning:
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.
Code: Alles auswählen
from tika import unpack
text = unpack.from_file('example.pdf')['content']
Code: Alles auswählen
2018-11-02 15:30:25,533 [MainThread ] [WARNI] Failed to see startup log message; retrying...
Any help here is appreciated.