I have
- an indexed folder on a NAS
- a smart rule that watches this folder and converts incoming PDFs to PDF+Text with DT’s OCR
- this worked flawlessly with DT4.3 and macOS 26.x
Now, I see this in the DT protocol, but only once (see below for follow-up)
21.09.26, 09:48:20: Unable to create an OCR document
21.09.26, 09:48:20: Texterkennung von 'Scan_20260920_153242_000786' fehlgeschlagen.
21.09.26, 09:48:20: Internal program error:
/Users/build/Build/TFS.Agent/_work/1/s/ROOT/FREngine/FREngine/src/FRDocument.cpp, 605.
Looks a bit weird to me, since I certainly never created a User named build on this machine, and there’s no build directory in my /Users.
Running OCR directly on the file works ok, BTW. So, here’s my smart rule:
The script at the end only removes empty pages from the OCR’d PDF. It did never run in this situation.
Now I moved the original document back from the trash into the indexed folder and run the rule directly on it – no problem whatsoever.
And I found out that FREngine is a part of Abbyy’s OCR engine that relies on Rosetta. Which is on it’s way out of macOS…
1 Like
If FREngine is showing as using Rosetta then you have an old Intel version of the OCR installed. Try the following:
- Quit DEVONthink
- In Finder select the menu Go->Go to Folder and enter the line below before pressing Go.
~/Library/Application Support/DEVONthink/Abbyy
- Select the file DTOCRHelper and drag to the trash
- Open DEVONthink, select the menu DEVONthink->Install Add-Ons
- Select ABBYY FineReader OCR and press install.
This should install the Apple Silicon version. Any problems let me know.
I followed your advice and will let you know if the issue arises again. Thanks!
1 Like
And here we go… Replaced the OCR according to instructions from @aedwards and got this just now in my log window:
28.09.26, 12:42:50: Internal program error:
/Users/build/Build/TFS.Agent/_work/1/s/ROOT/FREngine/FREngine/src/FRDocument.cpp, 605.
Same error message. Same situation: Smart rule running after updating indexed folder. Interestingly, the issue seems to happen after OCR: On the bottom of the left sidebar, I see “Scan… page 10 of 10: Export”, and that doesn’t go away.
And it was not an issue of Intel vs. Mac-CPU: I apparently hadn’t Rosetta installed anymore, so Intel code would have raised an error message long before.
When I open the original PDF (without OCR) in Preview, the info says PDF created with macOS Version 27.0 (Build 26A428) Quartz PDFContext
Which is a bit weird, given that my reliable Brother MFP created that PDF. And that machine is certainly not running macOS 27, nor any other version of macOS. But perhaps that’s just a default if the Creator is not set?
That looks to be an internal FREngine error, I will need to talk to ABBYY about that. Does the file OCR ok without using the smart rule?
I have contacted ABBYY support regarding the error, I will let you know when I have a reply.
1 Like