IvyTools

Please login or register.

Login with username, password and session length
Advanced search  

News:

SMF - Just Installed!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - tilutza

Pages: [1]
1
Bug Reports / PDF file is not opened
« on: February 14, 2020, 05:39:16 AM »
Hello! I am evaluating Ivy and it seems to work pretty well. However, I have a strange PDF which in Adobe Reader works. If I open in Ivy it gets' the error that "UglyToad.PdfPig.Core.PdfDocumentFormatException: 'Could not read the first token in the document at position 0.'".

Do you guys know why?
The code that reads PDF is the simplest one:


            PdfParser p = new PdfParser(IvyDocumentReader.ReadPdf(pdfFileName));
            var text = p.ExtractText();

            return p.Text;

The problematic PDF is at: https://drive.google.com/open?id=1malOKp5-M3ZKAXxdQ8mNal4mLpX24_iE

Pages: [1]