Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zotero OCR Fails with Linked Attachments #43

Open
dstark opened this issue Jul 13, 2022 · 1 comment
Open

Zotero OCR Fails with Linked Attachments #43

dstark opened this issue Jul 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@dstark
Copy link

dstark commented Jul 13, 2022

When I run Zotero OCR with PDFs inside the Zotero storage folder, things go as expected. When instead Zotero has only a link to a PDF stored elsewhere, the OCR fails to finish.

OCR run on a linked PDF can create

  • a Zotero note for the OCR text, but this note remains empty and never gets text added to it,
  • a .ocr.pdf file, but this file fails to open with the error "[PXCLib]: Required value not found,"
  • a .ocr.txt file, but this file remains empty.

Just looking at the behavior on the screen (which may or may not be transparent to what's happening under the hood), it looks like pdftoppm.exe fails to launch when the OCR process is attempted on a linked PDF.

If Zotero OCR could

  1. handle linked PDFs the same as it does stored PDFs, that would be ideal, or
  2. produce an error when OCR is attempted on a linked PDF that would ask the user to make the linked PDF a stored PDF in order to proceed with the conversion, that would be helpful.

Thanks so much for considering this request!


Zotero 6.0.9
Zotero OCR 0.6.0
Poppler 22.04
Tesseract 5.2.0.20220712 (64-bit)

@zuphilip zuphilip added the enhancement New feature or request label Dec 10, 2023
@aborel
Copy link
Collaborator

aborel commented Apr 9, 2024

I have tried to reproduce this using Zotero OCR 0.7.0, and it seems to work correctly. Can anybody confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants