Hi, [error] see: https://github.com/RaiMan/SikuliX1/wiki/Windows:-Problems-with-libraries-OpenCV-or-Tesseract [error] Save your work, correct the problem and restart the IDE! __03_09_16PM :: com.disney.sikuli.common.ScreenshotListener#onTestFailure > Failure with method:testlogin __03_09_16PM :: com.disney.sikuli.common. ScreenshotListener#onTestFailure > Failure with error: OCR: start: Tesseract library problems: The specified module could not be found.
This reads as a VM specific problem: the error message indicates the library cannot be found hence suspect Number One is the .dll/.so dynamic library search path configuration or a similar OS level configuration parameter that needs to be edited to make this error go away. I don't know sikuli, but you might want to ask around over there to see if someone had this same error message for tesseract or any other package/library required by sikuli and then you might get some useful hints as where to look in your VM config for the path(s) that need to be edited. Good luck, Ger On Wed, 30 Aug 2023, 16:17 DeviPrasad Patnala, <[email protected]> wrote: > Hello Everyone, > > Can anyone help to resolve my issue. > I am working on a Sikuli Automation Framework for a desktop Application. I > have used small line of code as below to extract text from the screen. It > is working without any issues in my local machine but whereas when I tried > running it on Windows VM via Jenkins I am getting error as below. > Error: > [error] see: > https://github.com/RaiMan/SikuliX1/wiki/Windows:-Problems-with-libraries-OpenCV-or-Tesseract > [error] Save your work, correct the problem and restart the IDE! > __03_09_16PM :: com.disney.sikuli.common.ScreenshotListener#onTestFailure > > Failure with method:testlogin __03_09_16PM :: > com.disney.sikuli.common.ScreenshotListener#onTestFailure > Failure with > error: OCR: start: Tesseract library problems: The specified module could > not be found. > > *Code:* > Region region = new Region(807, 59, 299, 52); > > screen.setRect(region); > > String text = screen.text(); > > System.out.println("Extracted Text = " + text); > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/870b1efa-aaee-4041-81e6-f0845e5a56e0n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/870b1efa-aaee-4041-81e6-f0845e5a56e0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAFP60fo4J5C7GyzSfp%2B2EMrnCt-DakOR%3DtWqBW-6Nrv0v0LhDQ%40mail.gmail.com.

