-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
OCR is not working, Context menu shows no entry #10746
Comments
Could you restart the app and share the log again? I think the messages you have happen when you disable then quickly enable OCR again |
@laurent22 thanks for investigating. In which view the context menu with "View OCR text" should appear (after right-clicking the image)? I'm always using the split view and neither in the editor nor in the view panel it's working. The context menu in the rich text editor is also not showing the context menu entry. How should the search regarding OCR text and identifying the attachments should work? Searching in the note (ctrl+F) is not working, but the "general" search is working. OCR: Context menu: |
It's used in general search only. And right-clicking the image should show the menu item |
The menu entry item isn't appearing (and also no message box). Based on general search I know, that there was OCR text identified. Btw: Could the search be extended to note search or are there any reasons not doing that? Log: |
Woah, that is the trick. Now it's feeling a little bit embarrassing for creating the ticket. But honestly I've never used the link feature, I'm always pasting the images, pdfs, directly in the note. |
I think this could be classified as a bug, because you can't get the text of OCR images that are displayed and not included as link only. |
… context menu when right-clicking an image
Operating system
Linux
Joplin version
3.0.13 (prod, linux)
Desktop version info
Joplin 3.0.13 (prod, linux)
Client-ID: 2931d45f8e164a75959fc7290f6eab2f
Sync-Version: 3
Profil-Version: 47
Unterstützter Schlüsselbund: Nein
Revision: 599cf5b
Backup: 1.4.1
Delete unlinked resources: 1.0.0
Freehand Drawing: 2.11.0
Markdown table calculations: 1.0.5
Markdown Table: Sortable: 1.2.2
Paste Special: 1.1.2
Current behaviour
Annotation:
Notes will be synchronized to WebDav. Other client is Android device. Joplin is in use still 2.x.
I'd had the feeling that the OCR wasn't working in the past, but now I can really check via the context menu, that something is wrong (now entry in context menu). Does anybody have an idea what is wrong?
Expected behaviour
Logs
21:52:27: OcrService: Starting background service...
node:internal/process/task_queues:95 21:52:27: OcrService: Found 0 resources to process...
/tmp/.mount_JoplincMeLTN/resources/app.asar/node_modules/@joplin/utils/dist/Logger.js:270 21:52:27: OcrService: 0 resources have been processed.
node:internal/process/task_queues:95 21:57:27: OcrService: Found 0 resources to process...
/tmp/.mount_JoplincMeLTN/resources/app.asar/node_modules/@joplin/utils/dist/Logger.js:270 21:57:27: OcrService: 0 resources have been processed.
/tmp/.mount_JoplincMeLTN/resources/app.asar/node_modules/@joplin/utils/dist/Logger.js:270 22:02:27: OcrService: Found 0 resources to process...
/tmp/.mount_JoplincMeLTN/resources/app.asar/node_modules/@joplin/utils/dist/Logger.js:270 22:02:27: OcrService: 0 resources have been processed.
node:internal/process/task_queues:95 22:07:08: OcrService: Found 1 resources to process...
node:internal/process/task_queues:95 22:07:27: OcrService: Found 1 resources to process...
node:internal/process/task_queues:95 22:12:27: OcrService: Found 1 resources to process...
/tmp/.mount_JoplincM…lib/TaskQueue.js:48 Uncaught (in promise) Error: Cannot push task when queue is stopping
at TaskQueue.push (/tmp/.mount_JoplincM…/TaskQueue.js:48:19)
at TaskQueue. (/tmp/.mount_JoplincM…/TaskQueue.js:60:18)
at Generator.next ()
at fulfilled (/tmp/.mount_JoplincM…b/TaskQueue.js:5:58)
node:internal/process/task_queues:95 22:17:27: OcrService: Found 1 resources to process...
/tmp/.mount_JoplincM…lib/TaskQueue.js:48 Uncaught (in promise) Error: Cannot push task when queue is stopping
at TaskQueue.push (/tmp/.mount_JoplincM…/TaskQueue.js:48:19)
at TaskQueue. (/tmp/.mount_JoplincM…/TaskQueue.js:60:18)
at Generator.next ()
at fulfilled (/tmp/.mount_JoplincM…b/TaskQueue.js:5:58)
node:internal/process/task_queues:95 22:22:27: OcrService: Found 1 resources to process...
/tmp/.mount_JoplincM…lib/TaskQueue.js:48 Uncaught (in promise) Error: Cannot push task when queue is stopping
at TaskQueue.push (/tmp/.mount_JoplincM…/TaskQueue.js:48:19)
at TaskQueue. (/tmp/.mount_JoplincM…/TaskQueue.js:60:18)
at Generator.next ()
at fulfilled (/tmp/.mount_JoplincM…b/TaskQueue.js:5:58)
The text was updated successfully, but these errors were encountered: