Hi, I have just completed a new installation on Ubuntu 18.04 and run int a problem with pdf2txt. I installed the package PDFMiner from both the repository and the apt download. In both cases I have tried running pdf2txt diirectly from tha command line and always get the following error
raise PDFSyntaxError ('No /Root object! - is this really a PDF?') pdfminer.pdfparser.PDFSyntaxError: No /Root object! - Is this really a PDF?
- pdftotext converts the file ok
- I have checked the pdf file using an online pdf validator and it passes ok.
- This does not seem to be a CA problem but if anyone has had the same problem and solved it or could point me in the right direction I would be most thankful.