Always Prompt: "FindFailed: can not find *.png on the screen"

Asked by max

Hello,
This is max, I met one problem about using sikuli, so I need your help.
I use sikuli on Windows 32-Bit, and I can capture image on my screen, but when I try to run scripts, it always prompts "FindFailed: can not find *.png on the screen", actually the image is on my screen and I can see it though my eyes, I don't know where is wrong. Please help me to resolve it.

java version on my system is 6.0

Hope to here from you ASAP.

Thank u.

Question information

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

what version of Sikuli?

Revision history for this message
max (471154158-k) said :
#2

Hi RaiMan,
Sikuli-X-1.0rc3 (r905)-win32.zip

And my system version is Window XP home

Thank you.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Could you save the script in IDE e.g. as test and paste the content of the file test.py from test.sikuli folder.

Revision history for this message
max (471154158-k) said :
#4

Yes, I can save the script as "test.py", and there is the "*.png" image in test.sikuli folder,

Revision history for this message
RaiMan (raimund-hocke) said :
#5

Is the script really named *.png?

Revision history for this message
max (471154158-k) said :
#6

The name of png is the one in test.py, so I think is may not be inconsistent problem.

Revision history for this message
RaiMan (raimund-hocke) said :
#7

use imagenames that only contain ASCII characters, the underline _ and the hyphen -

Imagenames containing other special characters, spaces or unicode characters might lead to problems.

Revision history for this message
max (471154158-k) said :
#8

FIles in test.sikuli folder:

1379331036687.png
test.html
test.py

The content of test.py:

click("1379331036687.png")

Revision history for this message
max (471154158-k) said :
#9

Hi RaiMan,
I download a new version of sikuli, it runs normally, but I am still very grateful to you.

Good luck~