← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #271912]: Images lost in script

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Supposing "latest version" means latest nightly build of 1.1.0.

--- I accidentally lost my images 
Any idea when and how that happened?

--- I managed to recover all the images
How did you do that?

Are you using a normal script folder .sikuli, that contains a .py file
and all the images?

---  and so it returns to normal
I have no idea, how the Pattern("1443553021333.png").exact() was created by your "recovery". This is usually created, when clicking on an image in the IDE and push the similarity to 0.99.
Nevertheless, the image thumbnails should be shown in the IDE. 
If .exact() is not suitable for an image, then either use Preview to reset it to 0.7, or edit the .py file in an external editor and use find/replace changing 
Pattern("1443553021333.png").exact()
to
Pattern("1443553021333.png")

or even in 2 steps
to
"1443553021333.png"

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.