[1.0.1] tessdata folder not found after setup with option 5 --- workaround --- fixed with 1.1.0-Beta2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
--- TAKE CARE:
if you came here, because of symptoms described in bug 1218138:
Simply run setup again (preferably in empty folder) to get the latest version.
-------
--- problem
even though tessdata.jar was downloaded and processed by setup, the tessdata folder is not in the libs folder.
--- workaround
simply delete the libs folder and start the IDE, run a script or use sikuli-java.jar as usual. The libs folder now including the tessdata folder is recreated from sikuli-ide.jar, sikuli-script.jar or sikuli-java.jar.
TAKE CARE: As documented in the setup information: SikuliX MUST be setup in a folder with full access rights in the current user's context. Do not setup in the Windows program folders (as with RC3) or any other Windows specific folder with probably restricted access rights.
-------
Hi,
I have installed the new version of Sikuli (1.0.1) according to these recommendations by RaiMan:
https:/
Everything seemed fine, before I have tried to use the text recognition utilities.
After running my script, I have received the following error:
[error] TextRecognizer: init: tessdata folder not found at C:/SikuliX/libs/
After all subsequent attempts to use text recognition (within the same script run), the error appeared few more times but with no path specified, like that:
[error] TextRecognizer: init: tessdata folder not found at
When I have checked the abovementioned path, I haven't found the tessdata folder as it was indicated by the error.
My solution was to copy the tessdata folder from my previous Sikuli version (1.0.0) folder. After this done, the script ran successfully.
Is that a bug or just a side effect of the non-standard installation?
Thanks!
Eugene
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
summary: |
- [1.0.1] tessdata folder not found after setup with option 5 + [1.0.1] tessdata folder not found after setup with option 5 --- + workaround |
description: | updated |
description: | updated |
Changed in sikuli: | |
status: | Invalid → Fix Committed |
description: | updated |
summary: |
[1.0.1] tessdata folder not found after setup with option 5 --- - workaround + workaround --- fixed with 1.1.0-Beta2 |
Changed in sikuli: | |
importance: | High → Critical |
Hi
I'm using Sikuli for the first time and got the sames error when I'm running the windows tutorial.
[error] TextRecognizer: init: tessdata folder not found at C:/Sikuli/libs/
[error] Region.find(text): text search is now switched off
[error] script [ *Untitled ] stopped with error in line 1
[error] FindFailed ( Text search currently switched off )
I have done as described for the workaround and the libs folder was created but no tessdata folder.
The only thing that has to do with tessdata is the file: libtesseract-3.dll under the libs folder.
Regards
Glenn