[Bug 1890013] Re: ocrfeeder PDF import systematically fails
Dirk F
1890013 at bugs.launchpad.net
Tue Nov 23 01:43:03 UTC 2021
For historical interest, I note that I don't see (2) in ocrfeeder 0.8.1
under Xenial. Fixing (1) by reverting gs to 9.25 or replacing with a
patched 9.50 solved my issue with ocrfeeder in that configuration. I
presume it's running under Python 2.7.17.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1890013
Title:
ocrfeeder PDF import systematically fails
Status in ocrfeeder package in Ubuntu:
Confirmed
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+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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+subscriptions
More information about the Ubuntu-sponsors
mailing list