← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185254]: [Java] FindFailed with Pattern().similar(0.7) on the screen

 

Question #185254 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185254

    Status: Answered => Open

Naveen is still having a problem:
Raiman !
I have tried the following snippet from the sikuli IDE 

find("E:\\TestSikuli\\nav.png")

The following is the stack trace I have encountered with :

[error] nav.png looks like a file, but can't be found on the disk. Assume it's text.
[info] Text Recognizer inited.

[error] Stopped
[error] An error occurs at line 2
[error] Error message: Traceback (most recent call last):
 File "C:\Users\USER\AppData\Local\Temp\sikuli-tmp7981583417362119709.py", line 2, in 
 find("nav.png") 
Line 3, in file C:\Users\USER\AppData\Local\Temp\sikuli-tmp7981583417362119709.py

 at org.sikuli.script.Region.handleFindFailed(Region.java:420) 
at org.sikuli.script.Region.wait(Region.java:511) 
at org.python.proxies.sikuli.Region$Region$0.super__wait(Unknown Source) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 

org.sikuli.script.FindFailed: FindFailed: can not find nav.png on the screen.
 Line 3, in file C:\Users\USER\AppData\Local\Temp\sikuli-tmp7981583417362119709.py


Please suggest !

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