[2.0.4] macOS 10.15+: Unable to use OCR (Tesseract library problem) --- workaround for 2.0.4, fixed in 2.0.5

Asked by Chetan on 2020-11-19

i am getting error when using tesseract with sikuli on max oc big sur on JAVA 14
is there a workaround to this for now?
sikuli 2.0.4
i already did run and was success
thttps://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR

 tessereact -v gives tesseract 4.1.1

scripts:
click(findText("organize")

[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR
[error] Save your work, correct the problem and restart the IDE!
[error] script [ test2 ] stopped with error in line 1
[error] Native library (darwin/libtesseract.dylib) not found in resource path (/Users/chetanshamdasani/sikuli/sikulixide-2.0.4.jar ( Users/chetanshamdasani/Library/Application Support/Sikulix/Extensions/jython-standalone-2.7.1.jar) )
[error] --- Traceback --- error source first
line: module ( function ) statement
1: main ( <module> ) click(findText("Organize Pages"))
[error] --- Traceback --- end --------------

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-11-23
Last query:
2020-11-23
Last reply:
2020-11-19

This question was reopened

Chetan (cshamdas) said : #2

Thanks RaiMan that has helped me a lot and using the workaround.
by when can we expect the build 2.0.5 to be available?

RaiMan (raimund-hocke) said : #3

--- by when can we expect the build 2.0.5 to be available?
working on it --- hope latest under the Christmas tree ;-)

Chetan (cshamdas) said : #4

Thanks for the update. this should be a good Christmas gift for us :-)

Chetan (cshamdas) said : #5

Thanks RaiMan, that solved my question.