ocrfeeder PDF import systematically fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ocrfeeder (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
William Wilson |
Bug Description
[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+git202001
ProcVersionSign
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.4
Architecture: amd64
CasperMD5CheckR
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
PackageArchitec
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)
Changed in ocrfeeder (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in ocrfeeder (Ubuntu Focal): | |
assignee: | nobody → William Wilson (jawn-smith) |
Status changed to 'Confirmed' because the bug affects multiple users.