[Bug 1890013] [NEW] ocrfeeder PDF import systematically fails

Launchpad Bug Tracker 1890013 at bugs.launchpad.net
Tue Nov 23 00:02:27 UTC 2021


You have been subscribed to a public bug by William Wilson (jawn-smith):

[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)

** Affects: ocrfeeder (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug focal
-- 
ocrfeeder PDF import systematically fails
https://bugs.launchpad.net/bugs/1890013
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list