← Back to team overview

sikuli-driver team mailing list archive

[Bug 1214589] Re: [1.0.1] tessdata folder not found after setup with option 5 --- workaround

 

Sikuli IDE 1.0.1
Win 7 x64

Steps:
1) run Sikule IDE
2) type a code "wait()" (for example)
3) Take screenshot

! get message "[error] TextRecognizer: init: tessdata folder not found
at C:/Program Files (x86)/sikuli/libs/"

4) click the icon of this pattern and go to Matching Preview

! Sikuli don't find the pattern in screen and do not stop searching

Comment: if the project saved on disk, the bug do not reproduced

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1214589

Title:
  [1.0.1] tessdata folder not found after setup with option 5 ---
  workaround

Status in Sikuli:
  Invalid

Bug description:
  --- TAKE CARE: 
  if you came here, because of symptoms described in bug 1218138:
  Proceed as mentioned there or wait for fixed 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.

  --------------------------------------------------------------------------

  Hi,

  I have installed the new version of Sikuli (1.0.1) according to these recommendations by RaiMan:
  https://answers.launchpad.net/sikuli/+question/234061

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1214589/+subscriptions


References