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

    Status: Open => Answered

RaiMan proposed the following answer:
Uuuups, yes - this is a bug.

Because each imported script is put on the image path, all images in
imported scripts are found all over the place.

But the images in the main script are found through bundle path, which
is not on the image path.

Try adding this at the beginning of your main script:

p = getBundlePath() # images of main
if not p in (list(getImagePath())): addImagePath(p)

this will add your main scripts image path to the global image path.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to