jimmejardine / qiqqa-open-source

The open-sourced version of the award-winning Qiqqa research management tool for Windows
GNU General Public License v3.0
380 stars 64 forks source link

SyncFusion 14 locks up (hangs) when reading some PDF files #11

Closed GerHobbelt closed 5 years ago

GerHobbelt commented 5 years ago

(Part of?) the solution was to upgrade the files in ./libs/ to Syncfusion 17 files.

Qiqqa Logging for SF 17 (SF 14 **hangs inside that SF.Pdf API call!)

20190801.233804 WARN [Daemon.Maintainable:BackgroundWorkerDaemon.DoMaintenance_Infrequent] Problem in PDFMetadataInferenceFromPDFMetadata.InferFromPDFMetadata while processing document 824EFA4775A1EC0C518DCD5EA89274ABBF594

Syncfusion.Pdf.PdfException: Cannot load document, the document structure has been corrupted.

at Syncfusion.Pdf.Parsing.PdfLoadedDocument.LoadDocument(Stream file)

at Syncfusion.Pdf.Parsing.PdfLoadedDocument..ctor(Stream file)

at Syncfusion.Pdf.Parsing.PdfLoadedDocument..ctor(String filename)

at Utilities.PDF.AugmentedPdfLoadedDocument..ctor(String filename)

at Qiqqa.Documents.PDF.MetadataSuggestions.PDFMetadataInferenceFromPDFMetadata.InferFromPDFMetadata(PDFDocument pdf_document)

at Qiqqa.DocumentLibrary.MetadataExtractionDaemonStuff.MetadataExtractionDaemon.DoMaintenance(Library library, Daemon daemon)

GerHobbelt commented 5 years ago

Adobe Acrobat DC says this about the offending PDF:

2019-08-02A

GerHobbelt commented 5 years ago

PDF itself is 28MB and too large to upload to Github.

GerHobbelt commented 5 years ago

Done as per #33.

GerHobbelt commented 5 years ago

Closing and decluttering the issue list so it stays workable for me: fixed in https://github.com/GerHobbelt/qiqqa-open-source mainline=master branch, pending #15 / any maintainer rights/actions.