← Back to team overview

sikuli-driver team mailing list archive

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

 

Public bug reported:

--- 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

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

** Summary changed:

- [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 changed:

+ --- 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

-- 
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:
  Fix Committed

Bug description:
  --- 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


Follow ups

References