SikuliX can't find any of the images taken via screenshot when using Eclipse, works when using images taken via IDE

Asked by ghostie on 2017-10-28

I wrote some sample scripts with the IDE and it worked, but when I try to repeat the scripts using the Eclipse it fails to find the image.

FindFailed: img/calc.png: (174x206) in S(0)[0,0 1680x1050] E:Y, T:3.0
  Line 2759, in file

 at org.sikuli.script.Region.wait(
 at org.sikuli.script.Region.find(
 at org.sikuli.script.Region.getLocationFromTarget(
 at org.sikuli.script.Region.doubleClick(
 at org.sikuli.script.Region.doubleClick(
 at com.sikulix.tests.Calculator.main(

Eventually, I found the path to the images taken by the SikuliX IDE and put that path into my Eclipse code and it works. But if I revert back to the screenshots taken by OSX, it still fails.

Any ideas as to what I might be doing wrong with the image?

Keep in mind I got this to work correctly back in March, so I'm wondering if there have been any updates which changed the behavior

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

which version of Sikuli?

Eclipse with PyDev?

ghostie (hammidfunsho) said : #2

Sikuli version 1.1.1
Eclipse Mars

RaiMan (raimund-hocke) said : #3

Are you using the PyDev plugin?

Did you download and activate Jython 2.7 inside Eclipse?

--- Eventually, I found the path to the images taken by the SikuliX IDE
post an example

Launchpad Janitor (janitor) said : #5

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.