This only happens with some PDFs. Attached is an example. Here is the output when run from the command line:
[1 Debug 23:12:26.237] Loaded /path/to/file.pdf [3 Warn 23:12:26.369] Caught an exception - PdfSharp.Pdf.IO.PdfReaderException: Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6. (in `PdfSharp') at PdfSharp.Pdf.IO.Parser.ReadXRefTableAndTrailer (PdfSharp.Pdf.PdfReferenceTable xrefTable) [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.IO.Parser.ReadTrailer () [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.IO.PdfReader.Open (System.IO.Stream stream, System.String password, PdfDocumentOpenMode openmode, PdfSharp.Pdf.IO.PdfPasswordProvider passwordProvider) [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.IO.PdfReader.Open (System.String path, System.String password, PdfDocumentOpenMode openmode, PdfSharp.Pdf.IO.PdfPasswordProvider provider) [0x00000] in <filename unknown>:0 at PdfSharp.Pdf.IO.PdfReader.Open (System.String path, PdfDocumentOpenMode openmode, PdfSharp.Pdf.IO.PdfPasswordProvider provider) [0x00000] in <filename unknown>:0 at PdfMod.Pdf.Document.Load (System.String uri, PdfSharp.Pdf.IO.PdfPasswordProvider passwordProvider, Boolean isAlreadyTmp) [0x00000] in <filename unknown>:0 at PdfMod.Gui.Client+<LoadPath>c__AnonStorey10.<>m__1C () [0x00000] in <filename unknown>:0 [3 Error 23:12:26.371] Error Loading Document - There was an error loading /path/to/file.pdf ** Attachment added: "Example PDF that doesn't open" https://bugs.launchpad.net/ubuntu/+source/pdfmod/+bug/975928/+attachment/3326712/+files/Scotiabank%20Group%20Privacy%20Agreement.pdf ** Summary changed: - Error Loading Document + Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6. (in `PdfSharp') ** Tags added: precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/975928 Title: Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6. (in `PdfSharp') To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pdfmod/+bug/975928/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
