← Back to team overview

sikuli-driver team mailing list archive

[Question #242565]: OCR Not working, missing tessdata

 

New question #242565 on Sikuli:
https://answers.launchpad.net/sikuli/+question/242565

When attempting to a range.text() call, I get the following message:

[error] TextRecognizer: init: tessdata folder not found at C:/Sikuli/libs/
[error] Region.text: text recognition is now switched off

I reran install in a clean directory, picking options 1, 3, and 5. I looked in libs and don't see tessdata directory either. Log extract is below. If you want more, just ask.

[debug (1/21/14 5:22:57 PM)] FileManager: buildJar: adding: C:\Sikuli\sikuli-java.jar
[debug (1/21/14 5:22:58 PM)] FileManager: buildJar: adding: C:\Sikuli\sikuli-setup.jar
[debug (1/21/14 5:23:00 PM)] FileManager: buildJar: adding: C:\Sikuli\sikuli-tessdata.jar
[debug (1/21/14 5:23:03 PM)] FileManager: buildJar: completed
[debug (1/21/14 5:23:06 PM)] ResourceLoaderBasic: export: Trying to access package
[debug (1/21/14 5:23:06 PM)] ResourceLoaderBasic: export: Accessing jar: file:/C:/Sikuli/sikuli-setup.jar
[debug (1/21/14 5:23:07 PM)] ResourceLoaderBasic: export: Found 1 Files in Commands/windows/runIDE.cmd
[debug (1/21/14 5:23:07 PM)] RunSetup: trying to set up the environment
[debug (1/21/14 5:23:07 PM)] ResourceLoaderBasic: check: we are running on arch: amd64
[debug (1/21/14 5:23:07 PM)] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jdk1.6.0_45/jre/
[error (1/21/14 5:23:07 PM)] ResourceLoaderBasic: check: No valid libs path available until now!
[action (1/21/14 5:23:07 PM)] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: C:/Sikuli/
[debug (1/21/14 5:23:07 PM)] ResourceLoaderBasic: extractLibs: Accessing jar: file:/C:/Sikuli/sikuli-setup.jar
[debug (1/21/14 5:23:07 PM)] ResourceLoaderBasic: extractLibs: Found 14 Files in META-INF/libs/windows/libs64/
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: export: Trying to access package
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: export: Accessing jar: file:/C:/Sikuli/sikuli-setup.jar
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: checkLibsDir: C:\Sikuli\libs
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: WinUtil
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: Found: WinUtil
[error (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
[error (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries
C:\Sikuli\libs\WinUtil.dll: Can't find dependent libraries
[error (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder is in system path at runtime!
[error (1/21/14 5:23:08 PM)] ResourceLoaderBasic: loadLib: Running Setup: ignoring this error for now
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: checkLibsDir: Using libs at: C:\Sikuli\libs
[debug (1/21/14 5:23:08 PM)] ResourceLoaderBasic: export: Using this as OCR directory (tessdata) too
[debug (1/21/14 5:23:13 PM)] RunSetup: Trying to run functional test: JAVA-API

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.