FindFailed Exception - image not found on screen

Asked by Neenu

HI Team,

I created a sikuli script and was working fine for first few executions. But after that I am getting below error, for

*doubleClick({screenshot of safari})

[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
 File "C:\Users\Neenu\AppData\Local\Temp\sikuli-tmp738514655512232684.py", line 1, in
 doubleClick("1350310634298.png")
 Line 14, in file C:\Users\Neenu\AppData\Local\Temp\sikuli-tmp738514655512232684.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 1350310634298.png on the screen.
 Line 14, in file C:\Users\Neenu\AppData\Local\Temp\sikuli-tmp738514655512232684.py

Can anyone please help me?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

as the message tells you:
org.sikuli.script.FindFailed: FindFailed: can not find 1350310634298.png on the screen.

happened on line 14 in your script containing
doubleClick("1350310634298.png")

and simply means what it tells:
latest after 3 seconds the image did not appear on the screen, after doubleClick() started waiting for it.

Many more informations about this standard situation and possible reasons/workarounds can be found in the docs and/or her in this board.

Can you help with this problem?

Provide an answer of your own, or ask Neenu for more information if necessary.

To post a message you must log in.