jabref icon indicating copy to clipboard operation
jabref copied to clipboard

If OCR failed, there should be the command line shown

Open koppor opened this issue 3 months ago β€’ 17 comments

I tried the OCR feature - https://blog.jabref.org/2026/08/09/OCR-integration-in-JabRef/

But I got following mistake:

Image

Can we have a more detailed error message? Maybe the command line executed and the result?

We would like the final result to be like this image The executed command with its output.

koppor avatar Aug 25 '26 13:08 koppor

I'd like to work on this, could you assign it to me?

Fayupable avatar Aug 25 '26 14:08 Fayupable

πŸ‘‹ Hey @Fayupable, looks like you’re eager to work on this issue β€” great! πŸŽ‰ It also looks like you don't know how to assign issues to yourself. Please read our CONTRIBUTING.md to find out how. It will also guide you in other aspects of contributing to JabRef.

jabref-machine avatar Aug 25 '26 14:08 jabref-machine

/assign-me

Fayupable avatar Aug 25 '26 14:08 Fayupable

πŸ‘‹ Hey @Fayupable, thank you for your interest in this issue! πŸŽ‰

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! πŸš€

jabref-machine avatar Aug 25 '26 14:08 jabref-machine

/assign-me

sudeepshm avatar Aug 30 '26 07:08 sudeepshm

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

At this point in time, you raised 1 pull request(s) of which 0% (0/1) have been merged.

jabref-machine avatar Aug 30 '26 07:08 jabref-machine

⏰ Assignment Reminder

Hi @sudeepshm, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 4 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 4 days
  • Asking for the πŸ“Œ Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Sep 02 '26 12:09 github-actions[bot]

hello when i analysed i got that where OcrResult.Failure and OcrUtils.performOcr discard the command line and process execution details before reaching OcrLinkedFileAction. which one you were prefer among these two design choices:

  1. Should OcrResult.Failure only carry the executed command line string, or should it also capture the exit code and stderr output?
  2. In the UI, should this error information be appended directly to the main dialog text, or displayed inside JabRef's expandable details error dialog (showErrorDialogAndWait(title, content, details))?

sudeepshm avatar Sep 05 '26 17:09 sudeepshm

We would like to have something like this image The command executed and the output of the command.

ZiadAbdElFatah avatar Sep 06 '26 07:09 ZiadAbdElFatah

Sorry @sudeepshm this issue is currently reserved for an event for two weeks, if it's not solved during these two weeks feel free to start solving it. Until then, feel free to look for another issue.

ZiadAbdElFatah avatar Sep 06 '26 07:09 ZiadAbdElFatah

πŸ“‹ Assignment Update

Hi @ZiadAbdElFatah, due to inactivity, you have been unassigned from this issue.

Next steps


If you still want to work on this:

  • Submit a pull request showing your current state. You will be automatically assigned again.
  • Ask a maintainer to assign you again.

github-actions[bot] avatar Sep 13 '26 12:09 github-actions[bot]

/assign-me

3rfan avatar Sep 13 '26 14:09 3rfan

⚠️ Issue Already Assigned

Hi @3rfan, this issue is currently assigned to @sudeepshm.

[!NOTE] If no progress is made within 8 days, the issue will be automatically unassigned.

Options for contributors
  • Wait for availability: The issue may become available if auto-unassigned
  • Collaborate: You can ask the assignee if they want help
  • Maintainer assistance: A maintainer can add you as co-assignee if appropriate

jabref-machine avatar Sep 13 '26 14:09 jabref-machine

/assign-me

ryangeorge-dev avatar Sep 13 '26 23:09 ryangeorge-dev

πŸ‘‹ Hey @ryangeorge-dev, thank you for your interest in this issue! πŸŽ‰

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly. When using AI tools, please use them as an assistant rather than simply copying their output. See Don't paste the AI, please.. For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! πŸš€

jabref-machine avatar Sep 13 '26 23:09 jabref-machine

⏰ Assignment Reminder

Hi @ryangeorge-dev, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 4 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 4 days
  • Asking for the πŸ“Œ Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Sep 17 '26 12:09 github-actions[bot]

We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/17220.

github-actions[bot] avatar Oct 25 '26 19:10 github-actions[bot]