** Description changed: + [Impact] + When attempting to import PDF files, a scenario frequently + occurs in which the import fails with no error message. + This happens because ocrfeeder does not wait for the call + to ghostscript to finish running before attempting to + read its output. + + [Test Plan] + * Run ocrfeeder + * Click File -> Import PDF + * Choose a PDF file with many pages, as this will + be more likely to trigger the bug + * Observe that none of the PDF pages appear in ocrfeeder + and it states "No images added" in the lower left corner + * Install ocrfeeder from -proposed + * Attempt to import the PDF file again, and observe that + all of the pages appear in ocrfeeder + + [Regression Potential] + If the ghostscript call hangs indefinitely for any + reason, the ocrfeeder application will also be hung. + + [Original Description] Using the File menu of ocrfeeder : - Adding a JPG image systematically succeeds, - Importing a PDF systematically fails (without any error message). Please fix the handling of PDF by ocrfeeder. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ocrfeeder 0.8.1+git20200128.b945089-1 ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: X-Cinnamon Date: Sun Aug 2 01:09:44 2020 ExecutablePath: /usr/bin/ocrfeeder InstallationDate: Installed on 2019-08-26 (340 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) InterpreterPath: /usr/bin/python3.8 PackageArchitecture: all Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4 SourcePackage: ocrfeeder UpgradeStatus: Upgraded to focal on 2020-06-23 (39 days ago)
** Patch added: "lp1890013.debdiff" https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+attachment/5542690/+files/lp1890013.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890013 Title: ocrfeeder PDF import systematically fails To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
