[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-30 Thread Launchpad Bug Tracker
This bug was fixed in the package ocrfeeder - 0.8.1+git20200128.b945089-1ubuntu1 --- ocrfeeder (0.8.1+git20200128.b945089-1ubuntu1) focal; urgency=medium * d/patches/wait-for-ghostcript.patch: resolve race condition causing PDF imports to silently fail. (LP: #1890013) --

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread William Wilson
While this second image shows a successful PDF import after installing ocrfeeder from -proposed. ** Attachment added: "ocrfeeder_success_case.png" https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+attachment/5542886/+files/ocrfeeder_success_case.png ** Tags removed:

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread William Wilson
The verification passed for focal. The attached image shows the "No images added" message after attempting to import a PDF. ** Attachment added: "ocrfeeder_fail_case.png" https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+attachment/5542885/+files/ocrfeeder_fail_case.png --

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread Brian Murray
** Changed in: ocrfeeder (Ubuntu Focal) Assignee: (unassigned) => William Wilson (jawn-smith) -- 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

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread Ɓukasz Zemczak
Hello Etienne, or anyone else affected, Accepted ocrfeeder into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ocrfeeder/0.8.1+git20200128.b945089-1ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread Brian Murray
$ dput ocrfeeder_0.8.1+git20200128.b945089-1ubuntu1_source.changes Trying to upload package to ubuntu Checking signature on .changes gpg: /tmp/pkgs/focal/ocrfeeder_0.8.1+git20200128.b945089-1ubuntu1_source.changes: Valid signature from 1E918B66765B3E31 Checking signature on .dsc gpg:

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-23 Thread Brian Murray
** Also affects: ocrfeeder (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: ocrfeeder (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread Dirk F
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

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread William Wilson
This bug is not present in bionic as it does not occur with the version of Python in Bionic. Hirsute and impish have a newer version of ocrfeeder in which this bug is fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread William Wilson
** Patch added: "lp1890013.debdiff" https://bugs.launchpad.net/ubuntu/+source/ocrfeeder/+bug/1890013/+attachment/5542691/+files/lp1890013.debdiff ** Tags added: verification-needed verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread William Wilson
** 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. +

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread William Wilson
Looks like there are two things going on here: 1) A bug in ghostscript that fails to correctly convert the PDF files https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1913656 2) A race condition in ocrfeeder itself. The function convertPdfToImages returns without waiting for the

[Bug 1890013] Re: ocrfeeder PDF import systematically fails

2021-11-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ocrfeeder (Ubuntu) Status: New => Confirmed -- 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: