Restarting sikuli IDE causing errors

Asked by Siva

HI Team,

I have created a sikuli script(am new to sikuli), was running fine. I have closed the Sikuli IDE, opened the same script, didnt change any thing, am getting the below error.

could anyone help me on this please?

I tried by removing the Local Temp folder which has sikuli files(sikuli-tmp6305138588910200867.py), still no luck.

Please do the needful
Siva
==========

[error] Windows-button.png looks like a file, but can't be found on the disk. Assume it's text.

[error] Windows-button.png looks like a file, but can't be found on the disk. Assume it's text.

[error] Windows-button.png looks like a file, but can't be found on the disk. Assume it's text.

[error] Windows-button.png looks like a file, but can't be found on the disk. Assume it's text.

[error] Stopped
[error] An error occurs at line 1
[error] Error message: Traceback (most recent call last):
File "C:\Users\photon\AppData\Local\Temp\sikuli-tmp6305138588910200867.py", line 1, in
click("Windows-button.png")
Line 39, in file C:\Users\photon\AppData\Local\Temp\sikuli-tmp6305138588910200867.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.GeneratedMethodAccessor16.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 Windows-button.png on the screen.
Line 39, in file C:\Users\photon\AppData\Local\Temp\sikuli-tmp6305138588910200867.py

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

Check the content of your script.sikuli folder:

The image file
Windows-button.png

seems not be any longer inside the folder.

How to recover:
look into the contained .py file (same name as the folder .sikuli) with a normal editor and fix the image file names or take new snapshots for the failing image.

Revision history for this message
Siva (avadhshiva) said :
#2

Thanks, I will check and get back to you.

Can you help with this problem?

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

To post a message you must log in.